KubeADM-AIO: update to K8s 1.6.8

This PS udpates the Kubernetes version to v1.6.8

Change-Id: I2170fbaf901e761cb732469dab5ad7bc946ddea5
This commit is contained in:
Pete Birley 2017-08-03 21:36:07 -05:00
parent 268d8ef471
commit 054ac68e92
9 changed files with 19 additions and 17 deletions

View File

@ -29,7 +29,7 @@ images:
bootstrap: quay.io/attcomdev/ceph-daemon:tag-build-master-jewel-ubuntu-16.04 bootstrap: quay.io/attcomdev/ceph-daemon:tag-build-master-jewel-ubuntu-16.04
dep_check: docker.io/kolla/ubuntu-source-kubernetes-entrypoint:4.0.0 dep_check: docker.io/kolla/ubuntu-source-kubernetes-entrypoint:4.0.0
daemon: quay.io/attcomdev/ceph-daemon:tag-build-master-jewel-ubuntu-16.04 daemon: quay.io/attcomdev/ceph-daemon:tag-build-master-jewel-ubuntu-16.04
ceph_config_helper: docker.io/port/ceph-config-helper:v1.6.7 ceph_config_helper: docker.io/port/ceph-config-helper:v1.6.8
pull_policy: "IfNotPresent" pull_policy: "IfNotPresent"
labels: labels:

View File

@ -69,7 +69,7 @@ against your Kubernetes cluster.
:: ::
export KUBE_VERSION=v1.6.7 export KUBE_VERSION=v1.6.8
export HELM_VERSION=v2.5.1 export HELM_VERSION=v2.5.1
export TMP_DIR=$(mktemp -d) export TMP_DIR=$(mktemp -d)
@ -136,11 +136,11 @@ Build
----- -----
Using the Dockerfile defined in tools/kubeadm-aio directory, build the Using the Dockerfile defined in tools/kubeadm-aio directory, build the
'openstackhelm/kubeadm-aio:v1.6.7' image. 'openstackhelm/kubeadm-aio:v1.6.8' image.
:: ::
export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:v1.6.7 export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:v1.6.8
sudo docker build --pull -t ${KUBEADM_IMAGE} tools/kubeadm-aio sudo docker build --pull -t ${KUBEADM_IMAGE} tools/kubeadm-aio
Deploy Deploy
@ -155,7 +155,7 @@ displayed during execution.
:: ::
export KUBE_VERSION=v1.6.7 export KUBE_VERSION=v1.6.8
./tools/kubeadm-aio/kubeadm-aio-launcher.sh ./tools/kubeadm-aio/kubeadm-aio-launcher.sh
export KUBECONFIG=${HOME}/.kubeadm-aio/admin.conf export KUBECONFIG=${HOME}/.kubeadm-aio/admin.conf
mkdir -p ${HOME}/.kube mkdir -p ${HOME}/.kube

View File

@ -29,7 +29,7 @@ comments, please create an `issue
- Version - Version
- Notes - Notes
* - **Kubernetes** * - **Kubernetes**
- `v1.6.7 <https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md#v165>`_ - `v1.6.8 <https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md#v165>`_
- `Custom Controller for RDB tools <https://quay.io/repository/attcomdev/kube-controller-manager?tab=tags>`_ - `Custom Controller for RDB tools <https://quay.io/repository/attcomdev/kube-controller-manager?tab=tags>`_
* - **Helm** * - **Helm**
- `v2.5.1 <https://github.com/kubernetes/helm/releases/tag/v2.5.1>`_ - `v2.5.1 <https://github.com/kubernetes/helm/releases/tag/v2.5.1>`_
@ -85,8 +85,8 @@ on every node in your cluster before executing ``kubeadm init``:
:: ::
export CEPH_KUBE_CONTROLLER_MANAGER_IMAGE=quay.io/attcomdev/kube-controller-manager:v1.6.7 export CEPH_KUBE_CONTROLLER_MANAGER_IMAGE=quay.io/attcomdev/kube-controller-manager:v1.6.8
export BASE_KUBE_CONTROLLER_MANAGER_IMAGE=gcr.io/google_containers/kube-controller-manager-amd64:v1.6.7 export BASE_KUBE_CONTROLLER_MANAGER_IMAGE=gcr.io/google_containers/kube-controller-manager-amd64:v1.6.8
sudo docker pull ${CEPH_KUBE_CONTROLLER_MANAGER_IMAGE} sudo docker pull ${CEPH_KUBE_CONTROLLER_MANAGER_IMAGE}
sudo docker tag ${CEPH_KUBE_CONTROLLER_MANAGER_IMAGE} ${BASE_KUBE_CONTROLLER_MANAGER_IMAGE} sudo docker tag ${CEPH_KUBE_CONTROLLER_MANAGER_IMAGE} ${BASE_KUBE_CONTROLLER_MANAGER_IMAGE}
@ -94,7 +94,7 @@ Afterwards, you can ``kubeadm init`` as such:
:: ::
admin@kubenode01:~$ kubeadm init --kubernetes-version v1.6.7 admin@kubenode01:~$ kubeadm init --kubernetes-version v1.6.8
If your environment looks like this after all nodes have joined the If your environment looks like this after all nodes have joined the

