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

  

 

posted @ 2020-08-13 15:51  jabbok  阅读(135)  评论(0编辑  收藏  举报