Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConnection ¶
type ClientConnection struct {
// QPS controls the number of queries per second allowed before client-side throttling
// connection to the API server.
QPS *float32 `json:"qps,omitempty"`
// Burst allows extra queries to accumulate when a client is exceeding its rate.
Burst *int32 `json:"burst,omitempty"`
}
type CodeFlareOperatorConfiguration ¶
type CodeFlareOperatorConfiguration struct {
// ClientConnection provides additional configuration options for Kubernetes
// API server client.
ClientConnection *ClientConnection `json:"clientConnection,omitempty"`
// ControllerManager returns the configurations for controllers
ControllerManager `json:",inline"`
KubeRay *KubeRayConfiguration `json:"kuberay,omitempty"`
}
type ControllerManager ¶
type ControllerManager struct {
// Metrics contains the controller metrics configuration
// +optional
Metrics MetricsConfiguration `json:"metrics,omitempty"`
// Health contains the controller health configuration
// +optional
Health HealthConfiguration `json:"health,omitempty"`
// LeaderElection is the LeaderElection config to be used when configuring
// the manager.Manager leader election
LeaderElection *configv1alpha1.LeaderElectionConfiguration `json:"leaderElection,omitempty"`
}
type HealthConfiguration ¶
type HealthConfiguration struct {
// BindAddress is the TCP address that the controller should bind to
// for serving health probes.
// It can be set to "0" or "" to disable serving the health probe.
// +optional
BindAddress string `json:"bindAddress,omitempty"`
// ReadinessEndpointName, defaults to "readyz"
// +optional
ReadinessEndpointName string `json:"readinessEndpointName,omitempty"`
// LivenessEndpointName, defaults to "healthz"
// +optional
LivenessEndpointName string `json:"livenessEndpointName,omitempty"`
}
HealthConfiguration defines the health configuration.
type KubeRayConfiguration ¶ added in v1.3.0
type MetricsConfiguration ¶
type MetricsConfiguration struct {
// BindAddress is the TCP address that the controller should bind to
// for serving Prometheus metrics.
// It can be set to "0" to disable the metrics serving.
// +optional
BindAddress string `json:"bindAddress,omitempty"`
}
MetricsConfiguration defines the metrics configuration.
Click to show internal directories.
Click to hide internal directories.