account-app.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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
  11. name: frontend
  12. spec:
  13. replicas: 10
  14. selector:
  15. matchLabels:
  16. app: frontend
  17. strategy: {}
  18. template:
  19. metadata:
  20. creationTimestamp: null
  21. labels:
  22. app: frontend
  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. status: {}
  32. - apiVersion: v1
  33. kind: Service
  34. metadata:
  35. creationTimestamp: null
  36. labels:
  37. app: frontend
  38. name: frontend
  39. spec:
  40. ports:
  41. - port: 8080
  42. protocol: TCP
  43. targetPort: 8080
  44. selector:
  45. app: frontend
  46. status:
  47. loadBalancer: {}
  48. - apiVersion: route.openshift.io/v1
  49. kind: Route
  50. metadata:
  51. creationTimestamp: null
  52. labels:
  53. app: frontend
  54. name: frontend
  55. spec:
  56. port:
  57. targetPort: 8080
  58. to:
  59. kind: ""
  60. name: frontend
  61. weight: null
  62. status:
  63. ingress: null