Description of problem: When deploying fluentd stand-alone, the kibana pod gets created even if the replicas are set to 0, and the kibana pod is not created only when the whole visualization section is not set in the Cluster Logging instance. By the way, the elasticsearch pod is not created as long as the nodeCount is set to 0, which is as expected. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Create the following Cluster Logging instance apiVersion: "logging.openshift.io/v1" kind: "ClusterLogging" metadata: name: "instance" namespace: "openshift-logging" spec: collection: logs: fluentd: resources: limits: memory: 736Mi requests: cpu: 100m memory: 736Mi type: fluentd logStore: elasticsearch: nodeCount: 0 type: elasticsearch managementState: Managed visualization: kibana: replicas: 0 type: kibana 2. Check pods in openshift-logging namespaces Actual results: The kibana pod gets created Expected results: The kibana pod doesn't get created Additional info:
The kibana pod is not created only when the whole visualization section is not set in the Cluster Logging instance, the example is shown below. apiVersion: "logging.openshift.io/v1" kind: "ClusterLogging" metadata: name: "instance" namespace: "openshift-logging" spec: collection: logs: fluentd: resources: limits: memory: 736Mi requests: cpu: 100m memory: 736Mi type: fluentd logStore: elasticsearch: nodeCount: 0 type: elasticsearch managementState: Managed
verified on clusterlogging.4.7.0-202012190243.p0. When kibana is 0 in clusterlogging/instance, the kibana is 0 too in kibana CR. spec: managementState: Managed proxy: resources: limits: memory: 256Mi requests: cpu: 100m memory: 256Mi replicas: 0 resources: limits: memory: 736Mi requests: cpu: 100m memory: 736Mi
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Errata Advisory for Openshift Logging 5.0.0), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:0652