Upgrade kubernetes version

- k8s version = 1.8.2
- change 'kubectl upgrade' to 'replace' since its unavailable
  in new version

Change-Id: If0feabfe678d558e15273bd20b51994a56b9ea6e
This commit is contained in:
Vlad Naboichenko 2017-11-02 02:30:00 +00:00
parent 4399e39a9c
commit ed81234e22
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ export HOST_OS=${HOST_OS:="${ID}"}
# Set versions of K8s and Helm to use
export HELM_VERSION=${HELM_VERSION:-"v2.6.1"}
export KUBE_VERSION=${KUBE_VERSION:-"v1.7.5"}
export KUBE_VERSION=${KUBE_VERSION:-"v1.8.2"}
# Set K8s-AIO options
export KUBECONFIG=${KUBECONFIG:="${HOME}/.kubeadm-aio/admin.conf"}

View File

@ -24,4 +24,4 @@ kubectl label nodes openvswitch=enabled --all --namespace=openstack --overwrite
kubectl label nodes openstack-compute-node=enabled --all --namespace=openstack --overwrite
echo 'RBAC: applying development rules (totally open!)'
kubectl update -f /opt/rbac/dev.yaml
kubectl replace -f /opt/rbac/dev.yaml