kubernetes

Kubernetes

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 Bitnami Kubernetes Production Runtime: A great starting point for a production cluster 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 Components CRI: Container Runtimes CNI: Network Plugins CNI Comparison services that are potentially needed with running kuberntes in production.

k8s Cheatsheet

Force a Redeployment If you want to recycle pods in a deployment without deleting the pods (Source) kubectl patch deployment your_deployment \ -p "{\"spec\": {\"template\": {\"metadata\": { \"labels\": { \"redeploy\": \"$(date +%s)\"}}}}}" 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.
Steve Miller BY-NC 4.0 | Rendered by Hugo | Subscribe