istio

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package istio provides diagnostics for detecting Istio service mesh configuration, cross-cluster load balancing, and validating cluster ID settings.

Index

Constants

View Source
const (
	DiagnosticIstioXClusterLB = config.DiagnosticIstioXClusterLB
)

Variables

View Source
var (
	// Exported for testing
	MaxRetry      = 3
	RetryInterval = 5 * time.Second
)
View Source
var NewProvider = func(ctx context.Context, cfg *config.Settings) diagnostic.Provider {
	return &checker{
		cfg: cfg,
		logger: logging.NewLogger().
			WithContext(ctx).WithField(logging.OpField, "istio-xcluster"),
		configuredClusterID: cfg.Integrations.Istio.ClusterID,
		clusterName:         cfg.Deployment.ClusterName,
		topologyCluster:     os.Getenv(envIstioTopologyCluster),
		aggregatorService:   cfg.Services.CollectorService,
		namespace:           cfg.Services.Namespace,
		serverInfoURL:       envoyAdminServerInfoURL,
		clustersURL:         envoyAdminClustersURL,
	}
}

NewProvider creates a new Istio cross-cluster LB diagnostic provider

Functions

This section is empty.

Types

type IstioMode

type IstioMode string

IstioMode represents the detected Istio service mesh mode

const (
	// IstioModeNone indicates no Istio service mesh detected
	IstioModeNone IstioMode = "none"
	// IstioModeSidecar indicates traditional sidecar proxy mode
	IstioModeSidecar IstioMode = "sidecar"
	// IstioModeAmbient indicates ambient mode (sidecarless)
	IstioModeAmbient IstioMode = "ambient"
)

Jump to

Keyboard shortcuts

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