nebari icon indicating copy to clipboard operation
nebari copied to clipboard

[MAINT] Validate Kubernetes APIs calls

Open viniciusdc opened this issue 3 years ago β€’ 0 comments

We've been recently upgrading some outdated Kubernetes API calls from the current providers and resources, but I noticed the following message in all of our current deployments on GCP:

This cluster will not be scheduled for an automatic upgrade to v1.22, the next minor version, because your API clients have used deprecated APIs in the last 30 days that are no longer available in this version. Once the cluster reaches end of life on v1.21, it would then be automatically upgraded to v1.22, but upgrading the cluster before it’s migrated to updated APIs could cause it to break. Learn more

The respectively deprecated APIs seems to be targeting this resource:

/apis/extensions/v1beta1/ingresses

We need to look over the main code and:

  • Inspect the current provider's pins to check for an outdated version that is still using that v1beta1 API
  • Inspect helm charts that might be using an outdated version that uses the same API

Note: the current GCP deployments are still using the v0.4.1 version, which does not include some of the recent helm chart updates, which means that we might have already fixed this for v0.4.2, though a good inspection is needed to verify.

viniciusdc avatar Jun 10 '22 14:06 viniciusdc