radar
by Skyhook
Modern Kubernetes visibility - topology, traffic, Helm and GitOps management
About this chart
Radar Helm Chart
Deploy Radar to your Kubernetes cluster for web-based cluster visualization and management.
Maintainers: this directory is the canonical source for the chart. The published copy at
skyhook-io/helm-chartsis auto-synced by thehelmjob in.github/workflows/release.ymlon every Radar release — it overwritescharts/radar/there with the contents of this directory. Do not edithelm-charts/charts/radar/by hand; changes will be clobbered on the next release.
See also: In-Cluster Deployment Guide for ingress and DNS setup.
Prerequisites
- Kubernetes 1.21+
- Helm 3.0+
Installation
Quick Start
helm repo add skyhook https://skyhook-io.github.io/helm-charts
helm repo update skyhook
helm upgrade --install radar skyhook/radar -n radar --create-namespace
Access via port-forward:
kubectl port-forward svc/radar 9280:9280 -n radar
open http://localhost:9280
Each install or upgrade prints how to open Radar for the values you set. To see
it again, run helm get notes radar -n radar.
With Ingress
helm upgrade --install radar skyhook/radar \
-n radar --create-namespace \
--set ingress.enabled=true \
--set ingress.className=nginx \
--set ingress.hosts[0].host=radar.example.com \
--set ingress.hosts[0].paths[0].path=/ \
--set ingress.hosts[0].paths[0].pathType=Prefix
With TLS
helm upgrade --install radar skyhook/radar \
-n radar --create-namespace \
--set ingress.enabled=true \
--set ingress.className=nginx \
--set ingress.hosts[0].host=radar.example.com \
--set ingress.hosts[0].paths[0].path=/ \
--set ingress.hosts[0].paths[0].pathType=Prefix \
--set ingress.tls[0].secretName=radar-tls \
--set ingress.tls[0].hosts[0]=radar.example.com
With Gateway API HTTPRoute
HTTPRoute is disabled by default. Empty httpRoute.rules creates a /
PathPrefix route to Radar's Service. The generated rule has no timeout by
default, so the Gateway deployment's default timeout applies. Set
httpRoute.defaultTimeout to add an explicit request timeout, or set it to
0s to explicitly disable timeout. Set rules for multiple prefixes,
timeouts, filters, or custom backends; supplied rules replace that default and
pass through unchanged.
httpRoute:
enabled: true
parentRefs:
- name: public-gateway
hostnames: []
# Optional timeout for chart-generated default rule.
# defaultTimeout: 30s
rules:
- matches:
- path:
type: PathPrefix
value: /api
timeouts:
request: 30s
backendRequest: 20s
backendRefs:
- name: radar
port: 9280
- matches:
- path:
type: PathPrefix
value: /admin
timeouts:
request: 2m
backendRefs:
- name: radar
port: 9280
Override httpRoute.apiVersion when cluster Gateway API support requires a
different version, for example gateway.networking.k8s.io/v1beta1. Custom
rules can define their own timeouts independently.
httpRoute and ingress are mutually exclusive - enabling both fails the
render. httpRoute.enabled requires at least one parentRefs entry (the
Gateway to attach to), otherwise the render fails rather than emit a route
bound to no Gateway.
Connecting to Radar Cloud
To connect Radar to Radar Cloud (hosted SaaS), follow the install wizard at radarhq.io — it generates the full command with your cluster's bearer token. The wizard's command follows this shape:
kubectl create namespace radar --dry-run=client -o yaml | kubectl apply -f -
kubectl create secret generic radar-cloud-config -n radar \
--from-literal=token=$TOKEN \
--dry-run=client -o yaml | kubectl apply -f -
helm upgrade --install radar skyhook/radar -n radar \
--set cloud.enabled=true \
--set cloud.url=wss://api.radarhq.io/agent \
--set cloud.clusterName=$CLUSTER_NAME \
--set cloud.existingSecret=radar-cloud-config
The radar-cloud-config Secret is managed independently of Helm, so token
rotation is one kubectl apply — no helm upgrade required. The same
applies to GitOps users: manage the Secret with SealedSecrets / SOPS /
External Secrets and reference it via cloud.existingSecret; Helm never
touches its contents.
Joining a Radar Hub with an enrollment key
For a fleet, give every cluster the same enrollment key instead of a token per cluster. Every Radar installed with the same values shows up in the Hub as its own cluster, so the values can be the same for every cluster in a GitOps repository.
An owner creates the key in Radar Hub under Settings > Enrollment keys. The Hub shows it once. On a self-hosted Hub, the install key from the Hub's config works too. If the key is set to wait for approval, a new cluster waits until an owner approves it on the Hub's Clusters page.
The key is a password for all these clusters. Anyone who holds it can add a cluster to your Hub, or show up as one of the clusters that joined with it. Keep it in a Secret, not in values committed to Git.
The key also decides which organization a cluster joins. A cluster that switches to another organization's key joins that organization as a new cluster; its entry in the first organization stays, offline, until an owner there removes it.
-
Store the key in a Secret. The commands are safe to run again, for example to put a new key in place:
kubectl create namespace radar --dry-run=client -o yaml | kubectl apply -f - kubectl create secret generic radar-hub-enrollment -n radar \ --from-literal=key="$ENROLLMENT_KEY" \ --dry-run=client -o yaml | kubectl apply -f -With GitOps, manage this Secret with SealedSecrets, SOPS or External Secrets instead.
-
Install Radar with these values, using your Hub's address:
cloud: enabled: true hubURL: https://hub.example.com enrollment: existingSecret: radar-hub-enrollment auth: mode: proxy rbac: helm: true secrets: true podExec: true portForward: true metrics: true selfUpgrade: truehelm upgrade --install radar skyhook/radar -n radar -f values.yamlThe
authandrbacvalues are the ones a single-cluster install from the Hub uses, so a cluster that joins with the key gets the same features.If the Hub's certificate is self-signed or signed by a private CA, Radar can't verify it and keeps retrying with a certificate error in its log. Add the CA to the values:
cloud: caBundle: | -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----When the Hub serves its own self-signed certificate, the many-clusters steps in Radar Hub include it. Otherwise use the CA of whatever serves the Hub's address, such as your ingress or load balancer.
-
Check that it joined. Radar's log says whether it joined and, if not, why:
kubectl -n radar logs deploy/radar
| Value | Meaning |
|---|---|
cloud.hubURL | The Hub's address. https://, or http:// for localhost only. |
cloud.enrollment.existingSecret / existingSecretKey | The Secret holding the key (key key by default). |
cloud.enrollment.key | The key (rhe_...) inline, for trials. It ends up in the Helm release; prefer existingSecret. |
cloud.clusterName | The exact name shown in the Hub. |
cloud.clusterNamePrefix / clusterNameSuffix | Text put before or after the name Radar picks. Ignored when clusterName is set. |
cloud.caBundle | Extra CA certificates (PEM) for a Hub with a self-signed or private certificate. Used for joining and for the tunnel. Read once at startup; a helm upgrade with a new bundle restarts Radar. |
Cluster names
With no name set, Radar uses the API server host from
kube-public/cluster-info, or cluster-<first 8 characters of the kube-system namespace UID> when that is not available. To choose the name, set
cloud.clusterName per cluster, for example
--set cloud.clusterName=prod-eu. To keep the picked name but mark where it
runs, set a prefix or suffix shared by a group of clusters, for example
cloud.clusterNamePrefix: eu-. The latest change wins: a cluster renamed in
the Hub keeps the Hub's name across restarts, until the name Radar sends
changes (a new clusterName, prefix or suffix, or a new API server host).
How it behaves
- Radar joins with the key every time it starts and gets a new token. The token lives only in Radar's memory; nothing is stored in the cluster. A restart lands on the same cluster entry in the Hub, with its name and history, because the Hub matches the kube-system namespace UID, the namespace and the Helm release.
- When the Hub stops accepting the token, for example because another start of the same cluster joined, Radar joins again on its own.
- When the Hub refuses to add the cluster, Radar keeps trying, and its log says why it isn't joining.
- The Hub keeps one connection per cluster. Another Radar with the same identity waits until that connection ends. After a pod dies without shutting down cleanly, its replacement can wait up to about 90 seconds for the Hub to notice.
- After you change the key in the Secret, restart Radar so it joins with the new key.
- A configured
cloud.tokenorcloud.existingSecretwins. The key is then ignored, and the install renders exactly as a token install. replicaCountmust be 1, and the Deployment uses theRecreatestrategy.cloud.insecureSkipVerifyis refused: usecloud.caBundleinstead.- It needs Radar 1.18.2 or later.
If the key leaks
-
In Radar Hub, delete the key under Settings > Enrollment keys and create a new one. For a self-hosted Hub's install key, change it in the Hub's config.
-
Put the new key in the Secret on every cluster, with the command from step 1 above.
-
Restart Radar on every cluster, so each one joins with the new key and gets a new token:
kubectl -n radar rollout restart deployment/radar
Clusters that are connected keep working after the key is deleted. A cluster that restarts without the new key stays offline until it gets it.
Removed clusters
A cluster removed in Radar Hub stays out, even if Radar keeps running there, for example because GitOps keeps it installed. Radar's log says it was removed. An owner can let it back in under Settings > Enrollment keys, and it comes back as a new cluster with no history. To stop it trying, uninstall Radar from that cluster.
Radar Cloud default integration reads
Radar Cloud's default viewer/member/owner bindings receive explicit get/list/watch
grants for Radar's curated integrations, in addition to their existing roles.
These are full-object Kubernetes permissions: inline configuration in specs and
status is visible, not just Radar's summaries. The baseline adds no writes,
Secret grants, RBAC-object grants, or wildcard resources/groups.
cloud:
defaultRbac:
integrationRead:
viewer: true
member: true
owner: true
clusterScopedRead:
viewer: false # retains namespaced integration reads, not cluster kinds
Each integration follows its rbac.crdGroups collection flag; all=true enables
only the reviewed finite baseline, not arbitrary caller access. Custom base
roles (viewerClusterRole, etc.) do not disable these separate bindings.
integrationRead.<tier>=false removes only the new add-on; existing cluster-read,
base roles, vendor aggregation and customer bindings can still grant access.
For entirely customer-managed user RBAC, set cloud.defaultRbac.create=false
and supply your own bindings. Kubernetes permissions are additive, not denies.
The permission table records exact tuples
and intentional exceptions. See the policy and upgrade guide
for sensitive-resource exclusions, enterprise group bindings and rollout details.
An installed chart upgrade is needed to apply these grants; updating only the
Radar binary (including Radar Cloud self-upgrade) does not update RBAC. Missing new keys
on an older --reuse-values installation default to enabled; set explicit false
before upgrading if the added visibility is unwanted.
Cloud Owner permissions
Helm approves the grants available on each cluster. Organization Owners turn the approved permissions for each integration on or off in Settings → Access. Changes apply on the next request without a Helm upgrade. Access verifies the permissions of each grant in its reported scope. Check my access previews the effect for the signed-in Owner. Turning a grant off leaves access from other Kubernetes role bindings in place. These switches apply only to Owners. Access reports whether Kubernetes serves the Velero API separately from whether the install approves Velero grants.
| Grant | Active by default | What it allows |
|---|---|---|
Argo CD (argocd) | On | Refresh, sync and edit Argo CD Applications |
CloudNativePG (cnpg) | On for built-in Owners | Administer existing clusters, backups, schedules and poolers. Creating a cluster for a restore requires separate permission |
Velero backups and schedules (velero) | On for cluster-wide built-in Owners | Start backups and manage schedules |
Velero backup data (velero-download) | Helm opt-in | Read logs and full backup archives, which can include Secrets |
Approve or remove a grant. Set
cloud.defaultRbac.integrationWrite.<grant>.owner to true or false and
apply the chart. The Velero switch controls both backups and schedules and any
approved backup data access. If the switch is already on, approving
velero-download lets
Deploy radar with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has radar 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 chartradar is pinned at v1.22.0 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