From d4c47d2c5be083eb3f3accdf2852ed580f6ac2f5 Mon Sep 17 00:00:00 2001 From: Saikrishna Date: Tue, 1 Jan 2019 21:49:14 +0000 Subject: [PATCH] Update canal manifest and setup_system.sh Signed-off-by: Saikrishna Edupuganti --- clr-k8s-examples/0-canal/canal.yaml | 12 ++++++------ clr-k8s-examples/setup_system.sh | 3 +-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/clr-k8s-examples/0-canal/canal.yaml b/clr-k8s-examples/0-canal/canal.yaml index 9369f05..6666a2c 100644 --- a/clr-k8s-examples/0-canal/canal.yaml +++ b/clr-k8s-examples/0-canal/canal.yaml @@ -1,8 +1,8 @@ -# Canal Version v3.3.0 -# https://docs.projectcalico.org/v3.3/releases#v3.3.0 +# Canal Version v3.3.2 +# https://docs.projectcalico.org/v3.3/releases#v3.3.2 # This manifest includes the following component versions: -# calico/node:v3.3.0 -# calico/cni:v3.3.0 +# calico/node:v3.3.2 +# calico/cni:v3.3.2 # coreos/flannel:v0.9.1 # This ConfigMap is used to configure a self-hosted Canal installation. @@ -115,7 +115,7 @@ spec: # container programs network policy and routes on each # host. - name: calico-node - image: quay.io/calico/node:v3.3.0 + image: quay.io/calico/node:v3.3.2 env: # Use Kubernetes API as the backing datastore. - name: DATASTORE_TYPE @@ -194,7 +194,7 @@ spec: # This container installs the Calico CNI binaries # and CNI network config file on each node. - name: install-cni - image: quay.io/calico/cni:v3.3.0 + image: quay.io/calico/cni:v3.3.2 command: ["/install-cni.sh"] env: # Name of the CNI config file to create. diff --git a/clr-k8s-examples/setup_system.sh b/clr-k8s-examples/setup_system.sh index 9044db4..df37027 100755 --- a/clr-k8s-examples/setup_system.sh +++ b/clr-k8s-examples/setup_system.sh @@ -64,7 +64,7 @@ if [[ ${http_proxy} ]] || [[ ${HTTP_PROXY} ]]; then echo "Warning, failed to find /etc/profile.d/proxy.sh to edit no_proxy line" fi - services=('crio' 'docker' 'kubelet') + services=('crio' 'kubelet') for s in "${services[@]}"; do sudo mkdir -p "/etc/systemd/system/${s}.service.d/" cat << EOF | sudo bash -c "cat > /etc/systemd/system/${s}.service.d/proxy.conf" @@ -81,5 +81,4 @@ set -o nounset # We have potentially modified their env files, we need to restart the services. sudo systemctl daemon-reload sudo systemctl restart crio || true -sudo systemctl restart docker || true sudo systemctl restart kubelet || true