aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/vid/templates/vid-server-deployment.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-02-07 15:45:58 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-07 15:45:58 +0000
commitce7844b207021251ec76a5aa5d7b8c1de3555a12 (patch)
treea450296c8d8ee9a735f10fdb3d389d27de7e7095 /kubernetes/vid/templates/vid-server-deployment.yaml
parent18c2dbcdf7904d6a4030efa141fe232009362800 (diff)
parent46bec904421416cf78a6907d23e4ce40fcff51e5 (diff)
Merge "config seg vid deployment"
Diffstat (limited to 'kubernetes/vid/templates/vid-server-deployment.yaml')
-rw-r--r--kubernetes/vid/templates/vid-server-deployment.yaml12
1 files changed, 7 insertions, 5 deletions
diff --git a/kubernetes/vid/templates/vid-server-deployment.yaml b/kubernetes/vid/templates/vid-server-deployment.yaml
index 832fdeb93c..c979845fe1 100644
--- a/kubernetes/vid/templates/vid-server-deployment.yaml
+++ b/kubernetes/vid/templates/vid-server-deployment.yaml
@@ -73,7 +73,7 @@ spec:
value: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
- name: VID_MYSQL_MAXCONNECTIONS
value: "5"
- image: {{ .Values.image.vid }}
+ image: {{ .Values.image.vid }}
imagePullPolicy: {{ .Values.pullPolicy }}
name: vid-server
lifecycle:
@@ -90,6 +90,7 @@ spec:
name: vid-logs
- mountPath: /tmp/logback.xml
name: vid-logback
+ subPath: logback.xml
readinessProbe:
tcpSocket:
port: 8080
@@ -101,6 +102,7 @@ spec:
volumeMounts:
- mountPath: /usr/share/filebeat/filebeat.yml
name: filebeat-conf
+ subPath: filebeat.yml
- mountPath: /var/log/onap
name: vid-logs
- mountPath: /usr/share/filebeat/data
@@ -110,15 +112,15 @@ spec:
hostPath:
path: /etc/localtime
- name: filebeat-conf
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/filebeat/logback/filebeat.yml
+ configMap:
+ name: vid-filebeat-configmap
- name: vid-logs
emptyDir: {}
- name: vid-data-filebeat
emptyDir: {}
- name: vid-logback
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/vid/logback.xml
+ configMap:
+ name: vid-log-configmap
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
#{{ end }}