Skip to content

Add probe timing overrides to Installation API#4612

Open
caseydavenport wants to merge 1 commit intomasterfrom
casey-probe-overrides
Open

Add probe timing overrides to Installation API#4612
caseydavenport wants to merge 1 commit intomasterfrom
casey-probe-overrides

Conversation

@caseydavenport
Copy link
Copy Markdown
Member

Adds ReadinessProbe and LivenessProbe fields of type ProbeOverride to all container override structs in the Installation API. Users can now tune PeriodSeconds, TimeoutSeconds, FailureThreshold, and InitialDelaySeconds through the standard deployment override mechanism without changing the probe handler (which the operator controls).

Example usage:

spec:
  calicoNodeDaemonSet:
    spec:
      template:
        spec:
          containers:
          - name: calico-node
            readinessProbe:
              periodSeconds: 10
              timeoutSeconds: 5

The ProbeOverride type only exposes timing parameters — the probe handler itself is always set by the operator. The override merge path in components.go applies probe timing alongside resource and port overrides via mergeContainerOverrides().

None

Add ReadinessProbe and LivenessProbe fields of type ProbeOverride to all
container override structs. Users can now tune PeriodSeconds, TimeoutSeconds,
FailureThreshold, and InitialDelaySeconds through the standard deployment
override mechanism without changing the probe handler (which the operator
controls).

The override merge path in components.go is extended to apply probe timing
alongside resource and port overrides via mergeContainerOverrides().

Example usage:

  spec:
    calicoNodeDaemonSet:
      spec:
        template:
          spec:
            containers:
            - name: calico-node
              readinessProbe:
                periodSeconds: 10
                timeoutSeconds: 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants