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

[monitoring v1] Install fails on k8s 1.22 with message Failed to install app cluster-monitoring. Error: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" #35574

Closed
slickwarren opened this issue Nov 17, 2021 · 3 comments
Assignees
Labels
area/monitoring feature/charts-monitoring-v1 kind/bug-qa Issues that have not yet hit a real release. Bugs introduced by a new feature or enhancement release-note Note this issue in the milestone's release notes
Milestone

Comments

@slickwarren
Copy link
Contributor

Rancher Server Setup

  • Rancher version: (96e2438)
  • Installation option (Docker install/Helm Chart): Helm
  • If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): rke1
  • Proxy/Cert Details:self signed

Information about the Cluster

  • Kubernetes version: 1.22.3
  • Cluster Type (Local/Downstream): downstream
  • If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): provider: aws

Describe the bug

monitoring v0.3.1 Install fails on k8s 1.22 with message Failed to install app cluster-monitoring. Error: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

To Reproduce

  • deploy downstream 1.22 cluster
  • enable legacy flag
  • install monitoring v1 (0.3.1, latest version)

Result

  • install never finished. checking the lecacy -> apps page and looking at the errors for each monitoring related resource shows the following errors:
  • for cluster-monitoring, monitoring-operator and cluster-alerting: Failed to install app cluster-monitoring. Error: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

Expected Result

monitoring should be able to install, but grafana will not have any data due to feature-gates flag no longer supported on 1.22

Additional context

  • 1.21 installs are working fine with and without the flag mentioned in expected results, so this seems specific to 1.22
@slickwarren slickwarren added kind/bug-qa Issues that have not yet hit a real release. Bugs introduced by a new feature or enhancement area/monitoring labels Nov 17, 2021
@slickwarren slickwarren added this to the v2.6.3 milestone Nov 17, 2021
@slickwarren slickwarren self-assigned this Nov 17, 2021
@jiaqiluo jiaqiluo added the release-note Note this issue in the milestone's release notes label Nov 18, 2021
@jiaqiluo
Copy link
Member

jiaqiluo commented Nov 18, 2021

We will mark this as a known issue that monitoring v1 does not support k8s 1.22 in the release note

@kinarashah
Copy link
Member

Thanks @jiaqiluo! I have added the reason and release-note on the main issue tracking legacy feature too.

@slickwarren
Copy link
Contributor Author

closing, as monitoring v1 will not be supported on 1.22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/monitoring feature/charts-monitoring-v1 kind/bug-qa Issues that have not yet hit a real release. Bugs introduced by a new feature or enhancement release-note Note this issue in the milestone's release notes
Projects
None yet
Development

No branches or pull requests

4 participants