Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coredns is failing #58

Open
balasu opened this issue Jan 6, 2021 · 0 comments
Open

coredns is failing #58

balasu opened this issue Jan 6, 2021 · 0 comments

Comments

@balasu
Copy link

balasu commented Jan 6, 2021

Hi

I spin the k8s cluster on PWK with below commands,
kubeadm init --apiserver-advertise-address $(hostname -i) --pod-network-cidr 10.5.0.0/16
kubectl apply -f https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/daemonset/kubeadm-kuberouter.yaml
mkdir -p $HOME/.kube
cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
chown $(id -u):$(id -g) $HOME/.kube/config

noticed that coredns isnt starting, due to below error in apiserver
{"log":"E0106 06:07:27.056062 1 authentication.go:53] Unable to authenticate the request due to an error: invalid bearer token\n","stream":"stderr","time":"2021-01-06T06:07:27.056355611Z"}

NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-74ff55c5b-9hrkc 0/1 Pending 0 21m
kube-system coredns-74ff55c5b-lpqsb 0/1 Pending 0 21m
kube-system etcd-node1 1/1 Running 0 21m
kube-system kube-apiserver-node1 1/1 Running 0 21m
kube-system kube-controller-manager-node1 1/1 Running 0 21m
kube-system kube-proxy-bzpcm 1/1 Running 0 21m
kube-system kube-scheduler-node1 1/1 Running 0 21m
portainer portainer-c999955f7-jwz7f 0/1 Pending 0 10m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant