Kubernetes is an orchestration solution to manage clusters of cloud services. Also called micro-services.

Big Picture

A Kubernetes cluster consist of a control plane which holds all the processes that manage, orchestrate and schedule nodes. When you use a cloud provider’s K9s service, you use your kubectl command to connect to their hosted control plane.

Untitled 5.png

Hint: https://github.com/ahmetb/kubectx is a great for switching namespaces and clusters through the terminal.

Components

API-Resources

Kubernetes has a list of resources that can be used when running a cluster. For example, secrets for storing keys.

To list all available resources:

$ kubectl api-resources

You can call get or describe to get more information about each resource for a cluster and namespace.

$ kubectl describe secretes
$ kubectl get configmap

Under the hood, these API resources are all defined as protobuf files.

Pods