View File

@ -84,6 +84,7 @@ NODE_NAME=$(hostname)
mkdir -p ${LOGS_DIR}/nodes/${NODE_NAME} mkdir -p ${LOGS_DIR}/nodes/${NODE_NAME}
echo "${NODE_NAME}" > ${LOGS_DIR}/nodes/master.txt echo "${NODE_NAME}" > ${LOGS_DIR}/nodes/master.txt
sudo docker logs kubelet 2> ${LOGS_DIR}/nodes/${NODE_NAME}/kubelet.txt sudo docker logs kubelet 2> ${LOGS_DIR}/nodes/${NODE_NAME}/kubelet.txt
sudo docker logs kubeadm-aio 2>&1 > ${LOGS_DIR}/nodes/${NODE_NAME}/kubeadm-aio.txt
sudo docker images --digests --no-trunc --all > ${LOGS_DIR}/nodes/${NODE_NAME}/images.txt sudo docker images --digests --no-trunc --all > ${LOGS_DIR}/nodes/${NODE_NAME}/images.txt
sudo iptables-save > ${LOGS_DIR}/nodes/${NODE_NAME}/iptables.txt sudo iptables-save > ${LOGS_DIR}/nodes/${NODE_NAME}/iptables.txt
sudo ip a > ${LOGS_DIR}/nodes/${NODE_NAME}/ip.txt sudo ip a > ${LOGS_DIR}/nodes/${NODE_NAME}/ip.txt
@ -99,6 +100,7 @@ if [ "x$INTEGRATION" == "xmulti" ]; then
NODE_NAME=$(ssh -i ${SSH_PRIVATE_KEY} $(whoami)@${NODE_IP} hostname) NODE_NAME=$(ssh -i ${SSH_PRIVATE_KEY} $(whoami)@${NODE_IP} hostname)
mkdir -p ${LOGS_DIR}/nodes/${NODE_NAME} mkdir -p ${LOGS_DIR}/nodes/${NODE_NAME}
ssh -i ${SSH_PRIVATE_KEY} $(whoami)@${NODE_IP} sudo docker logs kubelet 2> ${LOGS_DIR}/nodes/${NODE_NAME}/kubelet.txt ssh -i ${SSH_PRIVATE_KEY} $(whoami)@${NODE_IP} sudo docker logs kubelet 2> ${LOGS_DIR}/nodes/${NODE_NAME}/kubelet.txt
ssh -i ${SSH_PRIVATE_KEY} $(whoami)@${NODE_IP} sudo docker logs kubeadm-aio 2>&1 > ${LOGS_DIR}/nodes/${NODE_NAME}/kubeadm-aio.txt
ssh -i ${SSH_PRIVATE_KEY} $(whoami)@${NODE_IP} sudo docker images --digests --no-trunc --all > ${LOGS_DIR}/nodes/${NODE_NAME}/images.txt ssh -i ${SSH_PRIVATE_KEY} $(whoami)@${NODE_IP} sudo docker images --digests --no-trunc --all > ${LOGS_DIR}/nodes/${NODE_NAME}/images.txt
ssh -i ${SSH_PRIVATE_KEY} $(whoami)@${NODE_IP} sudo iptables-save > ${LOGS_DIR}/nodes/${NODE_NAME}/iptables.txt ssh -i ${SSH_PRIVATE_KEY} $(whoami)@${NODE_IP} sudo iptables-save > ${LOGS_DIR}/nodes/${NODE_NAME}/iptables.txt
ssh -i ${SSH_PRIVATE_KEY} $(whoami)@${NODE_IP} sudo ip a > ${LOGS_DIR}/nodes/${NODE_NAME}/ip.txt ssh -i ${SSH_PRIVATE_KEY} $(whoami)@${NODE_IP} sudo ip a > ${LOGS_DIR}/nodes/${NODE_NAME}/ip.txt

