topology

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0, MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// WebhookName the name of the topology webhook.
	WebhookName = "topology"
)

Variables

This section is empty.

Functions

func AddToManager

func AddToManager(mgr manager.Manager) (*extensionswebhook.Webhook, error)

AddToManager creates a webhook adds the webhook to the manager.

func New

func New(log logr.Logger) *handler

New initializes a new topology handler that is responsible for adjusting the node affinity of pods. The LabelTopologyZone label that Azure CCM adds to nodes does not contain only the zone as it appears in Azure API calls but also the region like "$region-$zone". When only "$zone" is present for the LabelTopologyZone selector key this handler will adapt it to match the format that is used by the CCM labels.

Types

This section is empty.

Jump to

Keyboard shortcuts

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