expanso-edge
Expanso Edge Compute Node for edge computing workloads
About this chart
Expanso Edge Compute - Helm Chart
Expanso Edge Compute Node for edge computing workloads on Kubernetes and OpenShift.
Description
This Helm chart deploys the Expanso Edge compute node, enabling distributed computing across edge infrastructure. The compute node executes workloads on edge devices and connects to the Expanso Cloud orchestrator.
Prerequisites
- Kubernetes 1.19+ or OpenShift 4.10+
- Helm 3.8+
- PodSecurityPolicy or Pod Security Standards support (optional)
Installation
Quick Start
helm install expanso-edge-compute oci://quay.io/expanso/helm/expanso-edge-compute
From Local Chart
helm install expanso-edge-compute ./expanso-edge-compute
With Custom Values
helm install expanso-edge-compute ./expanso-edge-compute \
--set expansoEdge.bootstrap.token=YOUR_BOOTSTRAP_TOKEN \
--set expansoEdge.orchestrators[0]=nats://your-orchestrator:4222
From Values File
helm install expanso-edge-compute ./expanso-edge-compute -f values.yaml
Configuration
The following table lists the configurable parameters of the Expanso Edge Compute chart and their default values.
| Parameter | Description | Default |
|---|---|---|
image.repository | Container image repository | registry.connect.redhat.com/expanso/expanso-edge |
image.tag | Container image tag | 2.1.7-ubi9 |
image.pullPolicy | Image pull policy | IfNotPresent |
replicaCount | Number of replicas | 1 |
expansoEdge.version | Expanso Edge version | 2.1.7 |
expansoEdge.nodeType | Node type (compute/orchestrator) | compute |
expansoEdge.apiHost | API host binding | 0.0.0.0 |
expansoEdge.apiPort | API port | 1234 |
expansoEdge.bootstrap.url | Bootstrap URL | https://start.cloud.expanso.io |
expansoEdge.bootstrap.token | Bootstrap token | "" |
expansoEdge.orchestrators | List of orchestrator URLs | ["nats://expanso-orchestrator:4222"] |
expansoEdge.labels | Compute node labels | See values.yaml |
expansoEdge.jobSelection.locality | Job locality preference | anywhere |
expansoEdge.logging.level | Log level | info |
resources.requests.cpu | CPU request | 1000m |
resources.requests.memory | Memory request | 2Gi |
resources.limits.cpu | CPU limit | 2000m |
resources.limits.memory | Memory limit | 4Gi |
service.enabled | Enable Service | true |
service.type | Service type | ClusterIP |
service.port | Service port | 1234 |
serviceAccount.create | Create service account | true |
serviceAccount.name | Service account name | "" |
nodeSelector | Node selector labels | {} |
tolerations | Pod tolerations | [] |
affinity | Pod affinity rules | {} |
Examples
Basic Deployment
# values.yaml
expansoEdge:
bootstrap:
token: "your-bootstrap-token-here"
orchestrators:
- "nats://orchestrator.example.com:4222"
Production Deployment with Custom Resources
# values-production.yaml
replicaCount: 3
resources:
requests:
cpu: 2000m
memory: 4Gi
limits:
cpu: 4000m
memory: 8Gi
expansoEdge:
bootstrap:
url: "https://start.cloud.expanso.io"
orchestrators:
- "nats://orchestrator1.example.com:4222"
- "nats://orchestrator2.example.com:4222"
labels:
environment: "production"
region: "us-east-1"
cloud: "openshift"
logging:
level: "info"
nodeSelector:
node-role.kubernetes.io/edge: "true"
tolerations:
- key: "edge"
operator: "Equal"
value: "true"
effect: "NoSchedule"
Using Secrets for Bootstrap Token
Instead of setting the token in values, create a secret:
kubectl create secret generic expanso-edge-bootstrap \
--from-literal=token=YOUR_BOOTSTRAP_TOKEN
Then deploy without specifying the token in values.yaml:
helm install expanso-edge-compute ./expanso-edge-compute
Upgrading
From Chart Version 1.0.0 to 1.1.0
helm upgrade expanso-edge-compute ./expanso-edge-compute \
--reuse-values \
--version 1.1.0
Changing Configuration
helm upgrade expanso-edge-compute ./expanso-edge-compute \
--set expansoEdge.logging.level=debug
Uninstalling
helm uninstall expanso-edge-compute
Troubleshooting
Pod Not Starting
Check pod status:
kubectl get pods -l app.kubernetes.io/name=expanso-edge-compute
kubectl describe pod -l app.kubernetes.io/name=expanso-edge-compute
Check logs:
kubectl logs -l app.kubernetes.io/name=expanso-edge-compute
Cannot Connect to Orchestrator
Verify orchestrator URL is correct:
kubectl get configmap -o yaml | grep orchestrators
Test network connectivity:
kubectl exec -it <pod-name> -- curl -v nats://orchestrator:4222
API Endpoint Not Responding
Port-forward to access locally:
kubectl port-forward svc/expanso-edge-compute 1234:1234
curl http://localhost:1234/api/v1/health
OpenShift Specific Configuration
Security Context Constraints (SCC)
The chart runs as non-root user (UID 1000) and should work with the restricted SCC.
For custom SCC requirements:
serviceAccount:
create: true
annotations:
openshift.io/scc: restricted
Routes (Instead of Ingress)
OpenShift uses Routes instead of Ingress. To expose the service:
oc expose svc/expanso-edge-compute
Support
- Documentation: https://expanso.io/docs
- Issues: https://github.com/expanso/expanso-edge/issues
- Email: [email protected]
License
Apache License 2.0
Maintainers
| Name | |
|---|---|
| Expanso Team | [email protected] |
Source Code
- https://github.com/expanso/expanso-edge
Red Hat Certification
This Helm chart and container image are certified for Red Hat OpenShift.
- Container Certification: [Pending]
- Helm Chart Certification: [Pending]
- Available on Red Hat Marketplace: [Pending]
Deploy expanso-edge with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has expanso-edge 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 chartexpanso-edge is pinned at v2.1.7 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