1apiVersion: apps/v1 2kind: Deployment 3metadata: 4 labels: 5 run: hello 6 name: scale-2 7spec: 8 replicas: 1 9 selector: 10 matchLabels: 11 run: hello 12 strategy: 13 rollingUpdate: 14 maxSurge: 1 15 maxUnavailable: 1 16 type: RollingUpdate 17 template: 18 metadata: 19 labels: 20 run: hello 21 spec: 22 containers: 23 - image: aronchick/hello-node:2.0 24 imagePullPolicy: IfNotPresent 25 name: hello