Difference between revisions of "Kubectl apply -f ingress.yaml"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  [[error: resource mapping not found]] for name: "your-ingress" namespace: "your-namespace" from "ingress.yaml": no matches for kind "[[Ingress]]" in version "[[networking.k8s.io/v1beta1]]" [[ensure CRDs are installed first]]
 
  [[error: resource mapping not found]] for name: "your-ingress" namespace: "your-namespace" from "ingress.yaml": no matches for kind "[[Ingress]]" in version "[[networking.k8s.io/v1beta1]]" [[ensure CRDs are installed first]]
  
 +
Solution: change [[networking.k8s.io/v1beta1]] for [[networking.k8s.io/v1]] or your K8s version: kubectl api-resources | grep [[networking.k8s.io]]
 +
 
* [[kubectl create ingress --help]]
 
* [[kubectl create ingress --help]]
 
* [[ingresses.networking.k8s.io]]
 
* [[ingresses.networking.k8s.io]]

Revision as of 17:53, 14 December 2023

Advertising: