Change-Id: If6cb5085c51db746498343012bd6475ea11292d4
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
DOCKER_VERSION=18.06.1~ce~3-0~ubuntu
KUBE_VERSION=1.13.0-00
DOCKER_VERSION=18.06.1~ce~3-0~ubuntu
KUBE_VERSION=1.13.0-00
+K8S_CNI_VERSION=0.6.0-00
# Install Docker as Prerequisite
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# Install Docker as Prerequisite
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
deb https://apt.kubernetes.io/ kubernetes-xenial main
EOF
sudo apt update
deb https://apt.kubernetes.io/ kubernetes-xenial main
EOF
sudo apt update
+# Minor fix for broken kubernetes-cni dependency in upstream xenial repo
- kubelet=${KUBE_VERSION} kubeadm=${KUBE_VERSION} kubectl=${KUBE_VERSION}
-sudo apt-mark hold kubelet kubeadm kubectl
+ kubernetes-cni=${K8S_CNI_VERSION} kubelet=${KUBE_VERSION} kubeadm=${KUBE_VERSION} kubectl=${KUBE_VERSION}
+sudo apt-mark hold kubernetes-cni kubelet kubeadm kubectl
#Add extra flags to Kubelet
if ! grep -q -e 'fail-swap-on' /etc/default/kubelet; then
#Add extra flags to Kubelet
if ! grep -q -e 'fail-swap-on' /etc/default/kubelet; then