scaleway-cilium-hubble

by Scaleway

Helm chartv0.1.4App v1.17.3

A Helm chart for adding Hubble to Cilium managed by Scaleway

About this chart

Scaleway Cilium Hubble

This charts deploys Hubble as an add-on to Scaleway Kubernetes clusters.

This chart MUST be deployed in the kube-system namespace !

Requirements

  • Scaleway Kubernetes cluster >= 1.31.0
  • Cilium CNI selected upon cluster creation

Installation

To add the Scaleway Helm repository and install the chart from there, use the following commands:

helm repo add scaleway https://helm.scw.cloud/
helm repo update
helm -n kube-system upgrade --install scaleway-cilium-hubble scaleway/scaleway-cilium-hubble

You'll then need to rollout cilium agents to load the new configuration:

kubectl -n kube-system rollout restart daemonset cilium

You can check the rollout progress using kubectl -n kube-system rollout status daemonset cilium

Configuration

The following table lists the configurable parameters of the Scaleway Cilium Hubble chart and their default values.

ParameterDescriptionDefault Value
nodeConfig.enable-hubbleEnable Hubble gRPC service."true"
nodeConfig.hubble-socket-pathUNIX domain socket for Hubble server to listen to."/var/run/cilium/hubble.sock"
nodeConfig.hubble-event-buffer-capacityCapacity of the buffer to store recent events."32767"
nodeConfig.hubble-metrics-serverAddress to expose Hubble metrics (e.g. ":7070"). Metrics server will be disabled if this field is not set.":9965"
nodeConfig.hubble-metrics-server-enable-tlsEnable or disable TLS for Hubble metrics server."false"
nodeConfig.hubble-metricsA space separated list of metrics to enable.see values.yaml for the default list
nodeConfig.enable-hubble-open-metricsEnable or disable Hubble OpenMetrics."false"
nodeConfig.hubble-export-file-max-size-mbMaximum size of the Hubble export file in MB."10"
nodeConfig.hubble-export-file-max-backupsMaximum number of backups for the Hubble export file."5"
nodeConfig.hubble-listen-addressAn additional address for Hubble server to listen to (e.g. ":4244").":4244"
networkPolicies.enabledAdd network policies to allow the network traffic that Hubble Relay and Hubble UI need to function. This makes sure Hubble works in case you have a deny-all network policy in place on your K8s cluster.false

For other parameters, refer to cilium's own chart documentation under the cilium top level key.

Make sure NOT to enable the operator/envoy/agent as it will break the managed cilium.

Usage

Once the chart is installed, you can forward Hubble UI to the local machine:

kubectl -n kube-system port-forward svc/hubble-ui 12000:80

Then open Hubble UI in a browser at http://localhost:12000

Deploy scaleway-cilium-hubble with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has scaleway-cilium-hubble 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 chartscaleway-cilium-hubble is pinned at v0.1.4 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