x509 certificate signed by unknown authority- Kubernetes

后端 未结 5 2236
-上瘾入骨i
-上瘾入骨i 2021-02-19 03:32

I am configuring Kubernetes cluster with 2 nodes in coreos as described in https://coreos.com/kubernetes/docs/latest/getting-started.html without flannel. Both

5条回答
  •  眼角桃花
    2021-02-19 03:40

    Well, to answer your first question I think you have to do a few things to resolve your problem.

    First, run the command given in this link : kubernetes.io/docs/setup/independent/create-cluster-kubeadm‌​/…

    Complete with those commands :

    • mkdir -p $HOME/.kube
    • sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
    • sudo chown $(id -u):$(id -g) $HOME/.kube/config

    This admin.conf should be known to kubectl so as to work properly.

提交回复
热议问题