Skip to content

Comments

[release-0.49] Decouple readiness from controller-runtime startup#571

Merged
kubevirt-bot merged 2 commits intok8snetworkplumbingwg:release-0.49from
kubevirt-bot:cherry-pick-570-to-release-0.49
Nov 4, 2025
Merged

[release-0.49] Decouple readiness from controller-runtime startup#571
kubevirt-bot merged 2 commits intok8snetworkplumbingwg:release-0.49from
kubevirt-bot:cherry-pick-570-to-release-0.49

Conversation

@kubevirt-bot
Copy link
Collaborator

This is an automated cherry-pick of #570

/assign RamLavi

Decouple readiness and liveness probes. Now readiness requires the pool to be available, while liveliness checks that the process is not stuck by checking webhook TLS connectivity.

… ready

Currently both liveness and readiness probes are bound by the
poolManager being ready. This makes no sense, as the pod is responsive
even though the pool is being constructed.

- Decouple controller-runtime Manager startup from poolManager startup
to prevent liveness failures during pool initialization unless there is
a real connection issue.
- Add readiness probe wait mechanism to explicitly wait for the pool to
be ready.

Signed-off-by: Ram Lavi <ralavi@redhat.com>
Currently the kubemacpool service is set to answer webhook calls even if
the manager is not ready.
This is not the desired behavior - webhook should not answer VMs until
pool is ready.

Removing publishNotReadyAddresses from the webhook service.

Signed-off-by: Ram Lavi <ralavi@redhat.com>
@RamLavi
Copy link
Member

RamLavi commented Nov 4, 2025

/lgtm
/approve

@kubevirt-bot
Copy link
Collaborator Author

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: RamLavi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubevirt-bot kubevirt-bot merged commit 77b1d23 into k8snetworkplumbingwg:release-0.49 Nov 4, 2025
5 checks passed
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