Kubectl common command, welcome to add other common command
Kubectl syntax overview
$ kubectl [command] [TYPE] [NAME] [flags]
1 command subcommand used to operate Kubernetes cluster resource object commands, such as create, delete, describe, get, apply, etc
2 type Type of the resource object. There are the following Pod, ReplicaSet, ReplicationController, Deployment, StatefulSet, DaemonSet, Job, CronJob, HorizontalPodAutoscaling, Node, Namespac E, Service, Ingress, Label, CustomResourceDefinition
3 Name Name of the resource object. The value is case sensitive. If you do not specify a name, the system returns a list of all objects belonging to TYPE. For example, $kubectl get Pods returns a list of all pods (my-pod in this blog).
4 Flags kubectl -o yaml displays the result in YAML format