blob: 63cfc809d368985f11d5f2661348787dd25886cb [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Mandeep Khindad6ea9872017-06-24 11:49:37 -040015apiVersion: extensions/v1beta1
16kind: Deployment
17metadata:
18 labels:
19 app: healthy
20 version: 1.0.0
21 name: healthy
22spec:
23 selector:
24 matchLabels:
25 app: healthy
26 version: 1.0.0
27 template:
28 metadata:
29 labels:
30 app: healthy
31 version: 1.0.0
32 name: healthy
33 spec:
34 containers:
35 - args:
36 - --container-name
37 - hbase
38 command:
39 - /root/ready.py
BorislavG8bfc6cf2018-02-27 15:04:26 +000040 image: oomk8s/readiness-check:1.1.0
Mandeep Khindad6ea9872017-06-24 11:49:37 -040041 imagePullPolicy: Always
42 name: healthy
43 env:
44 - name: NAMESPACE
45 valueFrom:
46 fieldRef:
47 fieldPath: metadata.namespace