This repository contains a Helm chart for deploying Huly in a Kubernetes cluster.
- Kubernetes 1.19+
- Helm 3.0+
- Ingress controller (e.g., nginx-ingress)
- PersistentVolume provider
# Add repository
helm repo add huly https://github.com/DreemiX/huly-chart/releases/download
helm repo update
# Install chart
helm install huly huly/huly-chart
Or install from local clone:
git clone https://github.com/DreemiX/huly-chart.git
cd huly-chart
helm install huly .
Parameter | Description | Default |
---|---|---|
global.hulyVersion |
Huly version | v0.6.377 |
config.hostAddress |
Main domain for Huly | localhost |
config.secure |
Use HTTPS | false |
config.title |
Instance name | Huly |
Each service can be configured separately:
services:
front:
enabled: true
replicas: 1
resources:
limits:
memory: "512Mi"
cpu: "500m"
account:
enabled: true
replicas: 1
resources:
limits:
memory: "512Mi"
ingress:
enabled: true
className: nginx
annotations: {}
hosts:
- host: huly.example.com
paths:
- path: /
pathType: Prefix
mongodb:
enabled: true
persistence:
size: 10Gi
minio:
enabled: true
persistence:
size: 10Gi
# values.yaml
config:
hostAddress: "huly.example.com"
# values.yaml
config:
hostAddress: "huly.example.com"
secure: true
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
persistence:
storageClass: "standard"
resources:
requests:
memory: "512Mi"
cpu: "250m"
limits:
memory: "1Gi"
cpu: "500m"
To upgrade Huly to a new version:
helm repo update
helm upgrade huly huly/huly-chart
To remove Huly:
helm uninstall huly
The Helm chart installs the following components:
- Frontend service
- Account service
- Transactor service
- Collaborator service
- Fulltext service
- Stats service
- MongoDB
- MinIO
- Elasticsearch
kubectl get pods -l app.kubernetes.io/instance=huly
# Frontend logs
kubectl logs -l app.kubernetes.io/name=front
# Specific pod logs
kubectl logs <pod-name>
-
Pods in Pending State
- Check PVC status
- Verify storage class availability
- Check node resources
-
Service Connectivity Issues
- Verify service DNS resolution
- Check ingress configuration
- Validate service endpoints
-
Database Connection Issues
- Check MongoDB pod status
- Verify connection strings
- Check service discovery
# Lint the chart
helm lint .
# Test the chart installation
helm install huly . --dry-run --debug
# Test template rendering
helm template huly .
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
If you encounter any problems or have questions:
- Check existing issues
- Create a new issue with a detailed description
MIT License