hongmingx ` ]# kubectl -n kubesphere-system get svc ks-apiserver
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ks-apiserver ClusterIP 10.10.56.216 <none> 80/TCP 7d14h
[root@master ]# curl -X POST 10.10.56.216 -H ‘Content-Type: application/x-www-form-urlencoded’ –data-urlencode ‘grant_type=password’ –data-urlencode ‘username=admin’ –data-urlencode ‘password=P@88wOrd’
{
“kind”: “Status”,
“apiVersion”: “v1″,
“metadata”: {
},
“status”: “Failure”,
“message”: "forbidden: User \“system:anonymous\” cannot POST path \“/\”",
“reason”: “Forbidden”,
“details”: {
},
“code”: 403
`这是什么原因呢