apiVersion: apps/v1
kind: Deployment
metadata:
  name: helloworld-v2
  namespace: helloworld
spec:
  replicas: 1
  selector:
    matchLabels:
      app: helloworld
      version: v2
  template:
    metadata:
      labels:
        app: helloworld
        version: v2
    spec:
      containers:
        - name: hello
          image: 'gcr.io/google-samples/hello-app:2.0'
          env:
            - name: 'PORT'
              value: '8080'
