Working With Kubernetes Deployment

0 59

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.

  1. Lets deploy some pod with deployment using yml file, please refer this link
    kubectl create -f deployment-definition.yml
  2. Get list of replication controller
    kubectl get deployments
  3. Get list of Pods
    kuberctl get pods

Leave A Reply

Your email address will not be published.