Dusan Rozman | 7704d2a | 2017-09-26 16:04:12 -0400 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
| 2 | kind: Deployment |
| 3 | metadata: |
| 4 | name: aaf-cs |
| 5 | namespace: "{{ .Values.nsPrefix }}-aaf" |
| 6 | spec: |
| 7 | replicas: 1 |
| 8 | selector: |
| 9 | matchLabels: |
| 10 | app: aaf-cs |
| 11 | template: |
| 12 | metadata: |
| 13 | labels: |
| 14 | app: aaf-cs |
| 15 | name: aaf-cs |
| 16 | spec: |
| 17 | hostname: aaf-cs |
| 18 | containers: |
| 19 | - args: |
| 20 | image: {{ .Values.image.csImage }}:{{ .Values.image.csVersion }} |
| 21 | imagePullPolicy: {{ .Values.pullPolicy }} |
| 22 | name: "aaf-cs" |
| 23 | volumeMounts: |
| 24 | - mountPath: /data |
Dusan Rozman | e755f64 | 2017-10-02 09:55:04 -0400 | [diff] [blame] | 25 | name: aaf-cs-data |
Dusan Rozman | 7704d2a | 2017-09-26 16:04:12 -0400 | [diff] [blame] | 26 | readinessProbe: |
| 27 | tcpSocket: |
| 28 | port: 7000 |
| 29 | initialDelaySeconds: 5 |
| 30 | periodSeconds: 10 |
| 31 | volumes: |
Dusan Rozman | e755f64 | 2017-10-02 09:55:04 -0400 | [diff] [blame] | 32 | - name: aaf-cs-data |
Dusan Rozman | 7704d2a | 2017-09-26 16:04:12 -0400 | [diff] [blame] | 33 | hostPath: |
| 34 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data |
| 35 | imagePullSecrets: |
| 36 | - name: {{ .Values.nsPrefix }}-docker-registry-key |