mw-kube-agent-v2

by Middleware

Helm chartv2.8.6App 0.2.4Verified publisher

A Helm chart for Kubernetes

About this chart

Middleware Kubernetes Agent

Installation Process

Create a middleware-values.yaml using the content given below.

mw:
  target: XXXXXXXXX
  apiKey: XXXXXXXXX

clusterMetadata:
  name: my-cluster

Replace XXXXXXXXX with actual Middleware Target & API Key which you can get from your Middleware account => https://app.middleware.io

helm repo add middleware-labs https://helm.middleware.io
helm install mw-agent middleware-labs/mw-kube-agent-v2 -f middleware-values.yaml

Use Existing Secret for API Key ( Optional )

If you already have a secret named my-custom-secret that contains middleware-api-key, you can use it instead of putting your API Key in a local file.

mw:
  target: XXXXXXXXX
  apiKeyFromExistingSecret:
    enabled: true
    name: my-custom-secret
    key: middleware-api-key

clusterMetadata:
  name: my-cluster

Deploy mw-kube-agent-v2 with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mw-kube-agent-v2 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 chartmw-kube-agent-v2 is pinned at v2.8.6 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