door-agent

by CNO

Helm chartv3.0.16App v3.0.16Verified publisher

Chart for DOOR agent

About this chart

DOOR data-plane helm chart

Prerequisites

  • Kubernetes: 1.20, 1.21, 1.22

  •  kubectl create namespace door-system
    

Get Repo Info

helm repo add door-repo https://beopencloud.github.io/cno
helm repo update 

Install Chart DOOR data-plane

helm install door door-repo/door-agent --namespace door-system --create-  namespace

Uninstall DOOR data-plane

helm uninstall door-agent --namespace door-system
kubectl delete namespace door-system

Configuration

kubectl create secret generic my-licence \
--from-literal=uuid=<uuid licence>
--from-file=user.key=<user.key>
--from-file=user.crt=<user.crt>
--from-file=ca.crt=<ca.crt>
--namespace door-system
  • DOOR API infos
global:
  # door-api config
  doorAPI:
    protocol: http
    # internalServiceName: door-api-svc
    externalUrl: api.door.io
    ...
  • Config DOOR Agent

Set metricServer to false if you already have metric server installed in the cluster.

doorAgent:
  metricServer: true
  image:
    name: docker.io/beopenit/door-agent
    version: v1.0.0
  kafka:
    brokers: <kafka brokers>
  licence:
    secret:
      name: my-licence
  • Optional door-agent settings (v3.0.16)

All of them default to the previous rendering.

doorAgent:
  # defaultCluster=true only: set to false to drop the door-api-check initContainer
  # (door-api not deployed in this cluster).
  waitForDoorApi: true
  # Scheduling of the door-agent Deployment, rendered only when set.
  nodeSelector:
    workload-tier: heavy
  tolerations: []
  affinity: {}
  kafka:
    # Secrets of the kafka-user and kafka-ca volumes. Empty keeps the historical names
    # (door-kafka-superadmin / the licence Secret when defaultCluster=false, and
    # door-kafka-cluster-cluster-ca-cert).
    userSecret: door-agent-do-kafka-user
    caSecret: door-agent-do-kafka-ca

Deploy door-agent with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has door-agent 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 chartdoor-agent is pinned at v3.0.16 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