kubectl taint node k8s-master01 key1=value1:NoExecute 添加污点并驱逐pod
etcd 命令操作
etcdctl --endpoints=https://[127.0.0.1]:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key member list -w table
1102 alias etcdctl='etcdctl --endpoints=https://[127.0.0.1]:2379 --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key'
etcdctl member list -w table 查询etc 节点
etcdctl get / --prefix --keys-only 查询 etcd 数据
etcdctl del /registry/events/dev/eureka-cluster-0.17261bc1cd7b20d5 删除etcd 数据
kubectl -n dev edit configmap devops-config 配置域名查询并编辑
标签:pki,kubernetes,etc,--,etcdctl,命令,etcd,操作,k8s From: https://www.cnblogs.com/quemengqio/p/16877529.html