aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2017-12-04 16:24:04 +0000
committerGerrit Code Review <gerrit@onap.org>2017-12-04 16:24:04 +0000
commited8c1d1786b89d043a405218008943c84ea0b29a (patch)
treea0516de76c8f8c8116b03f7ce0167ae006e49ffc
parent13f4e3581c3ded6f0e3507aee001450ece5d09c2 (diff)
parent626541159636e06fc988a42330ae93339f01ce58 (diff)
Merge "Fix: AAI HAProxy syslog are not monitored"
-rw-r--r--kubernetes/aai/templates/aai-deployment.yaml2
-rwxr-xr-xkubernetes/config/docker/init/config-init.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/kubernetes/aai/templates/aai-deployment.yaml b/kubernetes/aai/templates/aai-deployment.yaml
index 3f714f3e64..c2220cacde 100644
--- a/kubernetes/aai/templates/aai-deployment.yaml
+++ b/kubernetes/aai/templates/aai-deployment.yaml
@@ -62,7 +62,7 @@ spec:
path: /etc/localtime
- name: aai-service-log
hostPath:
- path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/haproxy/log/"
+ path: "/dev/log"
- name: haproxy-cfg
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/haproxy/haproxy.cfg"
diff --git a/kubernetes/config/docker/init/config-init.sh b/kubernetes/config/docker/init/config-init.sh
index 0f540021d9..90e96b3946 100755
--- a/kubernetes/config/docker/init/config-init.sh
+++ b/kubernetes/config/docker/init/config-init.sh
@@ -41,7 +41,6 @@ mkdir -p /config-init/$NAMESPACE/sdc/logs/ASDC/ASDC-BE/
mkdir -p /config-init/$NAMESPACE/sdc/logs/ASDC/ASDC-FE/
mkdir -p /config-init/$NAMESPACE/aai/opt/aai/logroot/
mkdir -p /config-init/$NAMESPACE/aai/model-loader/logs/
-mkdir -p /config-init/$NAMESPACE/aai/haproxy/log/
mkdir -p /config-init/$NAMESPACE/aai/aai-traversal/logs/
mkdir -p /config-init/$NAMESPACE/aai/aai-resources/logs/
mkdir -p /config-init/$NAMESPACE/aai/sparky-be/logs/