Direct answer
The API server cannot map the given apiVersion and kind. Use a supported built-in version or install the required CRD before the custom resource.
Where this error appears
kubectl, Helm, and Kubernetes API discovery
Root cause
The API was removed, the apiVersion is misspelled, the CRD is not installed, or discovery data is stale.
Minimal reproduction
apiVersion: extensions/v1beta1
kind: IngressCorrected example
apiVersion: networking.k8s.io/v1
kind: IngressVerify the fix
kubectl api-resources | grep -i ingressThings to check
- Built-in APIs change across Kubernetes releases.
- A CustomResource must be applied only after its CRD is established.
Authoritative reference
Confirm version-specific behavior in Kubernetes API deprecation guide。