StackLight configuration procedure¶
This section describes the StackLight configuration workflow.
To configure StackLight:
Download your management cluster
kubeconfig:Log in to the MOSK management console with the
m:kaas:namespace@operatororm:kaas:namespace@writerpermissions.Switch to the required project using the Switch Project action icon located on top of the main left-side navigation panel.
Expand the menu of the tab with your user name.
Click Download kubeconfig to download
kubeconfigof your management cluster.Log in to any local machine with
kubectlinstalled.Copy the downloaded
kubeconfigto this machine.
Run one of the following commands:
For a management cluster:
kubectl --kubeconfig <mgmtClusterKubeconfigPath> edit -n default cluster <mgmtClusterName>
For a MOSK cluster:
kubectl --kubeconfig <mgmtClusterKubeconfigPath> edit -n <moskClusterProjectName> cluster <moskClusterName>
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:
To enable StackLight on an existing MOSK cluster, add the following mandatory fields to the manifest:
spec: providerSpec: value: helmReleases: - name: stacklight values: elasticsearch: persistentVolumeClaimSize: 30Gi highAvailabilityEnabled: true logging: enabled: true prometheusServer: persistentVolumeClaimSize: 16Gi
The snippet above contains example values for mandatory StackLight fields. Configure them depending on the cluster needs. For descriptions of these fields, see: StackLight configuration parameters.