API
Last modified by Bin Chen on 2020/09/04 04:05
1.1 API Groups
1.2 Access API
curl http://localhost:6443 –k --key admin.key --cert admin.crt --cacert ca.crt
1.2.1 kubectl proxy
kubectl proxy
Starting to serve on 127.0.0.1:
Now you can access the kubectl proxy service at port 8001 and the proxy will use the credentials from kube-config file to forward your request to the kube api server.
curl http://localhost:8001 -k