github.com/projectcontour/contour@v1.28.2/site/content/examples/authdemo/04-sampleapp.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: ingress-conformance-echo 5 namespace: projectcontour-auth 6 spec: 7 replicas: 1 8 selector: 9 matchLabels: 10 app.kubernetes.io/name: ingress-conformance-echo 11 template: 12 metadata: 13 labels: 14 app.kubernetes.io/name: ingress-conformance-echo 15 spec: 16 containers: 17 - name: conformance-echo 18 image: agervais/ingress-conformance-echo:latest 19 ports: 20 - name: http-api 21 containerPort: 3000 22 readinessProbe: 23 httpGet: 24 path: /health 25 port: 3000 26 27 --- 28 29 apiVersion: v1 30 kind: Service 31 metadata: 32 name: ingress-conformance-echo 33 namespace: projectcontour-auth 34 spec: 35 ports: 36 - name: http 37 port: 80 38 targetPort: http-api 39 selector: 40 app.kubernetes.io/name: ingress-conformance-echo