k8s監控api調用

 

k8s監控api調用node

curl  -s --cacert /etc/kubernetes/ssl/ca.pem -basic -u fengjian:fengjian --insecure -X GET https://192.168.200.11:6443/apis/metrics.k8s.io/v1beta1/nodes


curl  -s --cacert /etc/kubernetes/ssl/ca.pem -basic -u fengjian:fengjian --insecure -X GET https://192.168.200.11:6443/apis/metrics.k8s.io/v1beta1/pods
相關文章
相關標籤/搜索