summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/templates/portal-mariadb-deployment.yaml
diff options
context:
space:
mode:
authorBorislavG <Borislav.Glozman@amdocs.com>2017-12-17 17:32:01 +0200
committerBorislav Glozman <Borislav.Glozman@amdocs.com>2017-12-17 15:38:51 +0000
commit9188065247f74ab85427ec7ffd35da8b509cd5d5 (patch)
tree3044963f56f20721bf5bdaf05c6dcfc0b5b6d9e8 /kubernetes/portal/templates/portal-mariadb-deployment.yaml
parenta6eb9be0e091746c824b169a46242ef0943a2b05 (diff)
Remove redundant filebeat from portal-db
Portal-db is maria-db. It has no logback.xml configuration. The filebeat in this pod is redundant. Issue-ID: OOM-517 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com> Change-Id: I9118491ff6d9c51851cc915143b9962d98a883e4
Diffstat (limited to 'kubernetes/portal/templates/portal-mariadb-deployment.yaml')
-rwxr-xr-xkubernetes/portal/templates/portal-mariadb-deployment.yaml26
1 files changed, 1 insertions, 25 deletions
diff --git a/kubernetes/portal/templates/portal-mariadb-deployment.yaml b/kubernetes/portal/templates/portal-mariadb-deployment.yaml
index 96084e5294..fafcad2772 100755
--- a/kubernetes/portal/templates/portal-mariadb-deployment.yaml
+++ b/kubernetes/portal/templates/portal-mariadb-deployment.yaml
@@ -29,10 +29,6 @@ spec:
readOnly: true
- mountPath: /var/lib/mysql
name: portal-mariadb-data
- - mountPath: /var/log/onap
- name: portal-logs
- - mountPath: /tmp/logback.xml
- name: portal-logback
ports:
- containerPort: 3306
name: portaldb
@@ -41,16 +37,6 @@ spec:
port: 3306
initialDelaySeconds: 5
periodSeconds: 10
- - image: {{ .Values.image.filebeat }}
- imagePullPolicy: {{ .Values.pullPolicy }}
- name: filebeat-onap
- volumeMounts:
- - mountPath: /usr/share/filebeat/filebeat.yml
- name: filebeat-conf
- - mountPath: /var/log/onap
- name: portal-logs
- - mountPath: /usr/share/filebeat/data
- name: portal-data-filebeat
volumes:
- name: localtime
hostPath:
@@ -58,16 +44,6 @@ spec:
- name: portal-mariadb-data
persistentVolumeClaim:
claimName: portal-db
- - name: filebeat-conf
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/filebeat/logback/filebeat.yml
- - name: portal-logs
- emptyDir: {}
- - name: portal-data-filebeat
- emptyDir: {}
- - name: portal-logback
- hostPath:
- path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/portal/portal-db/logback.xml
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
-#{{ end }} \ No newline at end of file
+#{{ end }}