gpt4 book ai didi

kubernetes - kubectl错误: "You must be logged in to the server (the server has asked for the client to provide credentials)"

转载 作者:行者123 更新时间:2023-12-02 18:49:57 64 4
gpt4 key购买 nike

我正在运行以下命令并收到错误:

$ kubectl get nodes
error: You must be logged in to the server (the server has asked for the client to provide credentials)

发生什么事了?

最佳答案

你必须运行:

$ gcloud container clusters get-credentials [cluster-name]

文档 here .

关于kubernetes - kubectl错误: "You must be logged in to the server (the server has asked for the client to provide credentials)",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43111366/

64 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com