blob: 5b97852da04bc83630e11b32867f1c1664c9e646 [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
BorislavG3d6f9372018-04-15 11:55:39 +000040 image: oomk8s/readiness-check:2.0.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