apiVersion: apps/v1
kind: Deployment
metadata:
  name: hello-v2
spec:
  replicas: 3
  selector:
    matchLabels:
      app: hello
  template:
    metadata:
      labels:
        app: hello
        version: v2
    spec:
      containers:
      - name: hello
        image: sipadocker/http-echo
        env:
        - name: TEXT
          value: hello, this is v2
        - name: NEXT
          value: "world-2:8080"
        ports:
        - name: http
          containerPort: 8080
