apiVersion: apps/v1
kind: Deployment
metadata:
  name: test-app
  namespace: playground
  labels:
    app: test
spec:
  replicas: 2
  selector:
    matchLabels:
      app: test-app
  template:
    metadata:
      labels:
        app: test-app
    spec:
      containers:
      - name: test-app
        image: lukejkw/js-test-app
        env:
        - name: AUTHOR
          value: app1
        ports:
        - containerPort: 80