error: You must be logged in to the server - the server has asked for the client to provide credentials - “kubectl logs” command gives error

后端 未结 4 1904
借酒劲吻你
借酒劲吻你 2021-02-15 02:07

We had setup kubernetes 1.10.1 on CoreOS with three nodes. Setup is successfull

NAME                STATUS    ROLES     AGE       VERSION
node1.example.com   Rea         


        
4条回答
  •  悲&欢浪女
    2021-02-15 02:48

    Looks like you misconfigured kublet:

    You missed the --client-ca-file flag in your Kubelet Service File

    That’s why you can get some general information from master, but can’t get access to nodes.

    This flag is responsible for certificate; without this flag, you can not get access to the nodes.

提交回复
热议问题