targetallocator

package
v0.79.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Container

func Container(cfg config.Config, logger logr.Logger, otelcol v1alpha1.OpenTelemetryCollector) corev1.Container

Container builds a container for the given TargetAllocator.

func Deployment

func Deployment(cfg config.Config, logger logr.Logger, otelcol v1alpha1.OpenTelemetryCollector) appsv1.Deployment

Deployment builds the deployment for the given instance.

func Labels

func Labels(instance v1alpha1.OpenTelemetryCollector, name string) map[string]string

Labels return the common labels to all TargetAllocator objects that are part of a managed OpenTelemetryCollector.

func ServiceAccount added in v0.52.0

func ServiceAccount(otelcol v1alpha1.OpenTelemetryCollector) corev1.ServiceAccount

ServiceAccount returns the service account for the given instance.

func ServiceAccountName added in v0.52.0

func ServiceAccountName(instance v1alpha1.OpenTelemetryCollector) string

ServiceAccountName returns the name of the existing or self-provisioned service account to use for the given instance.

func Volumes

func Volumes(cfg config.Config, otelcol v1alpha1.OpenTelemetryCollector) []corev1.Volume

Volumes builds the volumes for the given instance, including the config map volume.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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