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

Operator not being installed on Openshift due to K8s version incompatibility #441

Closed
portelagabriel opened this issue Jan 2, 2025 · 8 comments

Comments

@portelagabriel
Copy link

portelagabriel commented Jan 2, 2025

Describe the bug
We are trying to install the NIC 4.0.0 on a Openshift cluster with the 1.25 K8s version, however the NIC is not being installed due to a error message saying that the minKubeVersion is 1.26.
The installation gets stuck on a pending state

To Reproduce
Steps to reproduce the behavior:

  1. Go to Openshift Operator Console that is running on kubernetes 1.25
  2. Install the Nginx Operator in the nginx-ingress namespace
  3. See error

Expected behavior
According to the compatibility matrix found here > https://docs.nginx.com/nginx-ingress-controller/technical-specifications/ < the version we trying to install should work on K8s 1.25

Your environment

  • Version of the NGINX Ingress Operator - 3.0.0
  • Version of the Ingress Controller - 4.0.0
  • Version of Kubernetes - 1.25
  • Kubernetes platform (e.g. Mini-kube or GCP) - Openshift
  • Using NGINX or NGINX Plus - Nginx

Additional context
Bellow the message derived from the Operator yaml:

  requirementStatus:
    - group: operators.coreos.com
      kind: ClusterServiceVersion
      message: >-
        CSV version requirement not met: minKubeVersion (1.26.0) > server
        version (1.25.16+1eb8682)
      name: nginx-ingress-operator.v3.0.0
      status: PresentNotSatisfied
      version: v1alpha1
@vepatel
Copy link
Contributor

vepatel commented Jan 2, 2025

Hi @portelagabriel! just out of curiosity, is there a strict requirement for k8s 1.25? the version matrix on docs is for NIC not operator and because of https://github.com/nginxinc/nginx-ingress-helm-operator/blob/v3.0.0/config/manifests/bases/nginx-ingress-operator.clusterserviceversion.yaml#L291 operator can't be installed on 1.25.x

@portelagabriel
Copy link
Author

Hello @vepatel, 1.25 is our current version but we are planning to upgrade. We just wanted to install the Operator before upgrading because we already have one installed on version 1.2.0 however we are not sure that when upgrading to version 1.26 this Operator on version 1.2.0 would still work.
Do you have any link that we can check for matrix of the Operator?
Thank you!

@vepatel
Copy link
Contributor

vepatel commented Jan 3, 2025

@portelagabriel can you please specify which package you're referring to with 1.2.0? and we do not maintain an operator to k8s compatibility matrix unfortunately

@portelagabriel
Copy link
Author

@vepatel Version 1.2.0 of the Nginx Ingress Operator

@vepatel
Copy link
Contributor

vepatel commented Jan 3, 2025

@portelagabriel at the time of operator 1.2.x (NIC 2.4.x) release, k8s 1.26 wasn't released. I'd recommend spinning up a test env before upgrading.

Mind you going from 1.2.x to 1.3.x is a major version bump for NIC i.e. 2.4.x to 3.0.x

@portelagabriel
Copy link
Author

@vepatel thanks for the reply! We wanted to do simpler version bump however in the Openshift Operator Hub we can not perform a upgrade of the current 1.2.0 version and if we want to use the Operator Hub to install a different version there is only the version 3.0.0 of the Operator Available to be installed.

@vepatel
Copy link
Contributor

vepatel commented Jan 3, 2025

yep, can only install latest tag from op hub. https://github.com/nginxinc/nginx-ingress-helm-operator/pkgs/container/nginx-ingress-operator has all previous releases if you're intrested.

@portelagabriel
Copy link
Author

thanks @vepatel !

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

No branches or pull requests

2 participants