Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow monitor pods to run on tainted nodes #328

Merged
merged 1 commit into from Jun 27, 2023

Conversation

gkurz
Copy link
Member

@gkurz gkurz commented Jun 26, 2023

- Description of the problem which is fixed/What is the use case

No metrics for sandboxed containers running on a tainted node.

- What I did

Allow monitor pods to tolerate all taints.

- How to verify it

  1. Install OSC.
  2. Taint worker nodes.
  3. Create KataConfig.
  4. Monitor pods should be running on all nodes in the kata-oc MCP.

- Description for the changelog

The DaemonSet launched by the controller doesn't put tolerations on the monitor pods. This prevents the monitor pods to run on tainted nodes and break metrics for sandboxed containers.

The monitor pods must run on every node where kata is deployed, no matter any taint the user might have set. Enforce a toleration that matches all possible taints.

Fixes https://issues.redhat.com/browse/KATA-2121

The DaemonSet launched by the controller doesn't put tolerations on the
monitor pods. This prevents the monitor pods to run on tainted nodes and
break metrics for sandboxed containers.

The monitor pods must run on every node where kata is deployed, no
matter any taint the user might have set. Enforce a toleration that
matches all possible taints.

Fixes https://issues.redhat.com/browse/KATA-2121

Signed-off-by: Greg Kurz <groug@kaod.org>
@tbuskey
Copy link
Contributor

tbuskey commented Jun 27, 2023

pre-merge launches kata-monitor on all nodes, included tainted one(s) - QE
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 27, 2023
Copy link
Contributor

@pmores pmores left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gkurz !

@pmores pmores merged commit 7f004df into openshift:devel Jun 27, 2023
@gkurz gkurz deleted the fix-ds-tolerations branch July 5, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants