kubernetes-client
kubernetes-client copied to clipboard
Getting a 404 when requesting ingresses on gcloud
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?
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).