OCI Oracle Container Engine for Kubernetes (OKE) - Worker Node gets Created with a Taint Preventing Pods from being Deployed Error 'Node taint messageTaints:node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule'
(Doc ID 2937055.1)
Last updated on OCTOBER 04, 2023
Applies to:
Oracle Cloud Infrastructure - Oracle Container Engine for Kubernetes - Version N/A to N/AInformation in this document applies to any platform.
Symptoms
When a worker node is created in OKE via a process such as Terraform, it is created with a taint applied that prevents pods from being deployed to a worker node.
The describe output for the node shows the following error:
Taints and Tolerations
- Node affinity is a property of Pods that attracts them to a set of nodes (either as a preference or a hard requirement). Taints are the opposite, they allow a node to repel a set of pods.
- Tolerations are applied to pods. Tolerations allow the scheduler to schedule pods with matching taints. Tolerations allow scheduling but don't guarantee scheduling: the scheduler also evaluates other parameters as part of its function.
- Taints and tolerations work together to ensure that pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |