I’ve passed the CKA certification! It’s been a while since I’ve obtained a certification. Reading about the CNCF’s Kubernetes certifications, I was quite excited that it’s a hands-on exam that required interactive with live clusters to demonstrate one’s knowledge. As part of Kubecon last year I purchased the exam at a discount. With the upcoming birth of my child, I wanted to make sure to have the certification done before my life is consumed by diapers and bottles.
Kubernetes - the API for the modern data-center! At least why I find it so exciting.
General Kubernetes: Main Kubernetes page. Docs are fairly good and in depth. Kubernetes Production Check List: Good list of best practices when running kubernetes in production Ambassador K8S Initializer: Opinionated monitoring/Gitops stack generator. 47 Things To Become a Kubernetes Expert - Really good detailed items for k8s foundational work 100 Days of Kubernetes - Source Why you should build on Kubernetes from day one Beginners Guide to Kubernetes Components CRI: Container Runtimes CNI: Network Plugins CNI Comparison services that are potentially needed with running kuberntes in production.
Force a Redeployment If you want to recycle pods in a deployment
kubectl rollout restart deploy/<mydeployment> Get ALL resources Only gets pods/deployments/services
kubectl get all <-n namespace> Great hint from this kubectl issue on leveraging kubectl api-resources to get all resources within a namespace
kubectl api-resources --verbs=list --namespaced -o name \ | xargs -n 1 kubectl get --show-kind --ignore-not-found -l <label>=<value> -n <namespace> Job from Cronjob kubectl create job --from=cronjob/<cronjob> <newjobname> Custom columns Super useful for a LOT of quick information.