Uploaded image for project: 'Observability Documentation'
  1. Observability Documentation
  2. OBSDOCS-1522

Indentation fault in Configuring CPU and memory limits for logging components in Documentation

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      • There is one indentation fault in Configuring CPU and memory limits for logging components in Documentation:
      apiVersion: "logging.openshift.io/v1"
      kind: "ClusterLogging"
      metadata:
        name: "instance"
        namespace: openshift-logging
      spec:
      collection:  <<== collection indentation is wrongly mentioned
          resources: 
            limits:
              memory: 736Mi
            requests:
              cpu: 200m
              memory: 736Mi
          type: fluentd
      • Due to this `spec.collection` will not get applied in the `ClusterLogging` instance CR.
      • The correct configuration should look like the following:
        apiVersion: "logging.openshift.io/v1"
        kind: "ClusterLogging"
        metadata:
          name: "instance"
          namespace: openshift-logging...spec:
          managementState: "Managed"
          logStore:
            type: "elasticsearch"
            elasticsearch:
              nodeCount: 3
              resources: 
                limits:
                  memory: 16Gi
                requests:
                  cpu: 200m
                  memory: 16Gi
              storage:
                storageClassName: "gp2"
                size: "200G"
              redundancyPolicy: "SingleRedundancy"
          visualization:
            type: "kibana"
            kibana:
              resources: 
                limits:
                  memory: 1Gi
                requests:
                  cpu: 500m
                  memory: 1Gi
              proxy:
                resources: 
                  limits:
                    memory: 100Mi
                  requests:
                    cpu: 100m
                    memory: 100Mi
              replicas: 2
          collection:      <<== This is the correct indentation format
            resources: 
              limits:
                memory: 736Mi
              requests:
                cpu: 200m
                memory: 736Mi
            type: fluentd
      • We need to perform this change in our standard documentation.
      • I am going to raise PR for this change and work on PR merge.

              rhn-support-pripatil Prithviraj Patil
              rhn-support-pripatil Prithviraj Patil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: