Configure StackLight

Configure StackLight

This section describes the initial steps required for StackLight configuration. For a detailed description of StackLight configuration options, see StackLight configuration parameters.

  1. Log in to the Docker Enterprise (DE) Container Cloud web UI with the writer permissions.

  2. Switch to the required project using the Switch Project action icon located on top of the main left-side navigation panel.

  3. Expand the menu of the tab with your username.

  4. Click Download kubeconfig to download kubeconfig of your management cluster.

  5. Log in to any local machine with kubectl installed.

  6. Copy the downloaded kubeconfig to this machine.

  7. Run one of the following commands:

    • For a management cluster:

      kubectl --kubeconfig <KUBECONFIG_PATH> edit -n <PROJECT_NAME> cluster <MANAGEMENT_CLUSTER_NAME>
      
    • For a managed cluster:

      kubectl --kubeconfig <KUBECONFIG_PATH> edit -n <PROJECT_NAME> cluster <MANAGED_CLUSTER_NAME>
      
  8. In the following section of the opened manifest, configure the required StackLight parameters as described in StackLight configuration parameters.

    spec:
      providerSpec:
        value:
          helmReleases:
         - name: stacklight
           values:
    
  9. Verify StackLight after configuration.