k8s监控api调用

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
05-04 01:48