Kubectl is the command line configuration tool for Kubernetes that communicates with a Kubernetes API server. Using kubectl allows you to create, inspect, update, and delete Kubernetes objects.
Display endpoint information about the master and services in the cluster
kubectl cluster-infoDisplay the Kubernetes version running on the client and server
kubectl versionGet the configuration of the cluster
kubectl config viewList the API resources that are available
kubectl api-resourcesList the API versions that are available
kubectl api-versionsList all the namespace
kubectl get all --all-namespacesShortcode = ds
List one or more daemonsets
kubectl get daemonsetEdit and update the definition of one or more daemonset
kubectl edit daemonset <daemonset_name>Delete a daemonset
kubectl delete daemonset <daemonset_name>Create a new daemonset
kubectl create daemonset <daemonset_name>Manage the rollout of a daemonset
kubectl rollout daemonsetDisplay the detailed state of daemonsets within a namespace
kubectl describe ds <daemonset_name> -n <namespace_name>Shortcode = deploy
List one or more deployments
kubectl get deploymentDisplay the detailed state of one or more deployments
kubectl describe deployment <deployment_name>Edit and update the definition of one or more deployment on the server
kubectl edit deployment <deployment_name>Create one a new deployment
kubectl create deployment <deployment_name>Delete deployments
kubectl delete deployment <deployment_name>See the rollout status of a deployment
kubectl rollout status deployment <deployment_name>