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

kube-proxy being evicted due to inode resource #3194

Closed
justinsb opened this issue Aug 14, 2017 · 5 comments
Closed

kube-proxy being evicted due to inode resource #3194

justinsb opened this issue Aug 14, 2017 · 5 comments

Comments

@justinsb
Copy link
Member

We need to protect kube-proxy from eviction; during low inode situations it often is evicted.

@a-chernykh
Copy link
Contributor

Just experienced the same problem and created kubernetes/kubernetes#51432. I am not sure how it is possible for kubelet to evict a critical pod.

@a-chernykh
Copy link
Contributor

According to https://v1-6.docs.kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/ critical pod also requires [{"key":"CriticalAddonsOnly", "operator":"Exists"}] toleration. It looks like kops does not set this toleration for kube-proxy:

Tolerations: tolerateMasterTaints(),

@a-chernykh
Copy link
Contributor

I think this is only relevant when rescheduler is deployed. I don't have it.

@dashpole
Copy link

dashpole commented Sep 5, 2017

Is the critical pod feature gate enabled for your setup? The kubelet should not evict pods that are static and critical when this feature gate is enabled on the kubelet.

@a-chernykh
Copy link
Contributor

I just realized that it's not and that kops does not enable this feature gate by default. Thanks for the hint. I was pretty sure that it should have been enabled by default because so many components in kops have this critical pod annotation.

k8s-github-robot pushed a commit that referenced this issue Sep 25, 2017
Automatic merge from submit-queue. .

Enable ExperimentalCriticalPodAnnotation feature gate

Otherwise, it is possible that critical system components will be evicted

#3194
kubernetes/kubernetes#51432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants