Create Project-level Logging AppDeployments

How to create Project-level AppDeployments for use in multi-tenant logging
You must create AppDeployments in the Project namespace to enable and deploy the logging stack to all clusters within a Project. You can use the CLI to do this, or use the DKP UI to enable the logging applications.
To create the AppDeployments needed for Project-level logging, follow these steps on the management cluster:
- Determine the name and namespace of the workspace that your project is in. You can use the - dkp get workspacescommand to see the list of workspace names and their corresponding namespaces.CODE- dkp get workspaces- Copy the values under the - NAMEand- NAMESPACEcolumns for your workspace.
- Export the - WORKSPACE_NAMEvariable:CODE- export WORKSPACE_NAME=<WORKSPACE_NAME>
- Export the - WORKSPACE_NAMESPACEvariable:CODE- export WORKSPACE_NAMESPACE=<WORKSPACE_NAMESPACE>
- Execute the following command to get the namespace of your project: CODE- kubectl get projects -n ${WORKSPACE_NAMESPACE}- Copy the value under the - NAMEcolumn for your project. This may NOT be identical to the Display Name of the- Project.
- Export the - PROJECT_NAMEvariable:CODE- export PROJECT_NAME=<PROJECT_NAME>
- Copy these commands and execute them from a command line: CODE- dkp create appdeployment project-grafana-loki --app project-grafana-loki-0.48.6 --workspace ${WORKSPACE_NAME} --project ${PROJECT_NAME} dkp create appdeployment project-grafana-logging --app project-grafana-logging-6.38.1 --workspace ${WORKSPACE_NAME} --project ${PROJECT_NAME}
Then, you can Verify the Project Logging Stack Installation for multi-tenant logging.
