k8s api Server默认是需要认证的,Swagger UI通过浏览器匿名用户是不允许访问的,这个怎么处理?
访问https://10.48.70.140:6443/swagger-ui/
时返回:
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {
},
"status": "Failure",
"message": "Unauthorized",
"reason": "Unauthorized",
"code": 401
}