Install on non-Konvoy Kubernetes

Install and Configure Dispatch on non-Konvoy Kubernetes clusters.

Installing Dispatch into a non-Konvoy Cluster


Before you install Dispatch, be sure you have completed the Prerequisites.

  • Configure kubectl to point to the correct Kubernetes cluster.
  • Install Tiller.
  • Install the Dispatch CLI.
  • Set up credentials.
  • Install Helm v2. Dispatch uses Helm v2; Helm v3 has not been tested with Dispatch.

To install Dispatch, be sure that you have a cluster with Tiller installed.

Install Tiller

kubectl create serviceaccount -n kube-system tiller
kubectl create clusterrolebinding tiller --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
helm init --wait --service-account tiller

Install Dispatch into a Cluster via Dispatch CLI

To install Dispatch with the default configuration, run:

dispatch init

It is possible to customize the install location with the --namespace flag. By default, the Dispatch instance will watch all namespaces for Dispatch repository configurations. However, if you specify the --watch-namespace flag it is possible to customize which namespaces Dispatch can see:

dispatch init --watch-namespace dispatch-tasks --watch-namespace dispatch-work

Configure Ingress

By default, Dispatch creates ingress records under the /dispatch/ path. However, you may want to configure this if there are multiple Dispatch instances, you want to specify a hostname, use a different ingress controller or otherwise customize the Dispatch ingress.

The default Helm values for ingress are:

      enabled: true
      annotations: traefik
        # Set ` ""` to disable traefik-forward-auth. "forward" "X-Forwarded-User" "http://traefik-forward-auth-kubeaddons.kubeaddons.svc.cluster.local:4181/" PathPrefixStrip "1"
      hosts: [""]
        - "/dispatch/argo-cd"
  enabled: true
  annotations: traefik "ReplacePathRegex: ^(.*) /api/webhook"
    - paths: [/dispatch/hook/argo-cd]
      host: ""
  enabled: true
  annotations: traefik PathPrefixStrip
    - paths: [/dispatch/hook]
      host: ""
  enabled: true
  annotations: traefik PathPrefixStrip
    - paths: [/dispatch/gitops-hook]
      host: ""
    enabled: true
    annotations: traefik "X-Forwarded-User" "forward" "http://traefik-forward-auth-kubeaddons.kubeaddons.svc.cluster.local:4181/" PathPrefixStrip "1"
      - paths: [/dispatch/tekton]
        host: ""
    enabled: true
    traefikFrontendRuleType: PathPrefixStrip
    path: /dispatch/dashboard
    extraAnnotations: "1" "forward" "http://traefik-forward-auth-kubeaddons.kubeaddons.svc.cluster.local:4181/" "X-Forwarded-User"

Each ingress setting has the option to edit the hosts, paths, and annotations used so that they can be customized.


Unless otherwise specified, the Dispatch CLI commands create repositories, secrets, pipelines and tasks in the default namespace. For production installations, we suggest you create a new namespace dedicated to your CI workloads. For example, dispatch-work or dispatch-ci. You will then specify that namespace when using the CLI.


dispatch -n dispatch-ci login docker --serviceaccount=team1


dispatch -n dispatch-work create repository

To install Dispatch into a Kubernetes cluster:

  1. Execute the command dispatch init, which will use Helm to perform the installation in a release called “dispatch”:

    dispatch init

    NOTE: Dispatch uses Helm v2. Helm v3 has not been tested with Dispatch.

  2. Set --namespace to install Dispatch into a namespace other than dispatch.

  3. If you want to restrict the namespaces that Dispatch has access to, set the --watch-namespace flag for each namespace Dispatch should have access to.

  4. Run helm test dispatch to verify that the Dispatch components are set up correctly.

This will take several minutes, but your Dispatch cluster will be fully ready for use once it is completed.


Buildkit is not enabled by default as it requires cert-manager to be installed into your cluster. However, it can be enabled by setting buildkit.enabled.

It is also possible to override the buildkit image used, the number of replicas, and the resources allocated to each replica. The default configuration is:

  enabled: false
  image: "moby/buildkit:v0.7.1"
      memory: 4Gi
      cpu: 4000m
      memory: 4Gi
      cpu: 4000m

In Konvoy, set the following:

kind: ClusterConfiguration
  - addonsList:
    - enabled: true
      name: dispatch
      values: |
          enabled: true

Otherwise, run:

dispatch init --set buildkit.enabled=true

Install Dispatch into a Cluster via Helm

Dispatch can be installed using Helm directly. Dispatch uses Helm v2.

  1. Add the Dispatch Helm repository:

    helm repo add dispatch
    helm repo update
  2. Install via Helm:

    helm install --name dispatch --namespace dispatch dispatch/dispatch
  3. Run helm test dispatch to verify that the Dispatch components are set up correctly.

Next steps

At this point, you’ve successfully installed Dispatch. Next, you will add a new application to Dispatch CI. To do so, follow the steps at Setting up a repository to use Dispatch.

Additionally, your installation of Dispatch may require customization of ArgoCD or MinIO to meet the requirements.