I am trying to change the sync period as mentioned in the following k8s document. I found the file named kube-controller-manager.yaml
in /etc/kubernetes/manifests. I changed the timeoutSeconds:
value from 15 secs(default) to 60 secs. Now I have 2 questions based on above info:
--horizontal-pod-autoscaler-sync-period
, but adding that is also not working.kube-controller-manager.yaml
are getting restored to default whenever I restart the minikube? what should I do? Please let me know any solution or any view in this.To change the sync period you have to run following command while starting the minikube. minikube start --extra-config 'controller-manager.horizontal-pod-autoscaler-sync-period=10s'