Prerequisites (per-cluster application configuration)
Any application you wish to enable or customize at a cluster level, first needs to be enabled at the workspace-level via an
AppDeployment
(platform application deployment, workspace catalog application deployment).For custom configurations, you have created a ConfigMap with all the required
spec
fields for each customization you would like to add to an application in a cluster. You can apply aConfigMap
to several clusters, or create aConfigMap
for each cluster, but theConfigMap
object must exist in the Management cluster.Determine the name of the workspace where you wish to perform the deployments. You can use the
dkp get workspaces
command to see the list of workspace names and their corresponding namespaces.Set the
WORKSPACE_NAMESPACE
environment variable to the name of the workspace’s namespace where the cluster is attached:BASHexport WORKSPACE_NAMESPACE=<workspace_namespace>
Set the
WORKSPACE_NAME
environment variable to the name of the workspace where the cluster is attached:BASHexport WORKSPACE_NAME=<workspace_name>