etcd
1.数据查询
export ETCDCTL_API=3
etcdctl --endpoints https://localhost:2379 --cert /etc/kubernetes/pki/etcd/server.crt --key /etc/kubernetes/pki/etcd/server.key --cacert /etc/kubernetes/pki/etcd/ca.crt get --keys-only --prefix /
2.监听对象变化
etcdctl --endpoints https://localhost:2379 --cert /etc/kubernetes/pki/etcd/server.crt --key
/etc/kubernetes/pki/etcd/server.key --cacert /etc/kubernetes/pki/etcd/ca.crt watch --prefix
/registry/services/specs/default/mynginx
限流
kubectl get flowschema
kubectl get ns default -v 9
#查看集群中所有优先队列
kubectl get prioritylevelconfiguration
#调试
1、所有优先级及当前状态列表
kubectl get --raw /debug/api_priority_and_fairness/dump_priority_levels
2、所有队列及当前状态列表
kubectl get --raw /debug/api_priority_and_fairness/dump_queues
3、当前正在队列中等待的所有请求列表
kubectl get --raw /debug/api_priority_and_fairness/dump_requests
标签
kubectl annotate ns default name=cyw
kubectl get ns -l name=cyw