Hi People. http://Kubernetes.io|Kubernetes.io use the following version and
videos lesson use this
What is the version used (valid) in the exam? There are sutil changes on commands between versions
The Ingress lesson mentions this in lesson titled
Article: Ingress for CKA, maybe its different for CKAD but yes, it should be mentioned
@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 :
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
and then select the appropriate doc version from here: https://kubernetes.io/docs/home/
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)