Skip to content

Instantly share code, notes, and snippets.

@nichochar
Last active July 5, 2021 06:16
Show Gist options
  • Save nichochar/6bd1a08ea3cf79162d27acdbd7096309 to your computer and use it in GitHub Desktop.
Save nichochar/6bd1a08ea3cf79162d27acdbd7096309 to your computer and use it in GitHub Desktop.

Kubernetes

A k8s cluster has a control pane and multiple "nodes". 3 is the minimum and O(1000) is a lot (2k, 3k are considered very large deployments). Once you have a cluster we can create deployments on it. These happen with deployment configurations. These do more than traditional deployment scripts because they also monitor health and restart unhealthy instances.

See the cluster information for a given k8s cluster.

kubectl cluster-info

To get the list of running nodes in the current (configured how?) cluster:

kubectl get nodes
@nichochar
Copy link
Author

Uploading Screen Shot 2021-07-04 at 11.13.09 PM.png…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment