diff options
author | Laura Sofia Enriquez <lsofia.enriquez@gmail.com> | 2018-02-25 05:11:43 -0300 |
---|---|---|
committer | Laura Sofia Enriquez <lsofia.enriquez@gmail.com> | 2018-03-05 19:50:08 -0300 |
commit | a4d56a2976e665857df1186c66202f590027d6a7 (patch) | |
tree | 4db6165f062f633d20949f6ffeab9c75ba84b1f3 /src/helm-charts/clearwater/templates/homestead-depl.yaml | |
parent | e5723d276fa8861f863637917af689ce4eeae5a2 (diff) |
Istio implementation for clearwater chart
1. Services ports renamed.
2. Added label 'app' inside all the deployment's yamls.
. README.md added with configuration information.
JIRA: CLOVER-3
JIRA: CONTAINER-22
Change-Id: I4c58b9ad6b5e0e598ad6a152f58c8afad084a805
Signed-off-by: Laura Sofia Enriquez <lsofia.enriquez@gmail.com>
Diffstat (limited to 'src/helm-charts/clearwater/templates/homestead-depl.yaml')
-rw-r--r-- | src/helm-charts/clearwater/templates/homestead-depl.yaml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/helm-charts/clearwater/templates/homestead-depl.yaml b/src/helm-charts/clearwater/templates/homestead-depl.yaml new file mode 100644 index 0000000..590ea51 --- /dev/null +++ b/src/helm-charts/clearwater/templates/homestead-depl.yaml @@ -0,0 +1,51 @@ +apiVersion: extensions/v1beta1 +kind: Deployment +metadata: + name: homestead +spec: + replicas: 1 + selector: + matchLabels: + service: homestead + template: + metadata: + labels: + service: homestead + snmp: enabled + app: homestead + spec: + containers: + - image: "{{ .Values.image.path }}/homestead:{{ .Values.image.tag }}" + imagePullPolicy: Always + name: homestead + ports: + - containerPort: 22 + - containerPort: 8888 + envFrom: + - configMapRef: + name: env-vars + env: + - name: MY_POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + livenessProbe: + exec: + command: ["/bin/bash", "/usr/share/kubernetes/liveness.sh", "8888"] + initialDelaySeconds: 60 + readinessProbe: + exec: + command: ["/bin/bash", "/usr/share/kubernetes/liveness.sh", "8888"] + volumeMounts: + - name: homesteadlogs + mountPath: /var/log/homestead + - image: busybox + name: tailer + command: [ "tail", "-F", "/var/log/homestead/homestead_current.txt" ] + volumeMounts: + - name: homesteadlogs + mountPath: /var/log/homestead + volumes: + - name: homesteadlogs + emptyDir: {} + restartPolicy: Always |