vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 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 | |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 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 |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 40 | image: oomk8s/readiness-check:2.0.0 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 41 | imagePullPolicy: Always |
| 42 | name: healthy |
| 43 | env: |
| 44 | - name: NAMESPACE |
| 45 | valueFrom: |
| 46 | fieldRef: |
| 47 | fieldPath: metadata.namespace |