Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultSchedulerName = "godel-scheduler" DefaultClientConnectionContentType = "application/vnd.kubernetes.protobuf" DefaultClientConnectionQPS = 10000.0 DefaultClientConnectionBurst = 10000 DefaultInsecureBinderPort = 10351 DispatcherDefaultLockObjectName = "dispatcher" )
Variables ¶
This section is empty.
Functions ¶
func SetDefaults ¶
func SetDefaults(cfg *GodelDispatcherConfiguration)
Types ¶
type GodelDispatcherConfiguration ¶
type GodelDispatcherConfiguration struct { // DebuggingConfiguration holds configuration for Debugging related features // TODO: We might wanna make this a substruct like Debugging componentbaseconfig.DebuggingConfiguration componentbaseconfig.DebuggingConfiguration // ClientConnection specifies the kubeconfig file and client connection // settings for the proxy server to use when communicating with the apiserver. ClientConnection componentbaseconfig.ClientConnectionConfiguration // SchedulerName specifies a scheduling system, scheduling components(dispatcher, // scheduler, binder) will not accept a pod, unless pod.Spec.SchedulerName == SchedulerName SchedulerName *string // LeaderElection defines the configuration of leader election client. LeaderElection componentbaseconfig.LeaderElectionConfiguration // HealthzBindAddress is the IP address and port for the health check server to serve on, // defaulting to 0.0.0.0:10351 HealthzBindAddress string // MetricsBindAddress is the IP address and port for the metrics server to // serve on, defaulting to 0.0.0.0:10351. MetricsBindAddress string `json:"metricsBindAddress,omitempty" yaml:"metricsBindAddress,omitempty"` // Tracer defines the configuration of tracer Tracer *tracing.TracerConfiguration `json:"tracer,omitempty" yaml:"tracer,omitempty"` }
GodelDispatcherConfiguration configures a godel dispatcher.
Click to show internal directories.
Click to hide internal directories.