{
  "apiVersion": "apps/v1",
  "kind": "Deployment",
  "metadata": {
    "labels": {
      "app.kubernetes.io/instance": "guestbook"
    },
    "name": "guestbook-ui",
    "namespace": "default"
  },
  "spec": {
    "replicas": 1,
    "revisionHistoryLimit": 3,
    "selector": {
      "matchLabels": {
        "app": "guestbook-ui"
      }
    },
    "strategy": {
      "type": "RollingUpdate"
    },
    "template": {
      "metadata": {
        "labels": {
          "app": "guestbook-ui"
        }
      },
      "spec": {
        "containers": [
          {
            "image": "gcr.io/heptio-images/ks-guestbook-demo:0.2",
            "name": "guestbook-ui",
            "ports": [
              {
                "containerPort": 80
              }
            ],
            "env": [
              {
                "name": "VAR1",
                "value": "something"
              }
            ]
          }
        ]
      }
    }
  }
}