This repo contains helm and YAML for deploying Carbone into a Kubernetes environment. Follow the applicable instructions for your edition / deployment methodology below:
Install the repository:
helm repo add carbone https://bin.carbone.io/helm/
helm repo update
Few options are available in values.yaml with 2 main configuration : ingress paramater and persistent storage.
Exemple with kubernetes on docker desktop deployment with S3 persistent storage :
## First setup nginx ingress
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.9.5/deploy/static/provider/cloud/deploy.yaml
## Install Carbone
helm install --create-namespace -n carbone carbone-ee carbone/carbone-ee \
--set applicationConfiguration.license=${CARBONE_EE_LICENSE} \
--set ingress.className=nginx \
--set 'ingress.hosts[0].host=carbone.local' \
--set 'ingress.hosts[0].paths[0].path=/' \
--set 'ingress.hosts[0].paths[0].pathType=Prefix' \
--set persistentStorage.s3.enabled=true \
--set persistentStorage.s3.endpoint=s3.eu-west-1.amazonaws.com \
--set persistentStorage.s3.region=eu-west-1 \
--set persistentStorage.s3.accessKeyId=${S3_ACCESS_KEY} \
--set persistentStorage.s3.accessKeySecret=${S3_ACCESS_KEY_SECRET} \
--set persistentStorage.s3.templatesBucket=${S3_TEMPLATES_BUCKET} \
--set persistentStorage.s3.rendersBucket=${S3_RENDERS_BUCKET}We recommand to set options in you own values.yaml file and start Carbone with ;
helm install --create-namespace -n carbone -f values.yaml carbone-ee carbone/carbone-eeFew examples are available for main cloud provider: