apiVersion: apps/v1
kind: Deployment
metadata:
  name: myfirstapp
  labels:
    app: myapp
spec:
  replicas: 2
  selector:
    matchLabels:
      app: myapp
  template:
    metadata:
      labels:
        app: myapp
    spec:
      containers:
      - name: web
        image: console.cloud.google.com/gcr/images/sodium-woodland-326515/GLOBAL/myfirstapp?tag=2.0
        env:
        - name: MESSAGE
          value: "Andrade"
        ports:
        - name: http
          containerPort: 80
