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 ¶
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.
Click to show internal directories.
Click to hide internal directories.