Skip to content

Mark nodes as "NotReady" until critical pods from daemonsets are Ready #75890

@lbernail

Description

@lbernail

What would you like to be added:
An extension to node conditions that would mark them NotReady until critical pods from daemonsets are running (maybe a CriticalPodsReady or DaemonsetsReady similar to the NetworkReady condition).

Why is this needed:
When using cluster-autoscaler, application pods are immediately scheduled when a node starts and sometimes they start before local pods from daemonsets are Ready, which can be an issue. A few examples:

  • kube-proxy, which prevents application from connecting to their dependencies (DNS is the most common problem)
  • local dns pod: we deploy a local dns cache as a daemonset and configure pods to use it as a resolver, so resolution fail until this pod is up
  • monitoring agent: some applications send metrics very early when they start and require the monitoring agent to be ready
  • kube2iam: required by some applications to get aws credentials

/sig scheduling
@kubernetes/sig-scheduling-feature-requests

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.kind/supportCategorizes issue or PR as a support question.sig/nodeCategorizes an issue or PR as relevant to SIG Node.sig/schedulingCategorizes an issue or PR as relevant to SIG Scheduling.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions