apiVersion: apps/v1
kind: Deployment
metadata:
  name: goapp-deployment
  labels:
    app: goapp
spec:
  replicas: 3
  selector:
    matchLabels:
      app: goapp
  template:
    metadata:
      labels:
        app: goapp
    spec:
      containers:
      - name: goapp-container
        image: goapp
        env:
        - name: DOMAIN
          value: "cluster"
        imagePullPolicy: IfNotPresent
        ports:
        - containerPort: 6060
