monolithic

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAll

func BuildAll(opts Options) ([]client.Object, error)

BuildAll generates all manifests.

func BuildConfigMap

func BuildConfigMap(opts Options) (*corev1.ConfigMap, string, error)

BuildConfigMap creates the Tempo ConfigMap for a monolithic deployment.

func BuildGrafanaDatasource added in v0.9.0

func BuildGrafanaDatasource(opts Options) *grafanav1.GrafanaDatasource

BuildGrafanaDatasource create a Grafana data source.

func BuildJaegerUIIngress added in v0.9.0

func BuildJaegerUIIngress(opts Options) *networkingv1.Ingress

BuildJaegerUIIngress creates a Ingress object for Jaeger UI.

func BuildJaegerUIRoute added in v0.9.0

func BuildJaegerUIRoute(opts Options) (*routev1.Route, error)

BuildJaegerUIRoute creates a Route object for Jaeger UI.

func BuildPrometheusRules added in v0.9.0

func BuildPrometheusRules(opts Options) ([]client.Object, error)

BuildPrometheusRules creates PrometheusRule objects.

func BuildServiceAccount added in v0.9.0

func BuildServiceAccount(opts Options) *corev1.ServiceAccount

BuildServiceAccount creates a Kubernetes service account for Tempo.

func BuildServiceMonitor added in v0.9.0

func BuildServiceMonitor(opts Options) *monitoringv1.ServiceMonitor

BuildServiceMonitor create a ServiceMonitor.

func BuildTempoService

func BuildTempoService(opts Options) *corev1.Service

BuildTempoService creates the service for a monolithic deployment.

func BuildTempoStatefulset

func BuildTempoStatefulset(opts Options) (*appsv1.StatefulSet, error)

BuildTempoStatefulset creates the Tempo statefulset for a monolithic deployment.

func CommonLabels added in v0.9.0

func CommonLabels(instanceName string) map[string]string

CommonLabels returns common labels for each TempoMonolithic object created by the operator.

func ComponentLabels added in v0.9.0

func ComponentLabels(component, instanceName string) labels.Set

ComponentLabels is a list of all commonLabels including the app.kubernetes.io/component:<component> label.

Types

type Options

type Options struct {
	CtrlConfig     configv1alpha1.ProjectConfig
	Tempo          v1alpha1.TempoMonolithic
	ConfigChecksum string
	StorageParams  manifestutils.StorageParams
}

Options defines calculated options required to generate all manifests.

Jump to

Keyboard shortcuts

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