portalapi.appname = {{ .Values.dashboard.portalapi.appname }}
portalapi.username = {{ .Values.dashboard.portalapi.username }}
portalapi.password = {{ .Values.dashboard.portalapi.password }}
+ metrics.url.ac = {{ .Values.dashboard.metrics.url.ac }}
key.properties: |
cipher.enc.key = {{ .Values.dashboard.cipher.enc.key }}
# modify below for RIC infrastructure (docker-k8s-helm) component versions
-INFRA_DOCKER_VERSION="18.09.7-0ubuntu1~16.04.4"
+INFRA_DOCKER_VERSION=""
INFRA_K8S_VERSION="1.13.3"
INFRA_CNI_VERSION="0.6.0"
INFRA_HELM_VERSION="2.12.3"
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
echo 'deb http://apt.kubernetes.io/ kubernetes-xenial main' > /etc/apt/sources.list.d/kubernetes.list
+# tell apt to retry 3 times if failed
+mkdir -p /etc/apt/apt.conf.d
+echo "APT::Acquire::Retries \"3\";" > /etc/apt/apt.conf.d/80-retries
+
# install low latency kernel, docker.io, and kubernetes
apt-get update
apt-get install -y virt-what
# install if identifying the VM not being a virtualbox VM.
apt-get install -y linux-image-4.15.0-45-lowlatency
fi
-apt-get install -y curl jq netcat docker.io=${DOCKERVERSION}
+if [ -z ${DOCKERVERSION} ]; then
+ apt-get install -y curl jq netcat docker.io
+else
+ apt-get install -y curl jq netcat docker.io=${DOCKERVERSION}
+fi
apt-get install -y kubernetes-cni=${CNIVERSION}
apt-get install -y --allow-unauthenticated kubeadm=${KUBEVERSION} kubelet=${KUBEVERSION} kubectl=${KUBEVERSION}
apt-mark hold docker.io kubernetes-cni kubelet kubeadm kubectl