Skip to main content
Skip table of contents

Customizing Logging Stack Applications

This page provides instructions on how you can customize the Logging Stack Applications in DKP.

Retrieve the Workspace Namespace

  1. On the Management Cluster, execute the following command to get the namespace of your workspace:

    CODE
    dkp get workspaces
  2. Copy the value under the NAMESPACE column for your workspace.

  3. Set the WORKSPACE_NAMESPACE variable to the namespace copied in the previous step

How to customize Logging Stack Applications

  1. On the Attached or Managed Cluster, retrieve the kubeconfig for the cluster.

  2. Apply the ConfigMap directly to the managed/attached cluster using the name, logging-operator-logging-overrides:

    CODE
    cat <<EOF | kubectl apply -f -
    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: logging-operator-logging-overrides
      namespace: ${WORKSPACE_NAMESPACE}
    data:
      values.yaml: |
        <insert config here>
    EOF

Customized ConfigMap Example

This is an example of an ConfigMap that contains customized resource request and limit values for fluentd:

CODE
apiVersion: v1
kind: ConfigMap
metadata:
  name: logging-operator-logging-overrides
  namespace: kommander
data:
  values.yaml: |
    fluentd:
      resources:
        limits:
          cpu: 1
          memory: 2000Mi
        requests:
          cpu: 1
          memory: 1500Mi

See Also

Scaling the Logging Stack

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.