prometheusoperator

package
v1.108.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ManagedResourceName is the name of the ManagedResource for the resources.
	ManagedResourceName = "prometheus-operator"
)

Variables

View Source
var TimeoutWaitForManagedResource = 5 * time.Minute

TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy or deleted.

Functions

func GetLabels

func GetLabels() map[string]string

GetLabels returns the labels for the prometheus-operator.

func New

func New(client client.Client, namespace string, values Values) component.DeployWaiter

New creates a new instance of DeployWaiter for the prometheus-operator.

func NewCRDs

func NewCRDs(client client.Client, applier kubernetes.Applier) (component.DeployWaiter, error)

NewCRDs can be used to deploy the CRD definitions for the Prometheus Operator.

Types

type Values

type Values struct {
	// Image defines the container image of prometheus-operator.
	Image string
	// Image defines the container image of config-reloader.
	ImageConfigReloader string
	// PriorityClassName is the name of the priority class for the deployment.
	PriorityClassName string
}

Values contains configuration values for the prometheus-operator resources.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL