I'm trying to upgrade some GKE cluster from 1.21 to 1.22 and I'm getting some warnings about deprecated APIs. Am running Istio 1.12.1 version as well in my cluster
One of them is causing me some concerns:
/apis/extensions/v1beta1/ingresses
I was surprised to see this warning because we are up to date with our deployments. We don't use Ingresses.
Further deep diving, I got the below details:
ā kubectl get --raw /apis/extensions/v1beta1/ingresses | jq
Warning: extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
{
"kind": "IngressList",
"apiVersion": "extensions/v1beta1",
"metadata": {
"resourceVersion": "191638911"
},
"items": []
}
It seems an IngressList is that calls the old API. Tried deleting the same,
ā kubectl delete --raw /apis/extensions/v1beta1/ingresses
Error from server (MethodNotAllowed): the server does not allow this method on the requested resource
Neither able to delete it, nor able to upgrade.
Any suggestions would be really helpful.
[Update]: My GKE cluster got updated to 1.21.11-gke.1900 and after that the warning messages are gone.