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

Delay in switching the pods from one node to another #142

Open
prathyushmr opened this issue Oct 9, 2018 · 0 comments
Open

Delay in switching the pods from one node to another #142

prathyushmr opened this issue Oct 9, 2018 · 0 comments

Comments

@prathyushmr
Copy link

I have followed the https://github.com/Mirantis/k8s-externalipcontroller/blob/master/doc/fail-over-optimization.md . But its still taking 4-5 minutes to detect the node failure and restart the pods in another node .
On the master node i edited /etc/kubernetes/manifests/kube-controller-manager.yaml to set

  • --node-monitor-period=2s
    • --node-monitor-grace-period=16s
    • --pod-eviction-timeout=30s
      and on worker node /var/lib/kubelet/kubeadm-flags.env to set -node-status-update-frequency=4s
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