Skip to content

Instantly share code, notes, and snippets.

@chiefy
Last active March 23, 2021 15:33
Show Gist options
  • Save chiefy/c97c49813abbe9fddc20e6fd251287f1 to your computer and use it in GitHub Desktop.
Save chiefy/c97c49813abbe9fddc20e6fd251287f1 to your computer and use it in GitHub Desktop.
DevOps Cribs

DevOps Crib

Networking

AWS

VPC

EKS

K8s

Creating Clusters

API

Debugging Control Plane / Worker issues

  • Use ps aux | grep <service> to list currently applied options for kubelet/apiserver etc.
  • Use systemctl status <service> for non-k8s-managed services

Resource Limits

Services

Taints & Toleration

Node Affinity

Networking

Secrets

TLS

kubectl snips

Run an interactive busybox debug pod

kubectl run -i --tty --rm debug --image=busybox --restart=Never -- sh

Run mysql test

kubectl run -i --tty --rm debug --image=mysql --restart=Never -- mysql -h mysql -proot123 registry -e 'show tables;'

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