topology

package
v0.21.11-rc.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 1 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetZoneKey

func GetZoneKey(node *v1.Node) string

GetZoneKey is a helper function that builds a string identifier that is unique per failure-zone; it returns empty-string for no zone. Since there are currently two separate zone keys:

  • "failure-domain.beta.kubernetes.io/zone"
  • "topology.kubernetes.io/zone"

GetZoneKey will first check failure-domain.beta.kubernetes.io/zone and if not exists, will then check topology.kubernetes.io/zone

Types

This section is empty.

Jump to

Keyboard shortcuts

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