Update git submodules
[oom.git] / kubernetes / readiness / dep-health-init.yaml
1 # 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
15 apiVersion: extensions/v1beta1
16 kind: Deployment
17 metadata:
18   labels:
19     app: healthy
20     version: 1.0.0
21   name: healthy
22 spec:
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
40         image: oomk8s/readiness-check:2.0.0
41         imagePullPolicy: Always
42         name: healthy
43         env:
44         - name: NAMESPACE
45           valueFrom:
46             fieldRef:
47               fieldPath: metadata.namespace