Deployment

A Deployment provides declarative updates for Pods and ReplicaSets.

Use Case

The following are typical use cases for Deployments:

reference: link

Creating a Deployment

The following is an example of a Deployment. It creates a kubernetes configuration to bring up nginx Pods and Service:

levis:
  name: "nginx"
  deployment:
    containers:
      image: "nginx"
  service:
    enable: true

this example: [link] (https://github.com/kubeopsskills/levis/blob/develop/examples/levis.yaml)