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
OCPBUGS-13680: Allow changing cluster-name on existing deployments #276
OCPBUGS-13680: Allow changing cluster-name on existing deployments #276
Conversation
It's a common issue that clusters are deployed with the default `--cluster-name=kubernetes` and later on it's discovered that next deployments on the same cloud will have conflicts when trying to manage LBs of the same namespace and name. This commit aims at allowing to change the cluster-name on a running environment and handling all the renames of the LB resources and their tags. Co-authored-by: Michał Dulko <mdulko@redhat.com>
/retest Looks pretty much unrelated. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dulek, pierreprinetti The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@dulek: all tests passed! Full PR test history. Your PR dashboard. Instructions 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/test-infra repository. I understand the commands that are listed here. |
@dulek: This pull request references Jira Issue OCPBUGS-13680, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@dulek: This pull request references Jira Issue OCPBUGS-13680, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (itbrown@redhat.com), skipping review request. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@dulek: Jira Issue OCPBUGS-13680: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged: These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with Jira Issue OCPBUGS-13680 has not been moved to the MODIFIED state. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
[ART PR BUILD NOTIFIER] This PR has been included in build csi-driver-manila-container-v4.16.0-202404101645.p0.g5340eaa.assembly.stream.el9 for distgit csi-driver-manila. |
Fix included in accepted release 4.16.0-0.nightly-2024-04-13-070448 |
We've deployed clusters configuring CCM with the default
--cluster-name=kubernetes
and this created issues when there are multiple clusters running on a single tenant - if namespace and service names were colliding, there's no way CCM was able to figure out which LB is which and both deployments "stole" LBs from each other.This commit aims at allowing to change the cluster-name on a running environment and handling all the renames of the LB resources and their tags. A patch updating CCCMO to configure
--cluster-name=<InfrastructureName>
is prepared as well in cluster-cloud-controller-manager-operator#337.