Configuring CPU and memory limits for cluster logging components

      1. apiVersion: "logging.openshift.io/v1"
      2. kind: "ClusterLogging"
      3. metadata:
      4. name: "instance"
      5. ....
      6. spec:
      7. managementState: "Managed"
      8. logStore:
      9. type: "elasticsearch"
      10. elasticsearch:
      11. nodeCount: 2
      12. resources: (1)
      13. limits:
      14. memory: 2Gi
      15. requests:
      16. cpu: 200m
      17. storage:
      18. storageClassName: "gp2"
      19. size: "200G"
      20. redundancyPolicy: "SingleRedundancy"
      21. visualization:
      22. type: "kibana"
      23. kibana:
      24. resources: (2)
      25. limits:
      26. memory: 1Gi
      27. requests:
      28. cpu: 500m
      29. memory: 1Gi
      30. proxy:
      31. resources: (2)
      32. limits:
      33. memory: 100Mi
      34. requests:
      35. cpu: 100m
      36. curation:
      37. type: "curator"
      38. curator:
      39. resources: (3)
      40. limits:
      41. memory: 200Mi
      42. requests:
      43. cpu: 200m
      44. memory: 200Mi
      45. schedule: "*/10 * * * *"
      46. collection:
      47. logs:
      48. type: "fluentd"
      49. fluentd:
      50. resources: (4)
      51. limits:
      52. memory: 736Mi
      53. requests:
      54. memory: 736Mi