通过 curl 命令访问 K8S API
参考链接:https://blog.csdn.net/anqixiang/article/details/114435934
curl https://127.0.0.1:6443/api/v1/nodes \ --cacert /etc/kubernetes/pki/ca.crt \ --cert /etc/kubernetes/pki/apiserver-kubelet-client.crt \ --key /etc/kubernetes/pki/apiserver-kubelet-client.key