apiVersion: apps/v1
kind: Deployment
metadata:
  name: testdeploy
spec:
  selector:
    matchLabels:
      app: testdeploy
  template:
    metadata:
      labels:
        app: testdeploy
    spec:
      containers:
      - name: testcontainer
        image: testimage
