Skip to content

Install Cape Coordinator with Helm#

This document describes how to deploy Cape Coordinator to Kubernetes. It assumes you are familiar with Kubernetes and Helm, and can configure your deployment environment.

You need to install Cape CLI separately to interact with Coordinator.


To deploy Cape Coordinator, you need:

  • A Kubernetes cluster (1.16+)
  • A Helm installation (3.0+)
  • A PostgreSQL database (11.0+)

If you don't already have an environment to deploy Cape Coordinator into, refer to these guides to set up a local testing environment:

Add the Cape Helm charts repository#

helm repo remove cape
helm repo add cape

Install the Helm chart#

To install Cape Coordinator using the default values, use the following helm command:

helm install cape-coordinator cape/coordinator

The Helm chart supports many options that allow you to customize the Cape Coordinator deployment to suit your environment. For more information about these options, refer to Configuration.


The following table lists common configurable parameters of the chart and their default values. See values.yaml for all available options.

Parameter Description Default
image.pullPolicy Container pull policy IfNotPresent
image.repository Container image to use capeprivacy/cape
image.tag Container image tag to deploy latest
podAnnotations List of custom annotations to attach to pods {}
podLabels List of custom labels to attach to pods {}
annotations List of custom annotations to attach to all resources {}
labels List of custom labels to attach to all resources {}
replicas Number of instances of Cape coordinator `1
deploymentStrategy.type Update strategy for deployment RollingUpdate
serviceAccount.create Enable or disable creation of a service account true Name of the service account to use for resources ""
service.type Cape Service type "ClusterIP"
service.port Port on which Cape coordinator listens 8080
service.targetPort Port on which Cape coordinator pods listen 3000
service.uiPort Port on which to serve Cape web UI 80
service.uiTargetPort Port on which Cape pods serve web UI 80
service.annotations List of custome annotations to attach to the service {}
service.labels List of custome labels to attach to the service {}
service.portName Name of the port for on which Cape coordinator listens service
admin.existingSecret Name of existing secret to use for certs and other configuration. Disables creation of helm-managed secret when set. ""
includeUI Enable or disable serving of the Cape web UI false
uiImage.repository Container image to use for Cape web UI capeprivacy/cape-ui
uiImage.tag Container image tag to use for Cape web UI latest
uiImage.pullPolicy Container pull policy for Cape web UI IfNotPresent
priorityClassName Scheduler priority class for pods ""
schedulerName Alternative scheduler to use for Cape pods ""
namespaceOverride Namespace to use for Cape resources ""
nameOverride Override for generated deployment name ""
fullnameOverride Override for generated full name ""
config.db.addr Address of the backing database for Cape coordinator "postgres://postgres:dev@postgres-cape-postgresql:5432/cape"
config.port Port on which Cape coordinator containers listen 8080
config.root_key Root key for decrypting stored data keys ul0b9qQONZDn4kLNgULl3WJOZEhBqDjT1YK-kgceFUU
config.version Version of the configuration file supplied. Currently must be 1 1
config.cors Enable or disable servicing CORS headers on Cape coordinator responses true
config.allow_origin Origin hosts from which to allow API requests http://localhost:8080

Specify each parameter using the --set[-file] key=value[,key=value] argument to helm install.


helm delete cape-coordinator

To delete the deployment and its history:

helm delete --purge cape-coordinator