Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
2 | kind: Deployment | ||||
3 | metadata: | ||||
4 | labels: | ||||
5 | app: healthy | ||||
6 | version: 1.0.0 | ||||
7 | name: healthy | ||||
8 | spec: | ||||
9 | selector: | ||||
10 | matchLabels: | ||||
11 | app: healthy | ||||
12 | version: 1.0.0 | ||||
13 | template: | ||||
14 | metadata: | ||||
15 | labels: | ||||
16 | app: healthy | ||||
17 | version: 1.0.0 | ||||
18 | name: healthy | ||||
19 | spec: | ||||
20 | containers: | ||||
21 | - args: | ||||
22 | - --container-name | ||||
23 | - hbase | ||||
24 | command: | ||||
25 | - /root/ready.py | ||||
26 | image: oomk8s/readiness-check:1.0.0 | ||||
27 | imagePullPolicy: Always | ||||
28 | name: healthy | ||||
29 | env: | ||||
30 | - name: NAMESPACE | ||||
31 | valueFrom: | ||||
32 | fieldRef: | ||||
33 | fieldPath: metadata.namespace |