kube-controller-manager

Kubernetes controller manager pod not updating

旧城冷巷雨未停 提交于 2021-01-29 06:10:15
问题 I am trying to add some extra flags to my kubernetes controller manager and I am updating the flags in the /etc/kubernetes/manifests/kube-controller-manager.yaml file. But the changes that I am adding are not taking effect. The kubelet is detecting changes to the file and is restarting the pods but once restarted they come back with the old flags. Any ideas? 回答1: So it seems that any file under /etc/kubernetes/manifests is loaded by the kubelet. So when I was adding the new flags I was taking

Kubernetes recreate pod if node becomes offline timeout

蓝咒 提交于 2021-01-21 09:38:09
问题 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 recreate the pod on another online node. I've checked all the possible config files, also set all pod-eviction-timeout, horizontal-pod-autoscaler-downscale, horizontal-pod-autoscaler-downscale-delay flags but it is still not working. Current kube

Kubernetes recreate pod if node becomes offline timeout

梦想与她 提交于 2021-01-21 09:37:12
问题 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 recreate the pod on another online node. I've checked all the possible config files, also set all pod-eviction-timeout, horizontal-pod-autoscaler-downscale, horizontal-pod-autoscaler-downscale-delay flags but it is still not working. Current kube

kube-controller-manager doesn't start when using “cloud-provider=aws” with kubeadm

冷暖自知 提交于 2019-12-02 08:49:16
问题 I'm trying to use Kubernetes integration with AWS, but kube-controller-manager don't start. (BTW: Everything works perfectly without the ASW option) Here is what I do: -- 1 -- ubuntu@ip-172-31-17-233:~$ more /etc/kubernetes/aws.conf apiVersion: kubeadm.k8s.io/v1alpha1 kind: MasterConfiguration cloudProvider: aws kubernetesVersion: 1.10.3 -- 2 -- ubuntu@ip-172-31-17-233:~$ more /etc/kubernetes/cloud-config.conf [Global] KubernetesClusterTag=kubernetes KubernetesClusterID=kubernetes (I tried