Skip to content

HOSTEDCP-1767: feat: install prerequisite CRDs for AROHCP - #4646

Closed
devguyio wants to merge 1 commit into
openshift:mainfrom
devguyio:hostedcp-1767-aro-missing-crds-pr2
Closed

devguyio wants to merge 1 commit into
openshift:mainfrom
devguyio:hostedcp-1767-aro-missing-crds-pr2

Conversation

@devguyio

@devguyio devguyio commented Aug 30, 2024 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Note

This PR is stacked on top of #4643 . It adds a single commit on top it and shouldn't be merged until #4643 is merged.

When installing the HO operator on an AKS cluster, there are a few CRDs the following CRDs need to be installed first:

  • podmonitors.monitoring.coreos.com
  • prometheusrules.monitoring.coreos.com
  • servicemonitors.monitoring.coreos.com
  • routes.route.openshift.io

This PR adds the capability to the install command of installing those CRDs when the --managed-service is set to ARO-HCP.

Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes HOSTEDCP-1767

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

@openshift-ci-robot

openshift-ci-robot commented Aug 30, 2024 •

Copy link
Copy Markdown

@devguyio: This pull request references HOSTEDCP-1767 which is a valid jira issue.

Details

In response to this:

What this PR does / why we need it:

[!NOTE]
This PR is stacked on top of #4643 . It adds a single commit on top it and shouldn't be merged until #4643 is merged.

When installing the HO operator on an AKS cluster, there are a few CRDs the following CRDs need to be installed first:

  • podmonitors.monitoring.coreos.com
  • prometheusrules.monitoring.coreos.com
  • servicemonitors.monitoring.coreos.com
  • routes.route.openshift.io

This PR adds the capability to the install command of installing those CRDs when the --managed-service is set to ARO-HCP.

Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes HOSTEDCP-1767

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

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.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 30, 2024
@openshift-ci-robot

openshift-ci-robot commented Aug 30, 2024 •

Copy link
Copy Markdown

@devguyio: This pull request references HOSTEDCP-1767 which is a valid jira issue.

Details

In response to this:

What this PR does / why we need it:

[!NOTE]
This PR is stacked on top of #4643 . It adds a single commit on top it and shouldn't be merged until #4643 is merged.

When installing the HO operator on an AKS cluster, there are a few CRDs the following CRDs need to be installed first:

  • podmonitors.monitoring.coreos.com
  • prometheusrules.monitoring.coreos.com
  • servicemonitors.monitoring.coreos.com
  • routes.route.openshift.io

This PR adds the capability to the install command of installing those CRDs when the --managed-service is set to ARO-HCP.

Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes HOSTEDCP-1767

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

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.

@openshift-ci
openshift-ci Bot requested review from hasueki and sjenning August 30, 2024 13:12
@openshift-ci openshift-ci Bot added the area/cli Indicates the PR includes changes for CLI label Aug 30, 2024
@openshift-ci

openshift-ci Bot commented Aug 30, 2024

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: devguyio
Once this PR has been reviewed and has the lgtm label, please assign jparrill for approval. For more information see the Kubernetes Code Review Process.

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

Details 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

@devguyio

Copy link
Copy Markdown
Contributor Author

/hold waiting for #4643 to be merged first

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 30, 2024
@netlify

netlify Bot commented Aug 30, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for hypershift-docs ready!

Name Link
🔨 Latest commit 7ab677b
🔍 Latest deploy log https://app.netlify.com/sites/hypershift-docs/deploys/66e80808cfa2a60008a9040b
😎 Deploy Preview https://deploy-preview-4646--hypershift-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

crclient "sigs.k8s.io/controller-runtime/pkg/client"
)

//go:embed prereqs-azure/*

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Where those CRDs come from? I mean, for self-maintenance would we need to add a command to auto-generation/update of those CRDs in the Makefile, like we do with CAPI ones?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That's a good idea! I wasn't aware we do that. I'll check it out.

@devguyio

devguyio commented Sep 2, 2024

Copy link
Copy Markdown
Contributor Author

/retest-required

@sjenning
sjenning requested review from bryan-cox and removed request for sjenning September 10, 2024 03:14
@bryan-cox

Copy link
Copy Markdown
Member

We make need to hold/rethink this PR a bit in light of RFE-6258. I don't know that we will need the Prometheus CRs now. We will still need the Routes CR though.

Hypershift Operator needs some CRDs installed
specifically on AKS clusters.

Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
@devguyio
devguyio force-pushed the hostedcp-1767-aro-missing-crds-pr2 branch from 0c7cdf3 to 7ab677b Compare September 16, 2024 10:27
@openshift-ci

openshift-ci Bot commented Dec 12, 2024

Copy link
Copy Markdown
Contributor

@devguyio: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws 7ab677b link true /test e2e-aws
ci/prow/e2e-aks 7ab677b link true /test e2e-aks

Full PR test history. Your PR dashboard.

Details

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-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 12, 2024
@openshift-merge-robot

Copy link
Copy Markdown
Contributor

PR needs rebase.

Details

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-sigs/prow repository.

@devguyio

devguyio commented Dec 19, 2024 •

Copy link
Copy Markdown
Contributor Author

No longer needed. Can be revisited later if necessary.
/close

@openshift-ci openshift-ci Bot closed this Dec 19, 2024
@openshift-ci

openshift-ci Bot commented Dec 19, 2024

Copy link
Copy Markdown
Contributor

@devguyio: Closed this PR.

Details

In response to this:

No longer needed
/close

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-sigs/prow repository.

@bryan-cox

Copy link
Copy Markdown
Member

Ah I thought we still needed this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli Indicates the PR includes changes for CLI do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants