Repository navigation
Allow to configure bridge-marker health port - #2833
AKamyshnikova wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @AKamyshnikova. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
43e0354 to
8baf875
Compare
There was a problem hiding this comment.
Code Review
This pull request introduces a configurable health probe port for the linux-bridge marker container, defaulting to port 8081. This is implemented by adding a new BridgeMarkerHealthPort field to the LinuxBridge configuration, updating the CRD schema, and adding validation and rendering logic. The review feedback suggests changing the type of BridgeMarkerHealthPort from string to *int32 to align with standard Kubernetes API conventions, which would simplify the validation logic and CRD schema definition.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Unittests added with Claude Change-Id: I62bf66a5c7be923d848424559ad169c1e3aa788b Signed-off-by: Ann Taraday <akamyshnikova@mirantis.com>
8baf875 to
3efac18
Compare
|
|
@phoracek Hi! Could you take a look at this PR? This is a logical continuation for changes in bridge-marker. |
|
Thanks for the PR, looks good overall |
|
i wonder if there is some port that we can use, which is pretty free, as default |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Unittests added with Claude
Fixes: #2832
What this PR does / why we need it:
Adds a
bridgeMarkerHealthPortfield to thelinuxBridgesection ofNetworkAddonsConfig, allowing users to override the default health probe port (8081) of thebridge-markercontainer. This is needed in environments where the default port conflicts with other workloads or is restricted by network policies. The port value is validated to be a valid integer in range [1, 65535]. When not set, the existing default is preserved for full backwards compatibility.Special notes for your reviewer:
The
bridge-markercontainer already supports the-health-probe-portflag (commit merged 9fe89af95800813048b6d4c3babd1fedd442dec8)— this change only exposes it through the operator API. Both the container port declaration and the CLI argument are templated from the same value to keep them in sync.Release note: