Skip to content

Conversation

HadrienPatte
Copy link
Member

Currently the cilium CLI's performance connectivity check (cilium connectivity perf) has a --tolerations flag allowing to set tolerations on the test pods. This feature would also be useful for the connectivity tests (cilium connectivity test). This PR moves this flag from being a perf only flag to being a global connectivity flag so that it can be used with both commands.


Please ensure your pull request adheres to the following guidelines:

  • For first time contributors, read Submitting a pull request
  • All code is covered by unit and/or runtime tests where feasible.
  • All commits contain a well written commit description including a title,
    description and a Fixes: #XXX line if the commit addresses a particular
    GitHub issue.
  • If your commit description contains a Fixes: <commit-id> tag, then
    please add the commit author[s] as reviewer[s] to this issue.
  • All commits are signed off. See the section Developer’s Certificate of Origin
  • Provide a title or release-note blurb suitable for the release notes.
  • Are you a user of Cilium? Please add yourself to the Users doc
  • Thanks for contributing!

Fixes: #issue-number

cli: Enable tolerations flag for all connectivity tests

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jun 16, 2025
@github-actions github-actions bot added the cilium-cli This PR contains changes related with cilium-cli label Jun 16, 2025
@HadrienPatte HadrienPatte marked this pull request as ready for review June 16, 2025 18:55
@HadrienPatte HadrienPatte requested review from a team as code owners June 16, 2025 18:55
Copy link
Member

@christarazi christarazi left a comment

Choose a reason for hiding this comment

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

The change makes sense but can you provide a justification/use case? You mentioned it's useful; could you elaborate?

In clusters where all nodes have NoSchedule taints, the connectivity
tests pods currently stay pending, leading the tests to time out. By
making the `tolerations` flag available to the `cilium connectivity
test` command, we allow setting tolerations to tolerate those taints and
get the tests pods to schedule on nodes.

Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
@HadrienPatte HadrienPatte force-pushed the cilium-cli-tolerations branch from ef8cc8c to 234d3dc Compare June 17, 2025 12:08
@HadrienPatte
Copy link
Member Author

/test

@HadrienPatte HadrienPatte added the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label Jun 18, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jun 18, 2025
@joestringer joestringer added the cilium-cli-exclusive This PR only impacts cilium-cli binary label Jun 20, 2025
Copy link
Contributor

@derailed derailed left a comment

Choose a reason for hiding this comment

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

@HadrienPatte Good catch!

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jun 25, 2025
@tklauser tklauser added this pull request to the merge queue Jun 26, 2025
Merged via the queue into cilium:main with commit de116ec Jun 26, 2025
69 of 70 checks passed
@HadrienPatte HadrienPatte deleted the cilium-cli-tolerations branch June 26, 2025 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cilium-cli This PR contains changes related with cilium-cli cilium-cli-exclusive This PR only impacts cilium-cli binary ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants