aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/scripts/k8s
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-os-chef/scripts/k8s')
-rwxr-xr-xsdc-os-chef/scripts/k8s/bin_nsenterbin0 -> 90162 bytes
-rw-r--r--sdc-os-chef/scripts/k8s/etc_nsenter (renamed from sdc-os-chef/scripts/k8s/etc/bash_completion.d/nsenter)0
-rw-r--r--sdc-os-chef/scripts/k8s/kubernetes_run.sh23
3 files changed, 21 insertions, 2 deletions
diff --git a/sdc-os-chef/scripts/k8s/bin_nsenter b/sdc-os-chef/scripts/k8s/bin_nsenter
new file mode 100755
index 0000000000..9137f71456
--- /dev/null
+++ b/sdc-os-chef/scripts/k8s/bin_nsenter
Binary files differ
diff --git a/sdc-os-chef/scripts/k8s/etc/bash_completion.d/nsenter b/sdc-os-chef/scripts/k8s/etc_nsenter
index ad56f06e48..ad56f06e48 100644
--- a/sdc-os-chef/scripts/k8s/etc/bash_completion.d/nsenter
+++ b/sdc-os-chef/scripts/k8s/etc_nsenter
diff --git a/sdc-os-chef/scripts/k8s/kubernetes_run.sh b/sdc-os-chef/scripts/k8s/kubernetes_run.sh
index fd9de2e181..7a73c2af3b 100644
--- a/sdc-os-chef/scripts/k8s/kubernetes_run.sh
+++ b/sdc-os-chef/scripts/k8s/kubernetes_run.sh
@@ -52,8 +52,18 @@ status $?
print_header "Dependency - Install ..."
echo "[INFO] Install - nsenter"
# Use pre compiled nsenter:
-sudo cp bin/nsenter /usr/local/bin/nsenter
-sudo cp etc/bash_completion.d/nsenter /etc/bash_completion.d/nsenter
+if [ -f bin_nsenter ]; then
+ sudo cp bin_nsenter /usr/local/bin/nsenter
+else
+ echo "[ERROR] File [bin_nsenter] is missing"
+fi
+
+if [ -f etc_nsenter ]; then
+ sudo cp etc_nsenter /etc/bash_completion.d/nsenter
+else
+ echo "[ERROR] File [etc_nsenter] is missing"
+fi
+
## In order to build the nsenter use the below instructions:
##./build_nsenter_exec.sh
@@ -75,3 +85,12 @@ print_header "SDC - Deploy Pods ..."
sh ./deploy_k8s_sdc.sh
status $?
+
+####################
+# SDC LOGS Tree #
+####################
+print_header "SDC - Deploy Pods ..."
+mkdir -p /dockerdata-nfs/onap/sdc/logs//BE/SDC/SDC-BE
+mkdir -p /dockerdata-nfs/onap/sdc/logs/FE/SDC/SDC-FE
+mkdir -p /dockerdata-nfs/onap/sdc/logs/ONBOARD/SDC/ONBOARD-BE
+chmod -R 777 /dockerdata-nfs/onap/sdc/logs/*