How do you see all resources and their short names?
BeginnerProductionRapid-Fire Commands
Answer
kubectl api-resources
kubectl api-resources --namespaced=true -o name
Short names: po, svc, deploy, rs, sts, ds, cm, pvc, ns, sa, hpa, netpol.
More on Rapid-Fire Commands
How do you list all Pods across namespaces with node and IP?BeginnerHow do you find why a Pod is Pending or not starting?BeginnerHow do you scale a Deployment or StatefulSet imperatively?BeginnerHow do you get a shell into a running container and run a one-off Pod?BeginnerHow do you generate YAML for a resource without creating it?BeginnerHow do you copy files to and from a Pod?Beginner