curl https://172.19.1.10:8443 --certificate-authority /etc/kubernetes/pki/ca.pem --client-key /etc/kubernetes/pki/apiserver-key.pem --client-certificate /etc/kubernetes/pki/apiserver.pem
kubectl -s https://172.19.1.10:8443 --certificate-authority /etc/kubernetes/pki/ca.pem --client-key /etc/kubernetes/pki/admin-key.pem --client-certificate /etc/kubernetes/pki/admin.pem version
通过curl 和kubectl方式调用kube-apiserver
原文:https://www.cnblogs.com/gavin11/p/13394661.html