Get your application deployed to Kubernetes in just a few minutes with the drunk-app Helm chart.
helm repo add drunk-charts https://baoduy.github.io/drunk.charts/drunk-app
helm repo update
Create a my-app-values.yaml file with your application configuration:
# my-app-values.yaml
global:
image: "your-registry/your-app"
tag: "v1.0.0"
imagePullPolicy: "IfNotPresent"
# Basic deployment configuration
deployment:
enabled: true
ports:
http: 8080
replicaCount: 2
# Environment variables
env:
NODE_ENV: "production"
DATABASE_URL: "your-database-connection"
# Ingress for external access
ingress:
enabled: true
hosts:
- host: "myapp.example.com"
paths:
- path: "/"
pathType: "Prefix"
tls:
- secretName: "myapp-tls"
hosts:
- "myapp.example.com"
helm install my-app drunk-charts/drunk-app -f my-app-values.yaml
# Check pod status
kubectl get pods -l app.kubernetes.io/name=my-app
# Check service
kubectl get svc -l app.kubernetes.io/name=my-app
# Check ingress (if enabled)
kubectl get ingress
# Store sensitive data in Kubernetes secrets
secrets:
DATABASE_PASSWORD: "your-secret-password"
API_KEY: "your-api-key"
# Reference existing secrets
secretFrom:
- "external-database-secret"
autoscaling:
enabled: true
minReplicas: 2
maxReplicas: 10
targetCPUUtilizationPercentage: 70
deployment:
liveness: "/health"
readiness: "/ready"
ports:
http: 8080
volumes:
data:
mountPath: "/app/data"
size: "10Gi"
storageClass: "standard"
helm-diff plugin to preview changes before applying# Upgrade with new image tag
helm upgrade my-app drunk-charts/drunk-app -f my-app-values.yaml --set global.tag=v1.1.0
# Rollback if needed
helm rollback my-app 1
Need help? Check our full documentation or open an issue.