1# @TEMPLATE@ 2--- 3kind: Service 4apiVersion: v1 5metadata: 6 name: httptarget 7spec: 8 selector: 9 pod: httptarget 10 ports: 11 - protocol: TCP 12 port: 80 13 targetPort: 8080 14--- 15apiVersion: v1 16kind: Pod 17metadata: 18 name: httptarget 19 labels: 20 pod: httptarget 21spec: 22 containers: 23 - name: backend 24 image: {{image "../docker/test-http/Dockerfile"}} 25 ports: 26 - containerPort: 80