expanso-edge

by joaquinito2051

Helm chartv2.1.7App 2.1.7

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.

ParameterDescriptionDefault
image.repositoryContainer image repositoryregistry.connect.redhat.com/expanso/expanso-edge
image.tagContainer image tag2.1.7-ubi9
image.pullPolicyImage pull policyIfNotPresent
replicaCountNumber of replicas1
expansoEdge.versionExpanso Edge version2.1.7
expansoEdge.nodeTypeNode type (compute/orchestrator)compute
expansoEdge.apiHostAPI host binding0.0.0.0
expansoEdge.apiPortAPI port1234
expansoEdge.bootstrap.urlBootstrap URLhttps://start.cloud.expanso.io
expansoEdge.bootstrap.tokenBootstrap token""
expansoEdge.orchestratorsList of orchestrator URLs["nats://expanso-orchestrator:4222"]
expansoEdge.labelsCompute node labelsSee values.yaml
expansoEdge.jobSelection.localityJob locality preferenceanywhere
expansoEdge.logging.levelLog levelinfo
resources.requests.cpuCPU request1000m
resources.requests.memoryMemory request2Gi
resources.limits.cpuCPU limit2000m
resources.limits.memoryMemory limit4Gi
service.enabledEnable Servicetrue
service.typeService typeClusterIP
service.portService port1234
serviceAccount.createCreate service accounttrue
serviceAccount.nameService account name""
nodeSelectorNode selector labels{}
tolerationsPod tolerations[]
affinityPod 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

NameEmail
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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartexpanso-edge is pinned at v2.1.7 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