godaddy / kubernetes-client

Simplified Kubernetes API client for Node.js.
MIT License
960 stars 192 forks source link

Getting a 404 when requesting ingresses on gcloud #758

Open SamDecrock opened 1 year ago

SamDecrock commented 1 year ago

Since a few weeks, the library is returning a 404 error when requesting old style ingress rules on gcloud:

await client.apis.extensions.v1beta1.ingresses.get()

It does not happen on our bare metal clusters or on Azure.

Any ideas what's going on?

SamDecrock commented 1 year ago

Update:

Indeed, a GET of https://x.x.x.x/apis/extensions/v1beta1/ingresses responds with

404 page not found

However, a GET of https://x.x.x.x/apis/networking.k8s.io/v1/namespaces/<namespace>/ingresses does responds with all ingress rules (even though we're still using the old ingress rules).