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

mon: Allow overriding the mon endpoint with annotation (backport #13500) #14310

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jun 6, 2024

For an advanced network configuration, the mon endpoints expected for the ceph public network may be different from the public IP address that is set on the K8s node. When host networking is enabled in rook, the IP address of the node was only allowed previously. Now, the IP address used for a mon when scheduled on a node can be determined by setting an annotation on each node where mons can run:
network.rook.io/mon-ip:
This annotation must be set before the mons are created. Mon endpoints cannot be changed after they are already running.

Which issue is resolved by this Pull Request:
Resolves #12363

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Reviewed the developer guide on Submitting a Pull Request
  • Pending release notes updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

This is an automatic backport of pull request #13500 done by [Mergify](https://mergify.com).

For an advanced network configuration, the mon endpoints
expected for the ceph public network may be different from
the public IP address that is set on the K8s node. When
host networking is enabled in rook, the IP address of the
node was only allowed previously. Now, the IP address
used for a mon when scheduled on a node can be determined
by setting an annotation on each node where mons can run:
    network.rook.io/mon-ip: <ip-address>
This annotation must be set before the mons are created.
Mon endpoints cannot be changed after they are already
running.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit e90ed3b)
@travisn travisn merged commit 4602820 into release-1.14 Jun 6, 2024
52 of 53 checks passed
@mergify mergify bot deleted the mergify/bp/release-1.14/pr-13500 branch June 6, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant