aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf
diff options
context:
space:
mode:
authorDusan Rozman <dusan.rozman@amdocs.com>2017-10-02 09:55:04 -0400
committerDusan Rozman <dusan.rozman@amdocs.com>2017-10-02 10:02:29 -0400
commite755f640ec263d81f30a509055714d7b76b329a3 (patch)
tree3fdfd05253eea53bd4a15514bc20666bea1bdf3a /kubernetes/aaf
parentb9644b17f8545dedd3ede40f778b33f9b4ecf480 (diff)
Added missing mount to aaf deployment yaml
Created mount /data2/ needed for aaf Change-Id: I050579e42afce9dc29c4c7a3cfdfb05ddb4d4217 Issue-ID: OOM-331 Signed-off-by: Dusan Rozman <dusan.rozman@amdocs.com>
Diffstat (limited to 'kubernetes/aaf')
-rw-r--r--kubernetes/aaf/templates/aaf-cs-deployment.yaml4
-rw-r--r--kubernetes/aaf/templates/aaf-deployment.yaml7
2 files changed, 9 insertions, 2 deletions
diff --git a/kubernetes/aaf/templates/aaf-cs-deployment.yaml b/kubernetes/aaf/templates/aaf-cs-deployment.yaml
index f240150f96..23968f9313 100644
--- a/kubernetes/aaf/templates/aaf-cs-deployment.yaml
+++ b/kubernetes/aaf/templates/aaf-cs-deployment.yaml
@@ -22,14 +22,14 @@ spec:
name: "aaf-cs"
volumeMounts:
- mountPath: /data
- name: aaf-data
+ name: aaf-cs-data
readinessProbe:
tcpSocket:
port: 7000
initialDelaySeconds: 5
periodSeconds: 10
volumes:
- - name: aaf-data
+ - name: aaf-cs-data
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data
imagePullSecrets:
diff --git a/kubernetes/aaf/templates/aaf-deployment.yaml b/kubernetes/aaf/templates/aaf-deployment.yaml
index 20e21c4ee8..5950b92c00 100644
--- a/kubernetes/aaf/templates/aaf-deployment.yaml
+++ b/kubernetes/aaf/templates/aaf-deployment.yaml
@@ -47,11 +47,18 @@ spec:
value: cassandra_container
image: {{ .Values.image.aafImage }}:{{ .Values.image.aafVersion }}
imagePullPolicy: {{ .Values.pullPolicy }}
+ volumeMounts:
+ - mountPath: /data
+ name: aaf-data
name: aaf
readinessProbe:
tcpSocket:
port: 8101
initialDelaySeconds: 5
periodSeconds: 10
+ volumes:
+ - name: aaf-data
+ hostPath:
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data2
imagePullSecrets:
- name: {{ .Values.nsPrefix }}-docker-registry-key