cluster-proxy
A Helm chart for Cluster-Proxy OCM Addon
About this chart
cluster-proxy
cluster-proxy - Installs cluster-proxy in managed clusters
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable
$ helm repo update
$ helm search repo appscode/cluster-proxy --version=v2024.2.25
$ helm upgrade -i cluster-proxy appscode/cluster-proxy -n open-cluster-management --create-namespace --version=v2024.2.25
Introduction
This chart deploys a cluster-proxy on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.21+
Installing the Chart
To install/upgrade the chart with the release name cluster-proxy:
$ helm upgrade -i cluster-proxy appscode/cluster-proxy -n open-cluster-management --create-namespace --version=v2024.2.25
The command deploys a cluster-proxy on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall the cluster-proxy:
$ helm uninstall cluster-proxy -n open-cluster-management
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the cluster-proxy chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| registry | Image registry | ghcr.io/kluster-manager |
| image | Image of the cluster-gateway instances | cluster-proxy |
| tag | Image tag | latest |
| replicas | Number of replicas | 1 |
| proxyServerImage | ghcr.io/kluster-manager/cluster-proxy | |
| proxyAgentImage | ghcr.io/kluster-manager/cluster-proxy | |
| proxyServer.entrypointLoadBalancer | false | |
| proxyServer.entrypointAddress | "" | |
| proxyServer.port | 8091 | |
| kubeconfigSecretName | required for multicluster controlplane | "" |
| kubectl.image | ghcr.io/appscode/kubectl-nonroot:1.25 |
Specify each parameter using the --set key=value[,key=value] argument to helm upgrade -i. For example:
$ helm upgrade -i cluster-proxy appscode/cluster-proxy -n open-cluster-management --create-namespace --version=v2024.2.25 --set registry=ghcr.io/kluster-manager
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:
$ helm upgrade -i cluster-proxy appscode/cluster-proxy -n open-cluster-management --create-namespace --version=v2024.2.25 --values values.yaml
Deploy cluster-proxy with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cluster-proxy 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 chartcluster-proxy is pinned at v2024.2.25 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