Working With Kubernetes Deployment
A Deployment provides declarative updates for Pods and ReplicaSets.
You describe a desired state in a Deployment, and the Deployment Controller changes the actual state to the desired state at a controlled rate. You can define Deployments to create new ReplicaSets, or to remove existing Deployments and adopt all their resources with new Deployments.
- Lets deploy some pod with deployment using yml file, please refer this link
kubectl create -f deployment-definition.yml
- Get list of replication controller
kubectl get deployments
- Get list of Pods
kuberctl get pods