Files
databunker/charts
stremovsky 673a09fdaa ☂️ fix linter errors
2021-12-29 12:33:35 +02:00
..
2021-12-29 12:33:35 +02:00
2021-12-19 15:44:01 +02:00
2021-12-29 09:56:29 +02:00

Starting Databunker with MySQL backend

Start Databunker with auto-generated self-signed SSL certificate

helm install --debug databunker ./databunker --set mariadb.primary.persistence.enabled=false --set certificates.customCAs\[0\].secret="databunker"

Start Databunker for local testing

helm install --debug databunker ./databunker --set mariadb.primary.persistence.enabled=false --set certificates.customCAs\[0\].secret="databunker"

export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=databunker,app.kubernetes.io/instance=databunker" -o jsonpath="{.items[0].metadata.name}")
export CONTAINER_PORT=$(kubectl get pod --namespace default $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace default port-forward $POD_NAME 8080:$CONTAINER_PORT

Starting Databunker DEMO deployment using Kubernetes

You can run the following command:

helm install databunker-demo ./databunker-demo --set service.type=NodePort

The ./databunker-demo directory must contain all help chart files for the databunker-demo project.

Default port for NodePort

The default port is 30300.

Running Kubernetes on the local machine

You can open http://localhost:30300/ in your browser.

Start Databunker DEMO on EKS

helm install databunker-demo ./databunker-demo --set service.type=LoadBalancer

You can use the following command to get URL of the load balancer:

kubectl get svc | grep databunker-demo

Removing databunker-demo deployment

Use the following command:

helm uninstall databunker-demo

Chart Parameters

Name Description Value
service.type Databunker Service Type ClusterIP
service.nodePort Databunker API and UI port "30300"