k8s-学习笔记9-API Sever
curl带证书访问kubeadmin安装的k8s 1.18
curl https://10.0.0.80:6443/api/v1/services \ --cacert /etc/kubernetes/pki/ca.crt \ --cert /etc/kubernetes/pki/apiserver-kubelet-client.crt \ --key /etc/kubernetes/pki/apiserver-kubelet-client.key
curl带证书访问kubeadmin安装的k8s 1.18
curl https://10.0.0.80:6443/api/v1/services \ --cacert /etc/kubernetes/pki/ca.crt \ --cert /etc/kubernetes/pki/apiserver-kubelet-client.crt \ --key /etc/kubernetes/pki/apiserver-kubelet-client.key