Questions tagged [kube-controller-manager]

30 questions
6
votes
1 answer

kube-controller-manager is not appearing on Google Kubernetes Engine

Folks, I am using Google Cloud Kubernetes Engine. I want to browse through some of the logs that should be available namely kube-controller-manager logs. I am certain I have done this recently on the same setup but I can't figure it out now. So…
6
votes
2 answers

Kubernetes recreate pod if node becomes offline timeout

I've started working with the docker images and set up Kubernetes. I have fixed everything but I am having problems with the timeout of pod recreations. If one pod is running on one particular node and if I shut it down, it will take ~5 minutes to…
Jure Potocnik
  • 489
  • 7
  • 21
5
votes
2 answers

kube-prometheus-stack issue scraping metrics

General Cluster Information: Kubernetes version: 1.19.13 Cloud being used: private Installation method: kubeadm init Host OS: Ubuntu 20.04.1 LTS CNI and version: Weave Net: 2.7.0 CRI and version: Docker: 19.3.13 I am trying to get…
5
votes
3 answers

Reasons of Pod Status Failed

If Pod's status is Failed, Kubernetes will try to create new Pods until it reaches terminated-pod-gc-threshold in kube-controller-manager. This will leave many Failed Pods in a cluster and need to be cleaned up. Are there other reasons except…
flyer
  • 9,280
  • 11
  • 46
  • 62
5
votes
1 answer

How to add flag to Kubernetes controller manager

I'm new to K8s. In process to config Openstack Cinder as K8s StorageClass, i have to add some flags to my kube controller manager, and I found that it's my big problem. I'm using K8s 1.11 in VMs, and my K8s cluster has a kube-controller-manager pod,…
Linh Nguyen
  • 61
  • 1
  • 5
4
votes
0 answers

kube-scheduler and kube-controller-manager restarting

I have kubernetes 1.15.3 setup My kube-controller & kube-scheduler are restarting very frequently . This is happening after kubernetes is upgraded to 1.15.3. kubectl get po -n kube-system NAME READY STATUS …
3
votes
0 answers

Kubernetes control plane how to increase Endpoint Slices for Service

I am gettingthe below error and unable to resolve this. "Error updating Endpoint Slices for Service default/centosdei2-service: failed to update centosdei2-service-dc4tm EndpointSlice for Service default/centosdei2-service:…
3
votes
1 answer

kube-controller-manager & kube-scheduler in CrashLoopBackoff Error in kubernetes

I used calico as CNI in my k8s, I'm trying to deploy a single master cluster in 3 servers. I'm using kubeadm, follow the official setup guide. But some error occurred, kube-controller-manager and kube-scheduler go in CrashLoopBackOff error and…
3
votes
1 answer

What is the deployment controller sync period for kube-controller-manager?

kube-controller-manager has the following property -deployment-controller-sync-period duration Default: 30s Period for syncing the deployments. What does this actually control and what does period for syncing the deployments mean?
Mark
  • 28,783
  • 8
  • 63
  • 92
3
votes
2 answers

Rancher 2.0 - Troubleshooting and fixing “Controller Manager Unhealthy Issue”

I have a problem with controller-manager and scheduler not responding, that is not related to github issues I've found (rancher#11496, azure#173, …) Two days ago we had a memory overflow by one POD on one Node in our 3-node HA cluster. After that…
ralic
  • 75
  • 1
  • 3
  • 10
3
votes
1 answer

In Kubernetes controller what's the preferred way to get an item from the informer cache?

I am looking at following 2 examples, in the first example A lister is used to retrieve the item. In the second example , an index is used. I am wondering which is the preferred way and way to retrieve an element from the local cache.
Always_Beginner
  • 2,546
  • 6
  • 25
  • 33
2
votes
1 answer

Leaderelections failing, lease unable to be renewed automatically

I have a production cluster is currently running on K8s version 1.19.9, where the kube-scheduler and kube-controller-manager failed to have leader elections. The leader is able to acquire the first lease, however it then cannot renew/reacquire the…
2
votes
1 answer

What is the interval of kube-controller-manager control loop?

I see this in Kubernetes doc, In Kubernetes, controllers are control loops that watch the state of your cluster, then make or request changes where needed. Each controller tries to move the current cluster state closer to the desired state. Also…
karthikeayan
  • 4,291
  • 7
  • 37
  • 75
2
votes
1 answer

How can I start kube-controller-manager with config file?

I'm using hyperkube to start kube-controller-manager docker container. In order to rotate the kubernetes CA I followed this doc. I have to point the KCM client-ca and cluster-signing-cert to different certs. Automating this is difficult because KCM…
swetad90
  • 784
  • 1
  • 13
  • 34
2
votes
1 answer

"FindExpandablePluginBySpec err:no volume plugin matched" messages in logs while volumes are working

Kubernetes version: 1.13.4 (same problem on 1.13.2). I self-host the cluster on digitalocean. OS: coreos 2023.4.0 I have 2 volumes on one node: kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name: local-storage provisioner:…
1
2