Documentation ¶
Index ¶
Constants ¶
View Source
const ( AnnotationManagedBy = "managedBy" AnnotationVpaButler = "vpa_butler" )
Variables ¶
View Source
var ( VpaUpdateMode = vpav1.UpdateModeOff VpaControlledValues = vpav1.ContainerControlledValuesRequestsOnly SupportedUpdatedModes = []string{ string(vpav1.UpdateModeOff), string(vpav1.UpdateModeInitial), string(vpav1.UpdateModeRecreate), } SupportedControlledValues = []string{ string(vpav1.ContainerControlledValuesRequestsOnly), string(vpav1.ContainerControlledValuesRequestsAndLimits), } )
Functions ¶
func ConfigureVpaBaseline ¶
func ConfigureVpaBaseline(vpa *vpav1.VerticalPodAutoscaler, owner client.Object, updateMode vpav1.UpdateMode)
func ManagedByButler ¶
func ManagedByButler(vpa *vpav1.VerticalPodAutoscaler) bool
Types ¶
type NamedResourceList ¶ added in v0.4.0
type NamedResourceList struct { ContainerName string Resources corev1.ResourceList }
Click to show internal directories.
Click to hide internal directories.