Interview Prep/Kubernetes/Control plane, RBAC, webhooks and autoscaling

`kubectl apply` fails with `error: resource mapping not found for name: "web" namespace: "" from "ingress.yaml": no matches for kind "Ingress" in version "extensions/v1beta1" ensure CRDs are installed first`.

BeginnerTroubleshootingControl plane, RBAC, webhooks and autoscaling
Answer

Likely causes → The manifest uses an API version that was removed (Ingress extensions/v1beta1 was removed in 1.22) or a CRD that is not installed in this cluster.

Diagnose →

kubectl api-resources | grep -i ingress
kubectl api-versions | grep networking
kubectl explain ingress --api-version=networking.k8s.io/v1 | head

Fix → Migrate the manifest to networking.k8s.io/v1 (note the new pathType and backend.service structure). For CRDs, install the operator/CRDs first. kubectl convert (plugin) helps with migrations.

Prevent → Run pluto or kubent in CI against manifests and Helm charts before every upgrade.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Control plane, RBAC, webhooks and autoscaling