apiVersion: apps/v1
kind: Deployment
metadata:
  name: webapp-dep
spec:
  selector:
    matchLabels:
      app: webapp
  template:
    metadata:
      labels:
        app: webapp
    spec:
      containers:
      - image: fpommerening/container-training:webapp-v1
        name: app