diff options
Diffstat (limited to 'kubernetes/readiness/dep-health-init.yaml')
-rw-r--r-- | kubernetes/readiness/dep-health-init.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/kubernetes/readiness/dep-health-init.yaml b/kubernetes/readiness/dep-health-init.yaml new file mode 100644 index 0000000000..d77127b201 --- /dev/null +++ b/kubernetes/readiness/dep-health-init.yaml @@ -0,0 +1,33 @@ +apiVersion: extensions/v1beta1 +kind: Deployment +metadata: + labels: + app: healthy + version: 1.0.0 + name: healthy +spec: + selector: + matchLabels: + app: healthy + version: 1.0.0 + template: + metadata: + labels: + app: healthy + version: 1.0.0 + name: healthy + spec: + containers: + - args: + - --container-name + - hbase + command: + - /root/ready.py + image: oomk8s/readiness-check:1.0.0 + imagePullPolicy: Always + name: healthy + env: + - name: NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace |