inject

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Annotation is the annotation name to look for when deciding whether or not to inject
	Annotation = "inject-jaeger-agent"
)

Functions

func Needed

func Needed(dep *appsv1.Deployment) bool

Needed determines whether a pod needs to get a sidecar injected or not

func OAuthProxy

func OAuthProxy(jaeger *v1alpha1.Jaeger, dep *appsv1.Deployment) *appsv1.Deployment

OAuthProxy injects an appropriate proxy into the given deployment

func Select

func Select(target *appsv1.Deployment, availableJaegerPods *v1alpha1.JaegerList) *v1alpha1.Jaeger

Select a suitable Jaeger from the JaegerList for the given Pod, or nil of none is suitable

func Sidecar

func Sidecar(dep *appsv1.Deployment, jaeger *v1alpha1.Jaeger)

Sidecar adds a new container to the deployment, connecting to the given jaeger instance

Types

This section is empty.

Jump to

Keyboard shortcuts

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