Those are the advises that worked for me:
Experiment and learn Kubernetes basics with real-world usage. Try to run your self-hosted services in it for instance. Something basics requiring storage and an external URL are enough. It will give you an overview of the Kubernetes documentation and you'll need to learn about services, ingress and volumes (PV, PVC).
Learn by doing first. Then dig more deeply into the theory and more complex use-cases.
The easiest way is to take the CKA preparation course (around 11 euros), it is super complete and you have practice labs, and exam preparation questions (the number 2 and 3 are enough.) If you understand every step, the exam would be easy
-n namespace-name
instead of --namespace namespace-name
-A
instead of all-namespaces
, for instance: kubectl get pods -A
kubectl get all
alias k=kubectl
. The only bash alias I used, and it is enough.!$
allows you to use the last argument of the previous bash command.cat > my file
let you write super quickly in a file. Then modify it with vi.