Daily Archives: 27.03.2018

Kubectl helpful commands

k8s cheatsheet. Get all pods by label

Exec into the pod

Port forwarding

Getting logs

Get replica limits from configs:

Remove pod from load balancing to debug startup errors:

Scale (up/down) pods:

More commands here: https://kubernetes.io/docs/reference/kubectl/overview/ https://kubernetes.io/docs/reference/kubectl/cheatsheet/