Get the App
SLTechnology News&Howtos  ›  Servers  › 

Curl visits api-server and reports 403 errors.

Shulou Source: shulou.com Published: 2022-06-03 08:45:39 12月06日 Update

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

Tags: Scheme error following figure address interface permission time out reference Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft NVidia Xiaomi Docker Huawei