hubblecell

package
v1.19.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 48 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cell = cell.Module(
	"hubble",
	"Exposes the Observer gRPC API and Hubble metrics",

	Core,

	ConfigProviders,

	certloaderGroup,

	exportercell.Cell,

	metricscell.Cell,

	dropeventemitter.Cell,

	parsercell.Cell,

	namespace.Cell,

	peercell.Cell,
)

The top-level Hubble cell, implements several Hubble subsystems: reports pod network drops to k8s, Hubble flows based prometheus metrics, flows logging and export, and a couple of local and tcp gRPC servers.

View Source
var ConfigProviders = cell.Group(

	cell.ProvidePrivate(func(cfg config, tlsCfg certloaderConfig) *peercell.HubbleConfig {
		return &peercell.HubbleConfig{
			ListenAddress:   cfg.ListenAddress,
			PreferIpv6:      cfg.PreferIpv6,
			EnableServerTLS: !tlsCfg.DisableServerTLS,
		}
	}),
)

ConfigProviders provides configuration objects for Hubble components. This group creates and provides configuration structs by combining different configuration sources (hubble config, TLS config, etc.).

View Source
var Core = cell.Group(
	cell.Provide(newHubbleIntegration),
	cell.Config(defaultConfig),
)

The core cell group, which contains the Hubble integration and the Hubble integration configuration isolated from the dependency graph will enable us to run hubble with a different dataplane

Functions

This section is empty.

Types

type HubbleIntegration

type HubbleIntegration interface {
	Launch(ctx context.Context) error
	Status(ctx context.Context) *models.HubbleStatus
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL