kind: "Deployment" apiVersion: "apps/v1" metadata: name: "ghost" labels: nirmata.io/deployment.name: "ghost" nirmata.io/application.name: "ghost" nirmata.io/component: "ghost" cli: test spec: replicas: 1 revisionHistoryLimit: 5 selector: matchLabels: nirmata.io/application.name: "ghost" nirmata.io/component: "ghost" strategy: type: "RollingUpdate" rollingUpdate: maxSurge: 1 maxUnavailable: 0 template: metadata: labels: nirmata.io/deployment.name: "ghost" nirmata.io/application.name: "ghost" nirmata.io/component: "ghost" spec: containers: - name: "ghost" image: "nginx:latest" imagePullPolicy: Always ports: - containerPort: 8080 protocol: "TCP"