View File

@ -14,7 +14,7 @@
set -ex set -ex
export HELM_VERSION=${HELM_VERSION:-"v2.5.1"} export HELM_VERSION=${HELM_VERSION:-"v2.5.1"}
export KUBE_VERSION=${KUBE_VERSION:-"v1.6.7"} export KUBE_VERSION=${KUBE_VERSION:-"v1.6.8"}
export PVC_BACKEND=${PVC_BACKEND:-"ceph"} export PVC_BACKEND=${PVC_BACKEND:-"ceph"}
export UPSTREAM_DNS=${UPSTREAM_DNS:-"8.8.8.8"} export UPSTREAM_DNS=${UPSTREAM_DNS:-"8.8.8.8"}
export KUBECONFIG=${HOME}/.kubeadm-aio/admin.conf export KUBECONFIG=${HOME}/.kubeadm-aio/admin.conf

View File

@ -1,7 +1,7 @@
FROM ubuntu:16.04 FROM ubuntu:16.04
MAINTAINER pete.birley@att.com MAINTAINER pete.birley@att.com
ARG KUBE_VERSION=v1.6.7 ARG KUBE_VERSION=v1.6.8
RUN set -x \ RUN set -x \
&& TMP_DIR=$(mktemp --directory) \ && TMP_DIR=$(mktemp --directory) \

View File

@ -31,7 +31,7 @@ repo run:
.. code:: bash .. code:: bash
export KUBE_VERSION=v1.6.7 export KUBE_VERSION=v1.6.8
sudo docker build \ sudo docker build \
--build-arg KUBE_VERSION=${KUBE_VERSION} \ --build-arg KUBE_VERSION=${KUBE_VERSION} \
-t docker.io/port/ceph-config-helper:${KUBE_VERSION} \ -t docker.io/port/ceph-config-helper:${KUBE_VERSION} \

View File

@ -2,7 +2,7 @@ FROM ubuntu:16.04
MAINTAINER pete.birley@att.com MAINTAINER pete.birley@att.com
ENV HELM_VERSION=v2.5.1 \ ENV HELM_VERSION=v2.5.1 \
KUBE_VERSION=v1.6.7 \ KUBE_VERSION=v1.6.8 \
CNI_VERSION=v0.5.2 \ CNI_VERSION=v0.5.2 \
container="docker" \ container="docker" \
DEBIAN_FRONTEND="noninteractive" DEBIAN_FRONTEND="noninteractive"

View File

@ -31,7 +31,7 @@ You should install the ``kubectl`` and ``helm`` binaries:
.. code:: bash .. code:: bash
KUBE_VERSION=v1.6.7 KUBE_VERSION=v1.6.8
HELM_VERSION=v2.5.1 HELM_VERSION=v2.5.1
TMP_DIR=$(mktemp -d) TMP_DIR=$(mktemp -d)
@ -57,7 +57,7 @@ repo run:
.. code:: bash .. code:: bash
export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:v1.6.7 export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:v1.6.8
sudo docker build --pull -t ${KUBEADM_IMAGE} tools/kubeadm-aio sudo docker build --pull -t ${KUBEADM_IMAGE} tools/kubeadm-aio
Deploy the AIO environment Deploy the AIO environment
@ -67,8 +67,8 @@ To launch the environment run:
.. code:: bash .. code:: bash
export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:v1.6.7 export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:v1.6.8
export KUBE_VERSION=v1.6.7 export KUBE_VERSION=v1.6.8
./tools/kubeadm-aio/kubeadm-aio-launcher.sh ./tools/kubeadm-aio/kubeadm-aio-launcher.sh
export KUBECONFIG=${HOME}/.kubeadm-aio/admin.conf export KUBECONFIG=${HOME}/.kubeadm-aio/admin.conf