diff --git a/prepare-vms/lib/commands.sh b/prepare-vms/lib/commands.sh index b49e56dc..0918b101 100644 --- a/prepare-vms/lib/commands.sh +++ b/prepare-vms/lib/commands.sh @@ -249,7 +249,8 @@ EOF" # Install kustomize pssh " if [ ! -x /usr/local/bin/kustomize ]; then - curl -L https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.5.4/kustomize_v3.5.1_linux_amd64.tar.gz | + ##VERSION## + curl -L https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.6.1/kustomize_v3.6.1_linux_amd64.tar.gz | sudo tar -C /usr/local/bin -zx kustomize echo complete -C /usr/local/bin/kustomize kustomize | sudo tee /etc/bash_completion.d/kustomize fi" diff --git a/slides/k8s/cluster-backup.md b/slides/k8s/cluster-backup.md index 73a34739..113bd134 100644 --- a/slides/k8s/cluster-backup.md +++ b/slides/k8s/cluster-backup.md @@ -217,15 +217,16 @@ docker run --rm --net host -v $PWD:/vol \ ## How can we remember all these flags? -- Look at the static pod manifest for etcd +- Older versions of kubeadm did add a healthcheck probe with all these flags - (in `/etc/kubernetes/manifests`) +- That healthcheck probe was calling `etcdctl` with all the right flags -- The healthcheck probe is calling `etcdctl` with all the right flags - 😉👍✌️ +- With recent versions of kubeadm, we're on our own! - Exercise: write the YAML for a batch job to perform the backup + (how will you access the key and certificate required to connect?) + --- ## Restoring an etcd snapshot