Configure an Enterprise Catalog
Configure an Enterprise catalog for DKP
DKP supports configuring default catalogs for clusters with Enterprise license.
Configure a Default Enterprise Catalog
To configure DKP to use a default catalog repository, add these values to your existing and already configured kommander.yaml
(or to your newly-created kommander.yaml
, if this is your first installation):
apiVersion: config.kommander.mesosphere.io/v1alpha1
kind: Installation
catalog:
repositories:
- name: dkp-catalog-applications
labels:
kommander.d2iq.io/project-default-catalog-repository: "true"
kommander.d2iq.io/workspace-default-catalog-repository: "true"
kommander.d2iq.io/gitapps-gitrepository-type: "dkp"
gitRepositorySpec:
url: https://github.com/mesosphere/dkp-catalog-applications
ref:
tag: v2.5.0
NOTE: If you install Kommander with the previous file, you will install the default applications with default configurations, and default infrastructure settings (this omits configurations for air-gapped environments, configured custom domains, and any other customizations). If you only want to enable catalog applications to an existing configuration, add these values to an existing installer configuration file to maintain your Management cluster’s settings.
Use this configuration when installing or reconfiguring DKP by passing it to the dkp install kommander
command:
dkp install kommander --installer-config kommander.yaml --kubeconfig=${CLUSTER_NAME}.conf
In the previous command, the --kubeconfig=${CLUSTER_NAME}.conf
flag ensures that you set the context to install Kommander on the right cluster. For alternatives and recommendations around setting your context, refer to Provide Context for Commands with a kubeconfig File.
TIP: Sometimes, applications require a longer period of time to deploy, which causes the installation to time out. Add the --wait-timeout <time to wait>
flag and specify a period of time (for example, 1h
) to allocate more time to the deployment of applications.
The following section describes each label:
Label | Description |
---|---|
| Indicates this acts as a Catalog Repository in all projects |
| Indicates this acts as a Catalog Repository in all workspaces |
| Indicates this Catalog Repository (and all its Applications) are certified to run on DKP |
Configure an Enterprise Catalog after Installation/Upgrade
When configuring the catalog repository post-upgrade, run dkp install kommander --init > kommander.yaml
and update it accordingly with any custom configuration. This ensures you are using the proper default configuration values for the new DKP version.