- Kubernetes >= 1.23
- 2 CPUs
- 16Gb RAM
- Linux or macOS as deploy host
git
andkubectl
installed- Nginx load balancer and Kubernetes Helm plugin added to your
k8s
Note: If you want to store Team Edition data in cloud storage, make sure to configure cloud volumes first.
- Clone this repository from GitHub:
git clone https://github.com/dbeaver/team-edition-deploy
cd team-edition-deploy/k8s/cbte
cp ./values.example.yaml ./values.yaml
- Edit chart values in
values.yaml
(use any text editor). - Configure domain and SSL certificate:
- Add an A record in your DNS hosting for a value of
cloudbeaverBaseDomain
variable with load balancer IP address. - Generate internal services certificates:
On Linux or macOS, run the script to prepare services certificates:
./services-certs-generator.sh
- If you set the HTTPS endpoint scheme, then create a valid TLS certificate for the domain endpoint
cloudbeaverBaseDomain
and place it intok8s/cbte/ingressSsl
:- Certificate:
ingressSsl/fullchain.pem
- Private Key:
ingressSsl/privkey.pem
- Certificate:
- Deploy Team Edition with Helm:
helm install cloudbeaver-te ./ --values ./values.yaml
- Change directory to
team-edition-deploy/k8s/cbte
. - Change value of
imageTag
in configuration filevalues.yaml
with a preferred version. Go to next step if taglatest
is set. - Upgrade cluster:
helm upgrade cloudbeaver-te ./ --values ./values.yaml
You need additional configuration changes to deploy Team Edition in OpenShift.
- In
values.yaml
change theingressController
value tohaproxy
- Add security context:
Uncomment the following lines in
cloudbeaver-*.yaml
files in templates/deployment:# securityContext: # runAsUser: 1000 # runAsGroup: 1000 # fsGroup: 1000 # fsGroupChangePolicy: "Always"
Edit ingress controller with:
kubectl edit service -n ingress-nginx ingress-nginx-controller
and add two lines in the metadata.annotations
service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true"
service.beta.kubernetes.io/do-loadbalancer-hostname: "cloudbeaverBaseDomain"
If you want to use AWS Application Load Balancer as ingress controller, follow this instruction.