#监听本地的8080端口
kubectl proxy --port=8080
[root@k8s-m ~]# kubectl proxy --port=8080
Starting to serve on 127.0.0.1:8080
##可以通过curl 命令查看
[root@k8s-m ~]# curl http://localhost:8080/api/v1/namespaces
授权插件: Node、ABAC、RBAC、Webhook
RBAC: Role-based AC
2024-03-11 21:44:37
#监听本地的8080端口
kubectl proxy --port=8080
[root@k8s-m ~]# kubectl proxy --port=8080
Starting to serve on 127.0.0.1:8080
##可以通过curl 命令查看
[root@k8s-m ~]# curl http://localhost:8080/api/v1/namespaces
授权插件: Node、ABAC、RBAC、Webhook
RBAC: Role-based AC