Kubernetes Cheat Sheet Image

Kubernetes Cheat Sheet

Daniel Oh


Kubernetes is an open-source platform for automating deployment, scaling, and operations of application containers across clusters of hosts that provides container-centric infrastructure.

Learn how to:

  • Install Minikube
  • Run locally on Minikube 
  • Install Kubectl
  • Use the Kubectl CLI

Also, see why you’ll need more than Kubernetes for DevOps. Created by Red Hat’s own Daniel Oh for your ease.


To administer and interact with any given Kubernetes cluster (local or remote), you must set up your kubeconfig file. By default, kubectl con guration lives at ~/.kube/config

You can also create a cluster in your local machine via Minikube (See section 3: Running Locally via Minikube)

current-context: federal-context
apiVersion: v1
- cluster:
    api-version: v1
    server: http://cow.org:8080
  name: cow-cluster
- cluster:
    certificate-authority: path/to/my/cafile
    server: https://horse.org:4443
  name: horse-cluster
- context:
    cluster: horse-cluster
    namespace: chisel-ns
    user: green-user
kind: Config
  colors: true
- name: green-user
    client-certificate: path/to/my/client/cert
    client-key: path/to/my/client/key

Related Cheat sheets