elchi-discovery

by Cloud Native Works

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.

ParameterDescriptionDefault
replicaCountNumber of replicas1
image.repositoryImage repositoryjhonbrownn/elchi-discovery
image.tagImage taglatest
image.pullPolicyImage pull policyAlways
config.tokenElchi authentication token (REQUIRED)""
config.log.levelLog levelinfo
config.log.formatLog format (text/json)json
config.apiEndpointAPI endpoint URL""
config.insecureSkipVerifySkip TLS verificationfalse
discoveryIntervalDiscovery interval in seconds30
clusterNameCluster name (REQUIRED)""
timezoneContainer timezoneUTC
timezonePathHost timezone file path/etc/localtime
envAdditional environment variables[]
envFromEnv vars from ConfigMaps/Secrets[]
resources.requests.cpuCPU request100m
resources.requests.memoryMemory request64Mi
resources.limits.cpuCPU limit200m
resources.limits.memoryMemory limit128Mi

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartelchi-discovery is pinned at v1.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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