For reference values of the required number of worker nodes, CPU, RAM, and storage resources, refer to the requirements section.
Ensure you meet all prerequisites.
In case you need to run Spark jobs on Kubernetes using Spark Operator, it needs to be installed separately. Use the following instructions to install Spark Operator from Kommander Catalog DKP 2.x.
Add Kaptain to your DKP Catalog Applications via CLI
If you installed DKP with Kaptain as a workspace application in the Kommander installation file, you do not need to create a Git Repository for Kaptain.
If you added Kaptain after installing DKP, you must make it available by creating a Git Repository. Use the CLI to create the GitRepository resource and add a new repository.
Create a Git repository for Kaptain
Ensure you reference the cluster on which you want to deploy Kaptain. For customers with an Essential license and a single-cluster experience, the
clusterKubeconfig.confis your Essential cluster. For customers with an Enterprise license and multi-cluster experience, your
clusterKubeconfig.confis the managed or attached cluster where you will install Kaptain.
Add the Flux GitRepository to your Kommander install:
cat <<EOF | kubectl apply -f - apiVersion: source.toolkit.fluxcd.io/v1beta1 kind: GitRepository metadata: name: kaptain-catalog-applications namespace: kommander labels: kommander.d2iq.io/gitrepository-type: catalog kommander.d2iq.io/gitapps-gitrepository-type: dkp kommander.d2iq.io/workspace-default-catalog-repository: "true" spec: interval: 1m0s ref: tag: v2.0.0 timeout: 20s url: https://github.com/mesosphere/kaptain-catalog-applications EOF
Ensure the status of the
GitRepositorysignals a ready state:
kubectl get gitrepository kaptain-catalog-applications -n kommander
The repository commit displays the ready state:
NAME URL READY STATUS AGE kaptain-catalog-applications https://github.com/mesosphere/kaptain-catalog-applications True Fetched revision: master/6c54bd1722604bd03d25dcac7a31c44ff4e03c6a 11m
Refer to the installation overview for next steps.