我已经使用kubeadm配置了安装了k8s的OIDC。 配置后,当我运行命令kubectl [email protected] get nodes我得到error: You must be logged in to the server (the server has asked for the client to provide credentials (get nodes)) 有人可以帮我这个
后不能列出在集群范围内的节点,我得到Error from server (Forbidden): User "system:anonymous" cannot list nodes at the cluster scope. (get nodes) 我有以下设置用户, - context: cluster: kubernetes user: [email protected] name: [ema