Documentation ¶
Index ¶
Constants ¶
View Source
const ( LeaseDuration = 15 RenewDeadline = 10 RetryPeriod = 2 ResourceLock = "endpointsleases" ResourceName = "pixiu-autoscaler-controller" ResourceNamespace = "kube-system" HealthzHost = "127.0.0.1" HealthzPort = "10256" PPort = "6060" )
View Source
const (
// PixiuControllerManagerUserAgent is the userAgent name when starting pixiu-autoscaler managers.
PixiuControllerManagerUserAgent = "pixiu-autoscaler-controller"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { ComponentConfig config.PixiuConfiguration // ConfigFile is the location of the autoscaler's configuration file. ConfigFile string Master string }
Options has all the params needed to run a Autoscaler
func NewOptions ¶
Click to show internal directories.
Click to hide internal directories.