frontend-test.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. apiVersion: v1
  2. kind: List
  3. metadata: {}
  4. items:
  5. - apiVersion: apps/v1
  6. kind: Deployment
  7. metadata:
  8. creationTimestamp: null
  9. labels:
  10. app: frontend-test
  11. name: frontend-test
  12. spec:
  13. replicas: 10
  14. selector:
  15. matchLabels:
  16. app: frontend-test
  17. strategy: {}
  18. template:
  19. metadata:
  20. creationTimestamp: null
  21. labels:
  22. app: frontend-test
  23. spec:
  24. containers:
  25. - image: registry.ocp4.example.com:8443/redhattraining/hello-world-nginx:v1.0
  26. name: hello-world-nginx
  27. resources:
  28. requests:
  29. cpu: 50m
  30. memory: 20Mi
  31. limits:
  32. cpu: 100m
  33. memory: 50Mi
  34. status: {}
  35. - apiVersion: v1
  36. kind: Service
  37. metadata:
  38. creationTimestamp: null
  39. labels:
  40. app: frontend-test
  41. name: frontend-test
  42. spec:
  43. ports:
  44. - port: 8080
  45. protocol: TCP
  46. targetPort: 8080
  47. selector:
  48. app: frontend-test
  49. status:
  50. loadBalancer: {}
  51. - apiVersion: route.openshift.io/v1
  52. kind: Route
  53. metadata:
  54. creationTimestamp: null
  55. labels:
  56. app: frontend-test
  57. name: frontend-test
  58. spec:
  59. host: frontend-test-monitor.apps.ocp4.example.com
  60. port:
  61. targetPort: 8080
  62. to:
  63. kind: ""
  64. name: frontend-test
  65. weight: null
  66. status:
  67. ingress: null