Helm chart
Learn how to use Helm to set up Cobrowse Enterprise in your Kubernetes cluster.
This is the documentation for how to use Helm to set up Cobrowse Enterprise in your Kubernetes cluster.
Initial Setup
Make sure you have installed (on your local machine) the required tools to manage and deploy the Cobrowse infrastructure to your Kubernetes cluster. You'll need these installed before running the setup:
Helm
Installation
Run the following commands to add our helm repository.
Common Parameters
Parameter Name | Description |
---|---|
required | The docker password required to access the Cobrowse images (provided by Cobrowse.io). Note: If you do not wish for the Helm chart to manage your cobrowse image pull secret, consider using the advanced image pull secret configuration instructions instead. |
required | Your Cobrowse enterprise license. (Provided by Cobrowse.io) |
required | The domain name for your deployment. |
| RegEx to specify superuser email addresses. |
required | Your MongoDB connection URL. |
required | Your Redis cluster connection URL in the format:
Or, if you are using TLS:
(note the double Note: redis must be configured in cluster mode. |
required | The ingress class name to use |
| Extra annotations to add to the Kubernetes ingress. |
| Amount of storage to provision for recordings. Default is 50Gb. |
| A storage class available in the cluster that supports "ReadWriteMany" access. Default is "nfs". |
Dependencies
For all deployments there are some dependencies that must be configured outside of the Cobrowse Helm chart:
Redis - we require access to a redis cluster. It must be running in cluster mode. Bitnami provide an easy to use Helm chart.
MongoDB - we require access to a MongoDB cluster. We recommend using a hosted service such as MongoDB Atlas whenever possible. Alternatively Bitnami provides a helm chart that is tested with Cobrowse deployments.
NFS storage - we require that the cluster provides an NFS storage. A dynamic provisioner can be used by by setting
storage.class
, that is by default called "nfs". Alternatively an existing PVC can be used and set throughsockets.storage.persistentVolumeClaimName
andrecording.storage.persistentVolumeClaimName
.
There's also some extra configuration available for some cloud providers.
SSL Generation
We support SSL certificate generation in Azure via CertManager. You must install CertManager in addition to the Cobrowse Helm chart. You can then set ssl.generator
to cert-manager
in the Cobrowse Helm chart configuration to allow Cobrowse generate and renew and SSL certs automatically.
Other Common Dependencies for AKS
To use Azure Application Gateway, you will need to enable AGIC and AAD pod-identity either via Helm chart or AKS addon.
Scaling the infrastructure
By default we only run one replica per service as can be seen in our public values.yaml file. This should be changed for high availability (HA) setups.
The individual service replica counts should be set according to your load and availability requirements, for example api.replicas = 3
sets 3 replicas of the api service.
Managing your deployment
Next, learn about managing and upgrading your deployment.
Managing your deploymentLast updated