cni

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CNIProviderLabelKey = handlers.MetadataDomain + "/cni"
)

Variables

View Source
var ErrMultiplePodsCIDRBlocks = errors.New("cluster has more than 1 Pods network CIDR blocks")

Functions

func PodCIDR

func PodCIDR(cluster *clusterv1.Cluster) (string, error)

PodCIDR will return the Pods network CIDR. If not set returns an empty string. If more than 1 CIDRBlocks is defined will return an error.

func ReadinessSocketPath added in v0.37.0

func ReadinessSocketPath(provider string) (string, error)

ReadinessSocketPath returns the readiness socket path for the given CNI provider. The socket path is used by Multus to wait for the primary CNI to be ready. Returns an empty string and error for unsupported providers.

Types

This section is empty.

Directories

Path Synopsis
Package calico provides a handler for managing Calico deployments on clusters, configurable via variables on the Cluster resource.
Package calico provides a handler for managing Calico deployments on clusters, configurable via variables on the Cluster resource.
Package cilium provides a handler for managing Cilium deployments on clusters, configurable via variables on the Cluster resource.
Package cilium provides a handler for managing Cilium deployments on clusters, configurable via variables on the Cluster resource.
Package multus provides a standalone lifecycle handler for Multus CNI that automatically deploys Multus when: - The cluster is on EKS cloud provider - A supported CNI provider is configured (Cilium or Calico)
Package multus provides a standalone lifecycle handler for Multus CNI that automatically deploys Multus when: - The cluster is on EKS cloud provider - A supported CNI provider is configured (Cilium or Calico)

Jump to

Keyboard shortcuts

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