Back to Charts

DEPRECATED - jaeger-operator

stable/jaeger-operator/README.md

latest5.8 KB
Original Source

DEPRECATED - jaeger-operator

This chart has been deprecated and moved to its new home:

To add the repo:

$ helm repo add jaegertracing https://jaegertracing.github.io/helm-charts

jaeger-operator is a Kubernetes operator.

Install

console
$ helm install stable/jaeger-operator

Introduction

This chart bootstraps a jaeger-operator deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.8+ with Beta APIs enabled

Installing the Chart

To install the chart with the release name my-release:

console
$ helm install --name my-release stable/jaeger-operator

The command deploys jaeger-operator on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

console
$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the jaeger-operator chart and their default values.

ParameterDescriptionDefault
image.repositoryController container image repositoryjaegertracing/jaeger-operator
image.tagController container image tag1.15.1
image.pullPolicyController container image pull policyIfNotPresent
jaeger.createJaeger instance will be createdfalse
jaeger.specJaeger instance specification{}
crd.installCustomResourceDefinition will be installedtrue
rbac.createAll required roles and rolebindings will be createdtrue
serviceAccount.createService account to usetrue
rbac.pspEnabledPod security policy for pod will be created and included in rbac rolefalse
rbac.clusterRoleClusterRole will be used by operator ServiceAccountfalse
serviceAccount.nameService account name to use. If not set and create is true, a name is generated using the fullname templatenil
resourcesK8s pod resourcesNone
nodeSelectorNode labels for pod assignment{}
tolerationsToleration labels for pod assignment[]
affinityAffinity settings for pod assignment{}
securityContextSecurity context for pod{}

Specify each parameter you'd like to override using a YAML file as described above in the installation section.

You can also specify any non-array parameter using the --set key=value[,key=value] argument to helm install. For example,

console
$ helm install stable/jaeger-operator --name my-release \
    --set rbac.create=false

After the Helm Installation

Creating a new Jaeger instance

The simplest possible way to install is by creating a YAML file like the following:

YAML
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
  name: simplest

The YAML file can then be used with kubectl:

console
$ kubectl apply -f simplest.yaml

Creating a new Jaeger with ElasticSearch

To do that you need to have an ElasticSearch installed in your Kubernetes cluster or install one using the Helm Chart available for that.

After that just deploy the following manifest:

YAML
# setup an elasticsearch with `make es`
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
  name: simple-prod
spec:
  strategy: production
  storage:
    type: elasticsearch
    options:
      es:
        server-urls: http://elasticsearch:9200
        username: elastic
        password: changeme

The YAML file can then be used with kubectl:

console
$ kubectl apply -f simple-prod.yaml