otelcollector

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeConfigMap

func MakeConfigMap(config Config, collectorConfig collectorconfig.Config) *corev1.ConfigMap

func MakeDeployment

func MakeDeployment(config Config, configHash string) *appsv1.Deployment

func MakeMetricsService

func MakeMetricsService(config Config) *corev1.Service

func MakeOTLPService

func MakeOTLPService(config Config) *corev1.Service

func MakeOpenCensusService

func MakeOpenCensusService(config Config) *corev1.Service

func MakeSecret

func MakeSecret(config Config, secretData map[string][]byte) *corev1.Secret

Types

type Config

type Config struct {
	BaseName          string
	Namespace         string
	OverrideConfigMap types.NamespacedName

	Deployment   DeploymentConfig
	Service      ServiceConfig
	Overrides    overrides.Config
	MaxPipelines int
}

type DeploymentConfig

type DeploymentConfig struct {
	Image             string
	PriorityClassName string
	CPULimit          resource.Quantity
	MemoryLimit       resource.Quantity
	CPURequest        resource.Quantity
	MemoryRequest     resource.Quantity
}

type ServiceConfig

type ServiceConfig struct {
	OTLPServiceName string
}

Jump to

Keyboard shortcuts

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