e2e.yaml 829 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ---
  2. apiVersion: v1
  3. kind: Service
  4. metadata:
  5. name: e2e
  6. labels:
  7. app: e2e
  8. spec:
  9. clusterIP: None
  10. selector:
  11. app: e2e
  12. ports:
  13. - port: 6080
  14. name: novnc
  15. protocol: TCP
  16. ---
  17. apiVersion: apps/v1
  18. kind: StatefulSet
  19. metadata:
  20. name: e2e
  21. spec:
  22. selector:
  23. matchLabels:
  24. app: e2e
  25. serviceName: e2e
  26. template:
  27. metadata:
  28. labels:
  29. app: e2e
  30. spec:
  31. restartPolicy: Always
  32. terminationGracePeriodSeconds: 0
  33. containers:
  34. - name: e2e-browser
  35. image: e2e
  36. command:
  37. - ./run.sh
  38. readinessProbe:
  39. httpGet:
  40. path: /
  41. port: 6080
  42. periodSeconds: 1
  43. failureThreshold: 300
  44. ports:
  45. - containerPort: 6080
  46. name: novnc
  47. protocol: TCP