K8S Updated Nov 5, 2026

My journey to Certified Kubernetes Administrator (CKA)

3 min read

The Journey Is More Important Than the Destination.

  • CKA is the most touching exam I have passed.
  • The Journey Is More Important Than the Destination.
  • Fastest practice skills are crutial.
  • Have fun.

My tips

Use kubectl Cheat Sheet

Kubectl autocomplete – BASH

source <(kubectl completion bash) # setup autocomplete in bash into the current shell, bash-completion package should be installed first.
echo "source <(kubectl completion bash)" >> ~/.bashrc # add permanently

You can also use a shorthand alias for kubectl that also works with completion:

alias k=kubectl
complete -F __start_kubectl k

Kubectl apply 

kubectl apply -f ./my-manifest.yaml            # create resource(s)

Interacting with running Pods

# Run pod nginx and write its spec into a file called pod.yaml
kubectl run nginx --image=nginx --dry-run=client -o yaml > pod.yaml

#Better usage with $do
export do="–dry-run=client -o yaml"
kubectl run nginx --image=nginx $do > pod.yaml

Explorer note (2026): practise these tips with the vDan Kubernetes tools

Explorer note: the commands in these tips now live in the kubectl CLI Interactive Mindmap, which shows every kubectl command and subcommand of the current reference with usage, examples and options. The manifests you generate with $do are covered topic by topic in the Kubernetes YAML Explorer: one annotated manifest per CKA and CKAD topic, a field reference built from the Kubernetes API, and 50 timed exam-style tasks with hints and solutions. The table maps the tips of this post to both tools.

Tip from this postIn the kubectl mindmapIn the Kubernetes YAML Explorer
kubectl completion bash, alias k=kubectlkubectl completion with the bash, zsh, fish and powershell subcommandsNamespaces and contexts: set the context namespace once instead of typing -n
kubectl apply -fkubectl apply and its subcommands edit-last-applied, set-last-applied, view-last-appliedDeployment, rolling update and rollback; task zero-downtime rolling update
kubectl run ... $do > pod.yamlkubectl run and kubectl create: every generator with its flagsPod with one container; task write a Pod manifest
CKA cluster tasks (not in these tips)drain, cordon, taint, certificateCKA track: node maintenance, taints, tolerations and affinity, static Pods, etcd snapshot and restore
Fastest practice skills are crucialSearch any flag, for example kubectl get with -o jsonpath and --sort-byStudy tasks: 50 timed tasks, switch the Track chip to CKA

Great Vim

vi ~/.vimrc
set ts=2 sw=2 expandtab ruler

Use tmux

A Ctrl+B Cheat Sheet

Session Commands
  • S: List sessions.
Window Commands
  • C: Create a new window.
  • N: Move to the next window.
  • P: Move to the previous window.
Pane Commands
  • %: Create a horizontal split.
  • “: Create a vertical split.
  • X: Close the current pane.
Daniel Micanek

Senior Service Architect, SAP/TDL Platform Services Team at Vivicta | vExpert ⭐⭐⭐⭐⭐⭐⭐ | Broadcom Knight: vSphere Kubernetes Service, VCF Networking (NSX), VCF Automation | Broadcom Software Knight: vSphere | Cisco Champion. Notes from running about 1,000 ESXi hosts on Cisco UCS, VCF 9 and SAP HANA on vSphere.