summaryrefslogtreecommitdiffstats
path: root/kubernetes/config/docker/init/config-init.sh
diff options
context:
space:
mode:
authorItay Hassid <itay.hassid@amdocs.com>2017-08-24 12:54:42 +0000
committerItay Hassid <Itay.Hassid@amdocs.com>2017-09-14 09:18:25 +0000
commite2da86dc9b0b5298616249f9b18fc9d130ba84d7 (patch)
tree2664bdc6b1e992e6f9687f112c1cf71ecba47357 /kubernetes/config/docker/init/config-init.sh
parentd99d1d2956c3f5afac1dfc569a3389a445b179e9 (diff)
Seed of deployment of log components
Deployment of: Logstash + ElasticSearch + Kubana with all the configuration files Issue-ID:OOM-110 Change-Id: I1788485ccb283f0ec4dc8910479072a6cf034e5f Signed-off-by: Itay Hassid <itay.hassid@amdocs.com>
Diffstat (limited to 'kubernetes/config/docker/init/config-init.sh')
-rwxr-xr-xkubernetes/config/docker/init/config-init.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/config/docker/init/config-init.sh b/kubernetes/config/docker/init/config-init.sh
index cc3a0f62f4..b97eee0026 100755
--- a/kubernetes/config/docker/init/config-init.sh
+++ b/kubernetes/config/docker/init/config-init.sh
@@ -48,6 +48,7 @@ mkdir -p /config-init/$NAMESPACE/aai/elasticsearch/es-data/
mkdir -p /config-init/$NAMESPACE/aai/search-data-service/logs/
mkdir -p /config-init/$NAMESPACE/aai/data-router/logs/
mkdir -p /config-init/$NAMESPACE/mso/mariadb/data
+mkdir -p /config-init/$NAMESPACE/log/elasticsearch/data
echo "Setting permissions to container writeable directories"
chmod -R 777 /config-init/$NAMESPACE/sdc/logs/
@@ -64,6 +65,7 @@ chmod -R 777 /config-init/$NAMESPACE/aai/elasticsearch/es-data/
chmod -R 777 /config-init/$NAMESPACE/aai/search-data-service/logs/
chmod -R 777 /config-init/$NAMESPACE/aai/data-router/logs/
chmod -R 777 /config-init/$NAMESPACE/policy/mariadb/
+chmod -R 777 /config-init/$NAMESPACE/log/elasticsearch
echo "Substituting configuration parameters"
@@ -107,4 +109,4 @@ find /config-init/$NAMESPACE/ -type f -exec sed -i -e "s/OPENSTACK_ENCRYPTED_PAS
find /config-init/$NAMESPACE/ -type f -exec sed -i -e "s/OPENSTACK_TENANT_NAME_HERE/$OPENSTACK_TENANT_NAME/g" {} \;
-echo "Done!" \ No newline at end of file
+echo "Done!"