kind: Service apiVersion: v1 metadata: name: hello-world spec: selector: app: hello-world type: NodePort ports: - protocol: TCP port: 3333 targetPort: 3333 nodePort: 32222 --- apiVersion: apps/v1 kind: Deployment metadata: name: hello-world labels: app: hello-world spec: replicas: 2 selector: matchLabels: app: hello-world strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 0 type: RollingUpdate template: metadata: labels: app: hello-world spec: containers: - name: hello-world image: hello-world:hostname env: - name: NAME value: "Response A" - name: TIMEOUT value: "15000" - name: HANDLE_SIGNALS value: "1" ports: - containerPort: 3333 terminationGracePeriodSeconds: 16