storage

package
v1.54.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dependencies

func Dependencies(jaeger *v1.Jaeger) []batchv1.Job

Dependencies return a list of Jobs that have to be finished before the other components are deployed

func EnableRollover added in v1.11.0

func EnableRollover(spec v1.JaegerStorageSpec) bool

EnableRollover returns true if rollover should be enabled

func GetGRPCPluginInitContainers added in v1.25.0

func GetGRPCPluginInitContainers(jaeger *v1.Jaeger, commonSpec *v1.JaegerCommonSpec) []corev1.Container

GetGRPCPluginInitContainers returns init containers for grpc-plugin storage.

func UpdateGRPCPlugin added in v1.25.0

func UpdateGRPCPlugin(jaeger *v1.Jaeger, commonSpec *v1.JaegerCommonSpec)

UpdateGRPCPlugin configures storage grpc-plugin. It adds storage flags, volume and volume mount for the plugin binary.

Types

type ElasticsearchDeployment added in v1.10.0

type ElasticsearchDeployment struct {
	Jaeger     *v1.Jaeger
	CertScript string
	Secrets    []corev1.Secret
}

ElasticsearchDeployment represents an ES deployment for Jaeger

func (*ElasticsearchDeployment) CleanCerts added in v1.12.1

func (ed *ElasticsearchDeployment) CleanCerts() error

CleanCerts removes certificates from local filesystem. Use this function in tests to clean resources

func (*ElasticsearchDeployment) CreateCerts added in v1.12.1

func (ed *ElasticsearchDeployment) CreateCerts() error

CreateCerts creates certificates for elasticsearch, jaeger and curator The cert generation is done by shell script. If the certificates are not present on the filesystem the operator injects them from secrets - this allows operator restarts. The script also re-generates expired certificates.

func (*ElasticsearchDeployment) Elasticsearch added in v1.10.0

func (ed *ElasticsearchDeployment) Elasticsearch() *esv1.Elasticsearch

Elasticsearch returns an ES CR for the deployment

func (*ElasticsearchDeployment) ExtractSecrets added in v1.12.1

func (ed *ElasticsearchDeployment) ExtractSecrets() []corev1.Secret

ExtractSecrets assembles a set of secrets related to Elasticsearch

func (*ElasticsearchDeployment) InjectSecretsConfiguration added in v1.11.0

func (ed *ElasticsearchDeployment) InjectSecretsConfiguration(p *corev1.PodSpec)

InjectSecretsConfiguration changes the given spec to include the options for the index cleaner

func (*ElasticsearchDeployment) InjectStorageConfiguration added in v1.10.0

func (ed *ElasticsearchDeployment) InjectStorageConfiguration(p *corev1.PodSpec)

InjectStorageConfiguration changes the given spec to include ES-related command line options

Jump to

Keyboard shortcuts

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