Helm Deployment Guide

← Back to home

Installation

helm repo add klask https://charts.klask.dev
helm repo update
helm install klask klask/klask -f values.yaml

Basic Configuration (values.yaml)

Here's a minimal configuration to get started:

# Backend configuration
backend:
  replicaCount: 2
  image:
    repository: klask/backend
    tag: latest
  resources:
    requests:
      cpu: 100m
      memory: 256Mi
    limits:
      cpu: 500m
      memory: 512Mi

# Frontend configuration
frontend:
  replicaCount: 2
  image:
    repository: klask/frontend
    tag: latest
  resources:
    requests:
      cpu: 50m
      memory: 128Mi
    limits:
      cpu: 200m
      memory: 256Mi

# PostgreSQL database
postgresql:
  enabled: true
  auth:
    username: klask
    password: changeme
    database: klask

# Ingress configuration
ingress:
  enabled: true
  className: nginx
  hosts:
    - host: klask.yourdomain.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: klask-tls
      hosts:
        - klask.yourdomain.com

Key Configuration Parameters

Backend

Frontend

Database

Ingress

Production Recommendations

Advanced Configuration

For production deployments, consider:

# Use external PostgreSQL
postgresql:
  enabled: false

# External database connection
backend:
  env:
    DATABASE_URL: postgresql://user:pass@postgres.example.com/klask
    JWT_SECRET: your-secret-key-here

# Autoscaling
backend:
  autoscaling:
    enabled: true
    minReplicas: 2
    maxReplicas: 10
    targetCPUUtilizationPercentage: 70

More Resources


← Back to home