github.com/kubeshop/testkube@v1.17.23/contrib/executor/kubepug/pkg/runner/test-files/manifest-valid/manifest.yaml (about) 1 --- 2 apiVersion: v1 3 kind: Service 4 metadata: 5 name: testkube-dashboard 6 namespace: testkube 7 spec: 8 ports: 9 - name: http 10 port: 8001 11 targetPort: 80 12 selector: 13 app: testkube-dashboard 14 --- 15 apiVersion: v1 16 kind: Deployment 17 metadata: 18 name: testkube-dashboard 19 namespace: testkube 20 spec: 21 replicas: 1 22 selector: 23 matchLabels: 24 app: testkube-dashboard 25 strategy: 26 type: RollingUpdate 27 template: 28 metadata: 29 labels: 30 app: testkube-dashboard 31 spec: 32 containers: 33 - name: petstore-backend 34 image: docker.io/kubeshop/testkube-dashboard:latest 35 ports: 36 - name: http 37 containerPort: 80 38 livenessProbe: 39 httpGet: 40 path: /index.html 41 port: 80 42 initialDelaySeconds: 15 43 timeoutSeconds: 2 44 periodSeconds: 5 45 failureThreshold: 1 46 readinessProbe: 47 httpGet: 48 path: /index.html 49 port: 80 50 initialDelaySeconds: 15 51 periodSeconds: 5 52 failureThreshold: 1