elchi-discovery
Helm chartv1.0.1App 1.0.0Apache-2.0Verified publisher
A Helm chart for Elchi Discovery
About this chart
Elchi Endpoint Discovery Helm Chart
This Helm chart deploys the Elchi Endpoint Discovery plugin on a Kubernetes cluster.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
Installing the Chart
# Add the repository (when available)
helm repo add elchi https://charts.elchi.io
helm repo update
# Install the chart
helm install endpoint-discovery elchi/elchi-discovery
# Or install from local chart
helm install endpoint-discovery . --values values.yaml
Configuration
The following table lists the configurable parameters and their default values.
| Parameter | Description | Default |
|---|---|---|
replicaCount | Number of replicas | 1 |
image.repository | Image repository | jhonbrownn/elchi-discovery |
image.tag | Image tag | latest |
image.pullPolicy | Image pull policy | Always |
config.token | Elchi authentication token (REQUIRED) | "" |
config.log.level | Log level | info |
config.log.format | Log format (text/json) | json |
config.apiEndpoint | API endpoint URL | "" |
config.insecureSkipVerify | Skip TLS verification | false |
discoveryInterval | Discovery interval in seconds | 30 |
clusterName | Cluster name (REQUIRED) | "" |
timezone | Container timezone | UTC |
timezonePath | Host timezone file path | /etc/localtime |
env | Additional environment variables | [] |
envFrom | Env vars from ConfigMaps/Secrets | [] |
resources.requests.cpu | CPU request | 100m |
resources.requests.memory | Memory request | 64Mi |
resources.limits.cpu | CPU limit | 200m |
resources.limits.memory | Memory limit | 128Mi |
Examples
Basic Installation with Token and Cluster Name
helm install endpoint-discovery elchi/elchi-discovery \
--set config.token="your-elchi-token-here" \
--set clusterName="production-cluster"
Custom Discovery Interval and Resources
helm install endpoint-discovery elchi/elchi-discovery \
--set config.token="your-token" \
--set clusterName="my-cluster" \
--set discoveryInterval=60 \
--set resources.requests.memory="128Mi" \
--set resources.limits.memory="256Mi"
Enable Debug Logging
helm install endpoint-discovery elchi/elchi-discovery \
--set config.token="your-token" \
--set clusterName="my-cluster" \
--set config.log.level="debug" \
--set config.log.format="text"
Set Custom Timezone
helm install endpoint-discovery elchi/elchi-discovery \
--set config.token="your-token" \
--set clusterName="my-cluster" \
--set timezone="Europe/Istanbul"
Uninstalling the Chart
helm uninstall endpoint-discovery
Security
This chart follows security best practices:
- Runs as non-root user (65534)
- Uses read-only root filesystem
- Drops all capabilities
- Minimal RBAC permissions (only nodes, endpoints, services, pods read access)
Troubleshooting
Check Deployment Status
kubectl get deployments -n <namespace>
kubectl describe deployment <release-name>-elchi-discovery
View Pod Status
kubectl get pods -l app.kubernetes.io/instance=<release-name>
Check Logs
kubectl logs -l app.kubernetes.io/instance=<release-name> --tail=100
Restart Deployment
kubectl rollout restart deployment/<release-name>-elchi-discovery
Contributing
Please see the main repository for contribution guidelines: https://github.com/CloudNativeWorks/elchi-plugins
Deploy elchi-discovery with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has elchi-discovery on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartelchi-discovery is pinned at v1.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply