Curl visits api-server and reports 403 errors.
The following error occurs when using curl to request the api-server interface
Interim programme:
kubectl create clusterrolebinding system:anonymous --clusterrole=cluster-admin --user=system:anonymous
Final solution: (only give view permission)
kubectl create clusterrolebinding system:anonymous --clusterrole=view --user=system:anonymous
Reference address:
http://docs.kubernetes.org.cn/494.html