Merge pull request #17263 from vitaliyf/patch-1

docs: updated etcdctl example
This commit is contained in:
Kubernetes Prow Robot 2025-02-15 01:18:21 -08:00 committed by GitHub
commit a860afb9ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ kubectl exec -it -n kube-system $CONTAINER -- sh
3\. Run etcdctl
```bash
ETCD_VERSION=3.5.1
ETCDDIR=/opt/etcd-v$ETCD_VERSION-linux-amd64 # Replace with arm64 if you are running an arm control plane
ETCD_VERSION=3.5.13
ETCDDIR=/opt/etcd-v$ETCD_VERSION
CERTDIR=/rootfs/srv/kubernetes/kube-apiserver/
alias etcdctl="ETCDCTL_API=3 $ETCDDIR/etcdctl --cacert=$CERTDIR/etcd-ca.crt --cert=$CERTDIR/etcd-client.crt --key=$CERTDIR/etcd-client.key --endpoints=https://127.0.0.1:4001"
```