diagnose

package
v0.23.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	GatewayHAStatusLabel = "gateway.submariner.io/status"
	GatewayNodeLabel     = "gateway.submariner.io/node"
)
View Source
const (
	Libreswan = "libreswan"
	Wireguard = "wireguard"
	VxLAN     = "vxlan"
)
View Source
const (
	LoadBalancerName           = "submariner-gateway"
	LoadBalancerEncapsPortName = "cable-encaps"
	LoadBalancerNattPortName   = "natt-discovery"
)
View Source
const (
	KubeProxyMissingInterface = "ip: can't find device"
	KubeProxyNotEnabled       = "Device \"kube-ipvs0\" does not exist"
)

Variables

View Source
var CalicoGVR = schema.GroupVersionResource{
	Group:    "crd.projectcalico.org",
	Version:  "v1",
	Resource: "ippools",
}
View Source
var MinOVNNBVersion = semver.New("6.1.0")

Functions

func CNIConfig

func CNIConfig(ctx context.Context, clusterInfo *cluster.Info, _ string, status reporter.Interface) error

func CheckGatewayConnections added in v0.21.0

func CheckGatewayConnections(ctx context.Context, clusterInfo *cluster.Info, status reporter.Interface) error

func CheckRouteAgentConnections added in v0.21.0

func CheckRouteAgentConnections(ctx context.Context, clusterInfo *cluster.Info, status reporter.Interface) error

func Connections

func Connections(ctx context.Context, clusterInfo *cluster.Info, _ string, status reporter.Interface) error

func Deployments

func Deployments(ctx context.Context, clusterInfo *cluster.Info, _ string, imageOverrides []string, status reporter.Interface) error

func FirewallIntraVxLANConfig

func FirewallIntraVxLANConfig(ctx context.Context, clusterInfo *cluster.Info, namespace string, options FirewallOptions,
	status reporter.Interface,
) error

func GlobalnetConfig

func GlobalnetConfig(ctx context.Context, clusterInfo *cluster.Info, _ string, status reporter.Interface) error

func K8sVersion

func K8sVersion(ctx context.Context, clusterInfo *cluster.Info, _ string, status reporter.Interface) error

func KubeProxyMode

func KubeProxyMode(ctx context.Context, clusterInfo *cluster.Info, namespace string, imageOverrides []string, status reporter.Interface,
) error

func NatDiscoveryConfigAcrossClusters

func NatDiscoveryConfigAcrossClusters(ctx context.Context, localClusterInfo, remoteClusterInfo *cluster.Info, namespace string,
	options FirewallOptions, status reporter.Interface,
) error

func ServiceDiscovery added in v0.14.0

func ServiceDiscovery(ctx context.Context, clusterInfo *cluster.Info, _ string, status reporter.Interface) error

func TunnelConfigAcrossClusters

func TunnelConfigAcrossClusters(ctx context.Context, localClusterInfo, remoteClusterInfo *cluster.Info, namespace string,
	options FirewallOptions, status reporter.Interface,
) error

Types

type FirewallOptions

type FirewallOptions struct {
	ImageOverrides    []string
	ValidationTimeout uint
	VerboseOutput     bool
}

type TargetPort

type TargetPort int
const (
	TunnelPort TargetPort = iota
	NatDiscoveryPort
)

Jump to

Keyboard shortcuts

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