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

document update paths and rate of hypershift updates #101

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cdoan1
Copy link
Contributor

@cdoan1 cdoan1 commented Nov 8, 2022

Description of the change(s):

  • add doc to cover how hypershift is updated in our release and frequency. External stakeholders wanted to know.

Why do we need this PR:

  • Share info to stakeholders.

Issue reference:

Test API/Unit - Success


@openshift-ci
Copy link

openshift-ci bot commented Nov 8, 2022

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: cdoan1
Once this PR has been reviewed and has the lgtm label, please assign jnpacker for approval by writing /assign @jnpacker in a comment. For more information see the Kubernetes Code Review Process.

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

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 8, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@cdoan1 cdoan1 requested a review from rokej November 8, 2022 17:55
@@ -0,0 +1,35 @@
# Updating Hypershift

The ACM is packaged as an OCM Addon and deploy to the service cluster with fleet manager.
Copy link
Contributor

Choose a reason for hiding this comment

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

The ACM is packaged as an OCM Addon and deployed to the service cluster with fleet manager.


The ACM is packaged as an OCM Addon and deploy to the service cluster with fleet manager.

ACM includes the multicluster engine operator (MCE) which is the component that really packages the hypershift operator and it's related images. ACM provides the policy functionality, and MCE provides all the cluster lifecycle functionality.
Copy link
Contributor

Choose a reason for hiding this comment

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

ACM includes the multicluster engine (MCE) which is the operator that provides the hypershift operator, the cluster lifecycle functionalities. ACM additionally provides the policy and governance functionalities.


2. Create a new ACM OCM Addon version

We build the ACM/MCE every 12 hours. Not all these builds pass bvt/svt. When they do, they can be promoted to OCM Addon. Currently, fleet manager deploys from our `beta` channel into `integration` and `staging`. The promotion is gated by approvals to MR against managed-tenant-bundles and managed-tenant.
Copy link
Contributor

Choose a reason for hiding this comment

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

ACM is built twice daily and when the build passes BVT and SVT, the can be packaged and promoted to OCM Addon beta channel. The promotion is gated by approvals to MR against managed-tenant-bundles and managed-tenant and upon approval, the ACM addon is deployed into the integration and staging environments.


We build the ACM/MCE every 12 hours. Not all these builds pass bvt/svt. When they do, they can be promoted to OCM Addon. Currently, fleet manager deploys from our `beta` channel into `integration` and `staging`. The promotion is gated by approvals to MR against managed-tenant-bundles and managed-tenant.

* Right now, the rate of new ACM OCM Addon is on demand and manually, triggered when there is features that we need to make available to SD. This is basically the standard MT Addon update flow to the two MT repos. We have automation to create the MR for approval, just have to tweak.
Copy link
Contributor

Choose a reason for hiding this comment

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

Currently a new version of ACM OCM Addon is built manually and on demand when there are features or bug fixes for SD. This is the standard MT Addon update flow to the two MT repos. There is automation to create the MR for approval but some tweak is required.


* Right now, the rate of new ACM OCM Addon is on demand and manually, triggered when there is features that we need to make available to SD. This is basically the standard MT Addon update flow to the two MT repos. We have automation to create the MR for approval, just have to tweak.

* The rate that each build of ACM/MCE pulls in a newer version of hypershift is also manual right now. Updates are through a MR to update a manifest of image SHA. We can automate this, just have not had the need yet. https://github.com/stolostron/backplane-pipeline/blob/2.2-integration/manifest.json#L243-L250
Copy link
Contributor

Choose a reason for hiding this comment

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

How do we automate this?

@rokej rokej requested a review from jnpacker November 8, 2022 18:52
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.

2 participants