Hi People. <http://Kubernetes.io|Kubernetes.io> use the following version and ` . . .

Kennedy Sanchez:
Hi People. http://Kubernetes.io|Kubernetes.io use the following version and

apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>

videos lesson use this
http://networking.k8s.io/v1beta1|networking.k8s.io/v1beta1

What is the version used (valid) in the exam? There are sutil changes on commands between versions :confused:

Kennedy Sanchez:
Ok. The same platform give me the following warning. But it’s still used by the lesson. :disappointed:

Warning: http://networking.k8s.io/v1beta1|networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use http://networking.k8s.io/v1|networking.k8s.io/v1 Ingress
http://ingress.networking.k8s.io/ingress-vh-routing|ingress.networking.k8s.io/ingress-vh-routing created

R Banerjee:
The Ingress lesson mentions this in lesson titled Article: Ingress for CKA, maybe its different for CKAD but yes, it should be mentioned

Naveen Singh:
@Kennedy Sanchez I believe exam was recorder in an older version of kubernetes.

You can list the current api version available in your current kubernetes env by :
kubectl api-resources

Exam will most recent stable version (1.21 as of now).

~: kubectl api-resources | grep -i "ingress"
ingresses                          ing                  extensions/v1beta1                           true         Ingress
ingressclasses                                          <http://networking.k8s.io/v1|networking.k8s.io/v1>                         false        IngressClass
ingresses                          ing                  <http://networking.k8s.io/v1|networking.k8s.io/v1>                         true         Ingress 

unnivkn:
find below image here: https://docs.linuxfoundation.org/tc-docs/certification/faq-cka-ckad-cks

unnivkn:
and then select the appropriate doc version from here: https://kubernetes.io/docs/home/

unnivkn:
Another method is to create objects (pod/ingress etc) using imperative commands & see its kind: in the yaml (eg: k get po mypod -o yaml)

unnivkn:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-ingress-em-