relay-proxy
A Helm chart to deploy go-feature-flag-relay proxy into Kubernetes
About this chart
relay-proxy
A Helm chart to deploy go-feature-flag-relay proxy into Kubernetes
How to use the chart
Please replace the keys relayproxy.config in the Values.yaml to fit
your configuration. This file will be stored as configmap in your cluster and
be mount as a volume for the relay-proxy.
After changing the working directory to cmd/relayproxy/helm-charts/relay-proxy,
run the below command:
helm install . --name-template=go-feature-flag-relay-proxy
It will install the chart in your cluster.
Monitoring Port Configuration
The Helm chart supports an optional monitoringPort configuration that allows you to:
- Separate monitoring traffic: Expose a dedicated port for health checks and monitoring
- Enhanced security: Keep monitoring endpoints separate from application traffic
- Flexible health checks: Use the monitoring port for liveness and readiness probes
Example with monitoringPort:
relayproxy:
config: |
server:
mode: http
port: 1031
monitoringPort: 1032
pollingInterval: 1000
startWithRetrieverError: false
logLevel: debug
retriever:
kind: http
url: https://example.com/flags.yaml
exporter:
kind: log
When monitoringPort is configured:
- The monitoring port is exposed alongside the HTTP port
- Health checks (
/healthendpoint) use the monitoring port - Both ports are accessible through the Kubernetes service
Example without monitoringPort (default behavior):
relayproxy:
config: |
server:
mode: http
port: 1031
monitoringPort: 1032
pollingInterval: 1000
startWithRetrieverError: false
logLevel: debug
retriever:
kind: http
url: https://example.com/flags.yaml
exporter:
kind: log
Homepage: https://gofeatureflag.org
Maintainers
| Name | Url | |
|---|---|---|
| thomaspoignant | [email protected] | https://gofeatureflag.org |
Source Code
Values
</td>
</tr>
<tr>
<td id="pdb--maxUnavailable">
<a href="./values.yaml#L64">pdb.maxUnavailable</a>
</td>
<td>
int or string
</td>
</tr>
<tr>
<td id="podAnnotations">
<a href="./values.yaml#L67">podAnnotations</a>
</td>
<td>
object
Deploy relay-proxy with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has relay-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 chartrelay-proxy is pinned at v1.59.1 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