mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-18 12:29:18 +00:00
Merge branch 'master' into 2020-06-enix
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user