Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultThanosVersion = "v0.10.1"
)
Variables ¶
This section is empty.
Functions ¶
func ListOptions ¶
func ListOptions(name string) metav1.ListOptions
func NewThanosRulerCollector ¶
NewThanosRulerCollector creates a thanosRulerCollector initialized with the given cache store
func ThanosRulerStatus ¶
func ThanosRulerStatus(kclient kubernetes.Interface, tr *monitoringv1.ThanosRuler) (*monitoringv1.ThanosRulerStatus, []v1.Pod, error)
ThanosRulerStatus evaluates the current status of a ThanosRuler deployment with respect to its specified resource object. It return the status and a list of pods that are not updated.
Types ¶
type Config ¶
type Config struct {
Host string
TLSInsecure bool
TLSConfig rest.TLSClientConfig
ConfigReloaderImage string
ConfigReloaderCPU string
ConfigReloaderMemory string
ThanosDefaultBaseImage string
Namespaces prometheusoperator.Namespaces
Labels prometheusoperator.Labels
CrdKinds monitoringv1.CrdKinds
EnableValidation bool
LocalHost string
LogLevel string
LogFormat string
ManageCRDs bool
ThanosRulerSelector string
}
Config defines configuration parameters for the Operator.
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
Operator manages life cycle of Thanos deployments and monitoring configurations.
func New ¶
func New(conf prometheusoperator.Config, logger log.Logger, r prometheus.Registerer) (*Operator, error)
New creates a new controller.
Click to show internal directories.
Click to hide internal directories.