Documentation ¶
Index ¶
Constants ¶
View Source
const ( MachineGroupKey = "imperator.tenzen-y.io/machine-group" MachineStatusKey = "imperator.tenzen-y.io/node-pool" MachineTypeKey = "imperator.tenzen-y.io/machine-type" PodRoleKey = "imperator.tenzen-y.io/pod-role" StatefulSetImage = "alpine:3.15.0" NvidiaGPUFamilyKey = "nvidia.com/gpu.family" NvidiaGPUProductKey = "nvidia.com/gpu.product" NvidiaGPUMachineKey = "nvidia.com/gpu.machine" KindMachineNodePool = "MachineNodePool" KindMachine = "Machine" PodRoleReservation = "reservation" PodRoleGuest = "guest" MachineNodePoolFinalizer = "imperator-machinenodepool-finalizer" NodeNotReadyTaint = "node.kubernetes.io/not-ready" SuiteTestTimeOut = time.Second * 5 ImperatorResourceInjectionKey = "imperator.tenzen.io/inject-resource" ImperatorResourceInjectionEnabled = "enabled" ImperatorResourceInjectContainerNameKey = "imperator.tenzen-y.io/injecting-container" PodResourceInjectorPath = "/mutate-core-v1-pod" )
Variables ¶
View Source
var ( CannotUseNodeTaints = []string{ "node.kubernetes.io/not-ready", "node.kubernetes.io/unschedulable", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/unreachable", } ImperatorCoreNamespace = getEnvVarOrDefault("IMPERATOR_CORE_NAMESPACE", "imperator-system") CmpSliceOpts = []cmp.Option{ cmpopts.SortSlices(func(i, j int) bool { return i < j }), } CmpStatefulSetOpts = []cmp.Option{ cmpopts.IgnoreFields(appsv1.StatefulSetSpec{}, "Selector", "Template"), } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.