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

Commits on Jun 6, 2024

  1. mon: allow overriding the mon endpoint with annotation

    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 authored and mergify[bot] committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    dec8fed View commit details
    Browse the repository at this point in the history