edge-operator

by EMQX

Helm chartv0.0.5App 0.0.5

A Helm chart for Kubernetes

About this chart

edge-operator

The EDGE Operator provides Kubernetes native deployment and management of [edge]. The purpose of this project is to simplify and automate the configuration of the edge.

Prerequisites

  • Kubernetes 1.20+

Installing the Chart

To install the chart through github repository

## clone repository
$ git clone https://github.com/emqx/edge-operator
$ cd deploy/charts/edge-operator


## Install the edge-operator helm chart
$ helm install edge-operator . \
      --namespace edge-operator-system \
      --create-namespace

Tip: List all releases using helm ls -A

Uninstalling the Chart

To uninstall/delete the edge-operator deployment:

$ helm delete edge-operator -n edge-operator-system

Configuration

The following table lists the configurable parameters of the cert-manager chart and their default values.

ParameterDescriptionDefault
image.repositoryImage repositoryedge/edge-operator-controller
image.tagImage tag{{RELEASE_VERSION}}
image.pullPolicyImage pull policyIfNotPresent
imagePullSecretsImage pull secrets[]
nameOverrideOverride chart name""
fullnameOverrideDefault fully qualified app name.""
replicaCountNumber of cert-manager replicas1
serviceAccount.createIf true, create a new service accounttrue
serviceAccount.nameService account to be used. If not set and serviceAccount.create is true, a name is generated using the fullname template
serviceAccount.annotationsAnnotations to add to the service account
resourcesCPU/memory resource requests/limits{}
nodeSelectorNode labels for pod assignment{}
affinityNode affinity for pod assignment{}
tolerationsNode tolerations for pod assignment[]
cert-manager.enableUsing cert manager for provisioning the certificates for the webhook server. You can follow the cert manager documentation to install it.false
cert-manager.secretNameTLS secret for certificates for the ${NAME}-webhook-service.${NAMESPACE}.svc""

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

$ helm install edge-operator -f values.yaml .

Tip: You can use the default values.yaml

Contributing

This chart is maintained at github.com/edge/edge-operator.

Deploy edge-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has edge-operator 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 chartedge-operator is pinned at v0.0.5 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