Skip to content
Discussion options

You must be logged in to vote

Hi, Thanks reaching out,

Taints live on the Node object in the Kubernetes API server, so they can only be removed through the Kubernetes API itself.

Kubelet's --register-with-taints flag is only applied at initial node registration. On subsequent kubelet restarts, taints are not reconciled. Removing the taint from Bottlerocket's settings and restarting kubelet would have no effect on the actual node.

Alternatives

For your use case (bootstrap container fetches pull secret → remove taint on success), there are a few approaches you can try:

  • DaemonSet with a toleration: Deploy a DaemonSet that tolerates pullsecrets-not-ready, checks that the pull secret is available, and then removes the ta…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@makarov-roman
Comment options

Answer selected by makarov-roman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants