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

WIP: IBM Cloud ROKS RDR changes #10977

Open
wants to merge 13 commits into
base: release-4.16
Choose a base branch
from

Conversation

petr-balogh
Copy link
Member

No description provided.

@petr-balogh petr-balogh requested a review from a team as a code owner December 4, 2024 08:38
@pull-request-size pull-request-size bot added the size/M PR that changes 30-99 lines label Dec 4, 2024
Copy link

openshift-ci bot commented Dec 4, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: petr-balogh

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pull-request-size pull-request-size bot added size/L PR that changes 100-499 lines and removed size/M PR that changes 30-99 lines labels Dec 4, 2024
@petr-balogh petr-balogh force-pushed the change_ibm_cloud_zone_key branch from 77b7b59 to aa4ce23 Compare December 4, 2024 16:03
@petr-balogh petr-balogh requested a review from a team as a code owner December 7, 2024 22:33
@petr-balogh petr-balogh force-pushed the change_ibm_cloud_zone_key branch from 0f28a36 to f16a2a4 Compare December 7, 2024 23:48
@petr-balogh petr-balogh changed the title Change ibm cloud zone key IBM Cloud ROKS RDR changes Dec 9, 2024
@@ -11,6 +11,6 @@ DEPLOYMENT:
ENV_DATA:
# TODO: replace with 4.16 once template is available
vm_template: "rhcos-416.94.202403071059-0-vmware.x86_64"
acm_hub_channel: release-2.11
Copy link
Member Author

Choose a reason for hiding this comment

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

This we need to probably change somewhere else or get ACK with @keesturam or @sidhant-agrawal that we can do change this version globally for 4.16 to ACM 2.12.

@petr-balogh petr-balogh changed the title IBM Cloud ROKS RDR changes WIP: IBM Cloud ROKS RDR changes Dec 9, 2024
@functools.wraps(func)
def wrapper(*args, **kwargs):
for cluster_index in range(self.nclusters):
self.switch_ctx(cluster_index)
Copy link
Member Author

Choose a reason for hiding this comment

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

We will need to use context manager which is switching back to original context or store original context and once function will finish, switch back to original context.

In RDR deployment, the zone key in ENV_DATA is used for different
purpose, so changing it to worker_availability_zone here.

Signed-off-by: Petr Balogh <[email protected]>
run_for_all_clusters allow to run existing function on all cluster
configs. It's usefull when you need to globally update some config value
for all clusters.

Signed-off-by: Petr Balogh <[email protected]>
And not disable NAT-T for ROKS cluster

Signed-off-by: Petr Balogh <[email protected]>
@petr-balogh petr-balogh force-pushed the change_ibm_cloud_zone_key branch from 7e193bf to 6584043 Compare December 13, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress size/L PR that changes 100-499 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant