Skip to main content
3 votes
Accepted

Error from server (Forbidden): error when retrieving current configuration of: Resource: "apps/v1, Resource=deployments",

Going from this, your ClusterRole isn't configured to allow access to deployments, and the ClusterRole you've listed isn't properly bound to your service account. You could configure it with something ...
Kanga_Roo's user avatar
  • 146
2 votes
Accepted

kubeadm init fails when using cri-o

I'm running crio 1.17.0-rc1 with kubernetes 1.17.1 on RHEL7/CENTOS7. One thing I had to do was build crio 1.17 myself because there was no package available and I read the version should match (crio ...
Luke's user avatar
  • 36
2 votes
Accepted

How to introduce(join) new worker node to an existing k8s cluster with selective scheduling only

Possibly you are looking for this feature which is closed with no action since there are ways to work around this problem. kubeadm already allows to set taints for the joining node using the ...
DT.'s user avatar
  • 260
2 votes

kubelet connecting to docker.sock instead of containerd.sock

I'm not sure it's correct, but if anyone encounters similar issue, you can try again by adding the following parameters to /var/lib/kubelet/kubeadm-flags.env KUBELET_KUBEADM_ARGS="--container-...
yildirim's user avatar
2 votes

kubelet connecting to docker.sock instead of containerd.sock

In kubeadm docs --cri-socket stringPath to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have ...
Hakob's user avatar
  • 359
1 vote

How do I modify the environment variables of a Kubernetes cluster?

Environment vars at the time of kubeadm init are not deployed to all pods. There are no pods at that time anyway, you have just created a kubemaster. When you want to put NO_PROXY into pods/...
Serve Laurijssen's user avatar
1 vote

kubelet connecting to docker.sock instead of containerd.sock

Apart from adding to the KUBELET_ADM_ARGS variable you should also set every node config to containerd. kubectl edit no nodeX.example.com kubeadm.alpha.kubernetes.io/cri-socket: /var/run/containerd....
Serve Laurijssen's user avatar
1 vote
Accepted

Failed to install kubernetes on centos

When I navigate to the URL, there do not appear to be any packages in the repo. Consider trying a mirror like: mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64
James Shewey's user avatar
  • 3,732
1 vote

How to introduce(join) new worker node to an existing k8s cluster with selective scheduling only

kubeadm already allows to set taints for the joining node using the configuration file at join time. Steps on how to do this at node join time are as below Construct a Config.yaml file with taint ...
DT.'s user avatar
  • 260

Only top scored, non community-wiki answers of a minimum length are eligible