Kubernetes Node Failover

What is the Problem?

NotReadyInstance
ip-172-31-44-210   NotReady   <none>                 7h31m   v1.20.2
Taints:             node.kubernetes.io/unreachable:NoExecute
node.kubernetes.io/unreachable:NoSchedule

How I fixed the problem?

- --enable-admissionplugins=NodeRestriction,DefaultTolerationSeconds
- --default-not-ready-toleration-seconds=40
- --default-unreachable-toleration-seconds=40
tolerations:
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 40
- key: "node.kubernetes.io/not-ready"
operator: "Exists"
effect: "NoExecute"
tolerationSeconds: 40
NAMEREADY   STATUS    RESTARTS   AGE        NODE
nginx-deployment-7944668857-2pdnt 1/1 => ip-172-31-46-223
NAMEREADY   STATUS    RESTARTS   AGE        NODE
nginx-deployment-7944668857-2pdnt 1/1 => ip-172-31-46-223
nginx-deployment-7944668857-2pdnt 0/1 => TERMINATING
nginx-deployment-7944668857-cwggz 0/1 => PENDING
nginx-deployment-7944668857-cwggz 0/1 => CONTAINER-CREATING
nginx-deployment-7944668857-cwggz 1/1 => RUNNING ip-172-31-41-27

Summary;

Resources:

--

--

--

PythonRubyLinux(❤)

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

If you are a job seeker in the Data Analyst/Data Science realm, you have probably become…

Is there impermanent loss for the strategy adding liquidity pool a few times at different price…

Using .NET 6 Minimal APIs and Darker to build BFFs

The Zen of grinding LeetCode problems: Day 24–Worst day so far

How to optimize PromQL and MetricsQL queries

Why Ruby hashes with default values are dangerous

Intro to Two Pointers Algorithm

Journal 10 — Collisions in Unity, OnTriggerEnter and OnCollisionEnter

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Emir Özbir

Emir Özbir

PythonRubyLinux(❤)

More from Medium

Helm Command Cheat Sheet | By M. Sharma

Kubernetes Deployment Strategies

Environment based Kubernetes manifests with Kustomize

Securing Kubernetes according to the NSA