Upgrade to k8s 1.7.5 to use flexvolume-ds 0.2

stackube/flex-volume:v0.2 has been uploaded to hub

Change-Id: Ibb7469ee7683abcfc939b58104df20f1c621ab25
This commit is contained in:
Harry Zhang 2017-09-08 10:36:50 +08:00
parent 4de3925dd1
commit a772885672
3 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ spec:
containers:
- name: cinder-flexvolume
resources: {}
image: stackube/flex-volume:v0.1
image: stackube/flex-volume:v0.2
command: ["/bin/bash", "install.sh"]
env:
# The endpoint of openstack authentication.

View File

@ -97,7 +97,7 @@ gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg
EOF'
sudo setenforce 0
sudo sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
sudo yum install -y kubelet-1.7.4-0 kubeadm-1.7.4-0 kubectl-1.7.4-0
sudo yum install -y kubelet-1.7.5-0 kubeadm-1.7.5-0 kubectl-1.7.5-0
elif is_ubuntu; then
sudo apt-get update && sudo apt-get install -y apt-transport-https
sudo curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
@ -105,7 +105,7 @@ EOF'
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF'
sudo apt-get update
sudo apt-get install -y kubelet=1.7.4-00 kubeadm=1.7.4-00 kubectl=1.7.4-00
sudo apt-get install -y kubelet=1.7.5-00 kubeadm=1.7.5-00 kubectl=1.7.5-00
else
exit_distro_not_supported
fi

View File

@ -42,7 +42,7 @@ gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg
https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
EOF
yum install -y kubelet-1.7.4-0 kubeadm-1.7.4-0 kubectl-1.7.4-0
yum install -y kubelet-1.7.5-0 kubeadm-1.7.5-0 kubectl-1.7.5-0
# configure_kubelet
unitFile='/etc/systemd/system/kubelet.service.d/10-kubeadm.conf'