Ballerine is a collection of services like workflow-service, backoffice. In values.yaml we have sections to enable/disable them based on the necessity like below
workflowService:
enabled: true
.
.
backoffice:
enabled: true
.
.
headlessexample:
enabled: true
.
.
Move to deploy directory
cd deploy/helm
- edit values.yaml
## Postgres params
postgresql:
enabled: true
auth:
username: admin
password: admin
postgresPassword: admin
database: postgres
# Local dev purpose
# persistence:
# existingClaim: postgresql-pv-claim
# volumePermissions:
# enabled: true
- edit values.yaml
## Postgres params
postgresql:
enabled: false
.
.
.
.
applicationConfig:
BCRYPT_SALT: "10"
SESSION_EXPIRATION_IN_MINUTES: "60"
DB_URL: "<Managed DB_URL with databasename>"
DB_USER: "<Managed DB_USER>"
DB_PASSWORD: "<Managed DB_PASSWORD>"
DB_PORT: "5432"
helm dep build
helm install ballerine . -n ballerine --create-namespace -f example.values.yaml
kubectl get pods -n ballerine
- Note the pod name of service you wish to trouble shoot
kubectl logs <pod> -n ballerine
- Accessing the application
kubectl port-forward svc/<service> -n ballerine 3000:3000