cni

package
v0.0.0-...-a8e90f0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceManagedByLabel      = "app.kubernetes.io/managed-by"
	ResourceManagedByAddonValue = "ingress-appgw-addon"
	ResourceManagedByHelmValue  = "ingress-appgw-helm"
)
View Source
const (
	// PodNetworkTypeLabel is the name of the label on NNCs to tell what mode the network is in.
	PodNetworkTypeLabel = "kubernetes.azure.com/podnetwork-type"

	// OverlayExtensionConfigName is the name of the overlay extension config resource
	OverlayExtensionConfigName = "agic-overlay-extension-config"

	// OverlayConfigReconcileTimeout for checking overlay extension config status
	OverlayConfigReconcileTimeout = 30 * time.Second

	// OverlayConfigReconcilePollInterval for checking overlay extension config status
	OverlayConfigReconcilePollInterval = 2 * time.Second
)

Variables

This section is empty.

Functions

func CleanupOverlayExtensionConfigs

func CleanupOverlayExtensionConfigs(k8sClient client.Client, namespace string, addonMode bool) error

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler reconciles the resources required to configure CNI on the AKS cluster.

func NewReconciler

func NewReconciler(armClient azure.AzClient,
	client client.Client,
	recorder record.EventRecorder,
	cpConfig *azure.CloudProviderConfig,
	appGw n.ApplicationGateway,
	agicPod *v1.Pod,
	namespace string,
	addonMode bool) *Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context) error

Jump to

Keyboard shortcuts

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