cortex

package
v0.11.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 72 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CortexServiceOption

type CortexServiceOption func(*CortexServiceOptions)

func AddHeadlessService

func AddHeadlessService(publishNotReadyAddresses bool) CortexServiceOption

func AddServiceMonitor

func AddServiceMonitor() CortexServiceOption

type CortexServiceOptions

type CortexServiceOptions struct {
	// contains filtered or unexported fields
}

type CortexWorkloadOption

type CortexWorkloadOption func(*CortexWorkloadOptions)

func Affinity added in v0.6.0

func Affinity(affinity *corev1.Affinity) CortexWorkloadOption

func DeploymentStrategy added in v0.6.0

func DeploymentStrategy(strategy *appsv1.DeploymentStrategy) CortexWorkloadOption

func ExtraArgs

func ExtraArgs(args ...string) CortexWorkloadOption

func ExtraEnvVars added in v0.6.0

func ExtraEnvVars(envVars ...corev1.EnvVar) CortexWorkloadOption

func ExtraVolumeMounts

func ExtraVolumeMounts(volumeMounts ...corev1.VolumeMount) CortexWorkloadOption

func ExtraVolumes

func ExtraVolumes(volumes ...corev1.Volume) CortexWorkloadOption

func InitContainers added in v0.6.0

func InitContainers(containers ...corev1.Container) CortexWorkloadOption

func Lifecycle

func Lifecycle(lifecycle *corev1.Lifecycle) CortexWorkloadOption

func NoLivenessProbe added in v0.6.0

func NoLivenessProbe() CortexWorkloadOption

func NoStartupProbe added in v0.6.0

func NoStartupProbe() CortexWorkloadOption

func Ports

func Ports(ports ...Port) CortexWorkloadOption

func Replicas

func Replicas(replicas int32) CortexWorkloadOption

func SecurityContext added in v0.6.0

func SecurityContext(securityContext *corev1.SecurityContext) CortexWorkloadOption

func ServiceName

func ServiceName(serviceName string) CortexWorkloadOption

func SidecarContainers added in v0.6.0

func SidecarContainers(containers ...corev1.Container) CortexWorkloadOption

func TerminationGracePeriodSeconds added in v0.6.0

func TerminationGracePeriodSeconds(seconds int64) CortexWorkloadOption

func UpdateStrategy added in v0.6.0

func UpdateStrategy(strategy *appsv1.StatefulSetUpdateStrategy) CortexWorkloadOption

func VolumeClaimTemplates added in v0.6.0

func VolumeClaimTemplates(templates ...corev1.PersistentVolumeClaim) CortexWorkloadOption

func WithOverrides added in v0.6.0

type CortexWorkloadOptions

type CortexWorkloadOptions struct {
	// contains filtered or unexported fields
}

type Port

type Port string
const (
	HTTP   Port = "http"
	Gossip Port = "gossip"
	GRPC   Port = "grpc"
)

type Reconciler

type Reconciler struct {
	reconciler.ResourceReconciler
	// contains filtered or unexported fields
}

func NewReconciler

func NewReconciler(
	ctx context.Context,
	client client.Client,
	mc *corev1beta1.MonitoringCluster,
) *Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile() (*reconcile.Result, error)

Jump to

Keyboard shortcuts

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