storage

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateESCerts added in v1.10.0

func CreateESCerts(jaeger *v1.Jaeger, existingSecrets []corev1.Secret) error

CreateESCerts 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 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 ESSecrets added in v1.10.0

func ESSecrets(jaeger *v1.Jaeger) []corev1.Secret

ESSecrets assembles a set of secrets related to Elasticsearch

func EnableRollover added in v1.11.0

func EnableRollover(spec v1.JaegerStorageSpec) bool

EnableRollover returns true if rollover should be enabled

func OptionsPrefix

func OptionsPrefix(storageType string) string

OptionsPrefix returns the options prefix associated with the supplied storage type

func ShouldDeployElasticsearch added in v1.10.0

func ShouldDeployElasticsearch(s v1.JaegerStorageSpec) bool

ShouldDeployElasticsearch determines whether a new instance of Elasticsearch should be deployed

func ValidTypes

func ValidTypes() []string

ValidTypes returns the list of valid storage types

Types

type ElasticsearchDeployment added in v1.10.0

type ElasticsearchDeployment struct {
	Jaeger *v1.Jaeger
}

ElasticsearchDeployment represents an ES deployment for Jaeger

func (*ElasticsearchDeployment) Elasticsearch added in v1.10.0

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

Elasticsearch returns an ES CR for the deployment

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

Directories

Path Synopsis
elasticsearch
v1
+k8s:deepcopy-gen=package +groupName=logging.openshift.io
+k8s:deepcopy-gen=package +groupName=logging.openshift.io

Jump to

Keyboard shortcuts

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