diff --git a/charts/jaeger-v2/.helmignore b/charts/jaeger-v2/.helmignore deleted file mode 100644 index f0c13194..00000000 --- a/charts/jaeger-v2/.helmignore +++ /dev/null @@ -1,21 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*~ -# Various IDEs -.project -.idea/ -*.tmproj diff --git a/charts/jaeger-v2/Chart.lock b/charts/jaeger-v2/Chart.lock deleted file mode 100644 index 89e13342..00000000 --- a/charts/jaeger-v2/Chart.lock +++ /dev/null @@ -1,15 +0,0 @@ -dependencies: -- name: cassandra - repository: https://charts.helm.sh/incubator - version: 0.15.3 -- name: elasticsearch - repository: https://charts.bitnami.com/bitnami - version: 20.0.4 -- name: kafka - repository: https://charts.bitnami.com/bitnami - version: 26.6.2 -- name: common - repository: https://charts.bitnami.com/bitnami - version: 2.23.0 -digest: sha256:b13c6270d6d45478b47d03157f7a1c44add98be0809d83b22597a0c800781c10 -generated: "2024-10-01T10:23:03.372102011Z" diff --git a/charts/jaeger-v2/Chart.yaml b/charts/jaeger-v2/Chart.yaml deleted file mode 100644 index 7f5afb50..00000000 --- a/charts/jaeger-v2/Chart.yaml +++ /dev/null @@ -1,45 +0,0 @@ -apiVersion: v2 -appVersion: 1.53.0 -description: A Jaeger Helm chart for Kubernetes -name: jaeger -type: application -version: 3.3.1 -# CronJobs require v1.21 -kubeVersion: ">= 1.21-0" -keywords: - - jaeger - - opentelemetry - - tracing -home: https://jaegertracing.io -icon: https://www.jaegertracing.io/img/jaeger-icon-reverse-color.svg -sources: - - https://hub.docker.com/u/jaegertracing/ -maintainers: - - name: dvonthenen - email: david.vonthenen@dell.com - - name: mehta-ankit - email: ankit.mehta@appian.com - - name: mikelorant - email: michael.lorant@fairfaxmedia.com.au - - name: naseemkullah - email: naseem@transit.app - - name: pavelnikolov - email: me@pavelnikolov.net - - name: jkowall - email: jkowall@kowall.net -dependencies: - - name: cassandra - version: 0.15.3 - repository: https://charts.helm.sh/incubator - condition: provisionDataStore.cassandra - - name: elasticsearch - version: 20.0.4 - repository: https://charts.bitnami.com/bitnami - condition: provisionDataStore.elasticsearch - - name: kafka - version: 26.6.2 - repository: https://charts.bitnami.com/bitnami - condition: provisionDataStore.kafka - - name: common - repository: https://charts.bitnami.com/bitnami - version: 2.x.x diff --git a/charts/jaeger-v2/readme.md b/charts/jaeger-v2/readme.md deleted file mode 100644 index 4d2954cb..00000000 --- a/charts/jaeger-v2/readme.md +++ /dev/null @@ -1,167 +0,0 @@ -# Jaeger Helm Chart Deployment (Version 2) Documentation - -## Overview - -This document outlines the steps to deploy the Jaeger Helm chart (version 2) and provides information on how to use a custom `values.yaml` configuration file during installation. The Jaeger Helm chart includes multiple sub-charts for data stores like Cassandra, Elasticsearch, and Kafka. - -## Directory Structure - -The structure of the Jaeger Helm chart is as follows: - -```bash -kali@PC:~/LFX/helm-charts/charts/jaeger-v2$ tree -. -├── Chart.lock -├── Chart.yaml -├── charts -│ ├── cassandra-0.15.3.tgz -│ ├── common-2.23.0.tgz -│ ├── elasticsearch-20.0.4.tgz -│ └── kafka-26.6.2.tgz -├── readme.md -├── templates -│ ├── _helpers.tpl -│ ├── config-map.yaml -│ └── deployment.yaml -└── values.yaml - -3 directories, 11 files -``` - -### Key Files -- **Chart.yaml**: Contains metadata about the Helm chart such as the chart version, name, and dependencies. -- **templates/**: This directory contains Kubernetes manifests that are templated by Helm and used for the deployment of the Jaeger application. Key templates include: - - `config-map.yaml`: Configures the ConfigMap for the application. - - `deployment.yaml`: Contains the template for the Kubernetes deployment of Jaeger. -- **values.yaml**: This file contains default configuration values for the chart, which are applied unless overridden by a custom file. -- **charts/**: Contains Helm chart dependencies such as Cassandra, Elasticsearch, Kafka, and common utilities. -- **readme.md**: Provides chart-specific documentation. - -## Helm Installation - -You can install the Jaeger Helm chart with the following commands: - -### Basic Installation - -To install the Jaeger chart using the default values from the included `values.yaml`: - -```bash -helm install ./ -``` - -- `` is the name you want to give your release. - -### Installation with Custom Values - -If you want to use a custom configuration, you can pass a custom `values.yaml` file. This allows you to override the default values specified in the chart’s `values.yaml`. - -Use the following command to install the chart with a custom values file: - -```bash -helm install ./ -f -``` - -- Replace `` with the desired name for your Helm release. -- Replace `` with the path to your custom configuration file. - -### Example: - -```bash -helm install jaeger-v2 ./ -f my-config-values.yaml -``` - -This command installs the Jaeger chart and uses `my-config-values.yaml` for overriding any configuration specified in the default `values.yaml`. - -## Custom Values - -When deploying Jaeger using a custom values file, any configuration set in the file will take precedence over the default settings in `values.yaml`. For example, you can modify parameters for `receivers`, `processors`, `exporters`, and more within your custom values file. - -### Example Custom `values.yaml` - -```yaml - - service: - extensions: [jaeger_storage, jaeger_query, remote_sampling, healthcheckv2] - pipelines: - traces: - receivers: [otlp, jaeger, zipkin] - processors: [batch, adaptive_sampling] - exporters: [jaeger_storage_exporter] - - extensions: - healthcheckv2: - use_v2: true - http: {} - - - jaeger_query: - storage: - traces: some_store - traces_archive: another_store - ui: - config_file: ./cmd/jaeger/config-ui.json - - jaeger_storage: - backends: - some_store: - memory: - max_traces: 90000 - another_store: - memory: - max_traces: 90000 - - remote_sampling: - adaptive: - sampling_store: some_store - initial_sampling_probability: 0.2 - http: {} - grpc: {} - - receivers: - otlp: - protocols: - grpc: {} - http: {} - - jaeger: - protocols: - grpc: {} - thrift_binary: {} - thrift_compact: {} - thrift_http: {} - - zipkin: {} - - processors: - batch: {} - adaptive_sampling: {} - - exporters: - jaeger_storage_exporter: - trace_storage: some_store -``` - -## Dependencies - -This Helm chart comes with pre-packaged dependencies for data stores: -- **Cassandra**: Version `0.15.3` -- **Elasticsearch**: Version `20.0.4` -- **Kafka**: Version `26.6.2` -- **Common**: Version `2.23.0` - -These dependencies can be managed through the `charts/` directory, and they are installed as part of the Jaeger deployment. - -## Uninstallation - -To uninstall the Helm release, use the following command: - -```bash -helm uninstall -``` - -This will remove all Kubernetes resources created by the chart, including ConfigMaps, Deployments, Services, and StatefulSets. - -## Conclusion - -This document provides a summary of how to install and configure the Jaeger Helm chart (version 2) with both default and custom values. Custom configurations can be applied via a user-defined `values.yaml` file using the `-f` flag during installation.# Jaeger Helm Chart Deployment (Version 2) Documentation - diff --git a/charts/jaeger-v2/templates/_helpers.tpl b/charts/jaeger-v2/templates/_helpers.tpl deleted file mode 100644 index 84836006..00000000 --- a/charts/jaeger-v2/templates/_helpers.tpl +++ /dev/null @@ -1,62 +0,0 @@ -{{/* -Expand the name of the chart. -*/}} -{{- define "jaeger-v2.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "jaeger-v2.fullname" -}} -{{- if .Values.fullnameOverride }} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- $name := default .Chart.Name .Values.nameOverride }} -{{- if contains $name .Release.Name }} -{{- .Release.Name | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} -{{- end }} -{{- end }} -{{- end }} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "jaeger-v2.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Common labels -*/}} -{{- define "jaeger-v2.labels" -}} -helm.sh/chart: {{ include "jaeger-v2.chart" . }} -{{ include "jaeger-v2.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end }} - -{{/* -Selector labels -*/}} -{{- define "jaeger-v2.selectorLabels" -}} -app.kubernetes.io/name: {{ include "jaeger-v2.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end }} - -{{/* -Create the name of the service account to use -*/}} -{{- define "jaeger-v2.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "jaeger-v2.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} diff --git a/charts/jaeger-v2/templates/config-map.yaml b/charts/jaeger-v2/templates/config-map.yaml deleted file mode 100644 index ce4ad4dc..00000000 --- a/charts/jaeger-v2/templates/config-map.yaml +++ /dev/null @@ -1,30 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: my-config - namespace: {{ .Release.Namespace }} - annotations: - "helm.sh/hook": pre-install -data: - config.yaml: | - service: - extensions: [{{ join ", " .Values.service.extensions }}] - pipelines: - traces: - receivers: [{{ join ", " .Values.service.pipelines.traces.receivers }}] - processors: [{{ join ", " .Values.service.pipelines.traces.processors }}] - exporters: [{{ join ", " .Values.service.pipelines.traces.exporters }}] - - extensions: -{{ toYaml .Values.extensions | indent 10 }} - - receivers: -{{ toYaml .Values.receivers | indent 10 }} - - processors: -{{ toYaml .Values.processors | indent 10 }} - - exporters: -{{ toYaml .Values.exporters | indent 10 }} - - diff --git a/charts/jaeger-v2/templates/deployment.yaml b/charts/jaeger-v2/templates/deployment.yaml deleted file mode 100644 index c641becc..00000000 --- a/charts/jaeger-v2/templates/deployment.yaml +++ /dev/null @@ -1,49 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: jaeger - labels: - app: jaeger - namespace: {{ .Release.Namespace }} -spec: - replicas: 1 - selector: - matchLabels: - app: jaeger - template: - metadata: - labels: - app: jaeger - spec: - containers: - - name: jaeger - image: jaegertracing/jaeger:latest - args: - - "--config" - - "/etc/jaeger/config.yaml" - ports: - - containerPort: 16686 - name: ui - - containerPort: 14268 - name: collector - - containerPort: 14250 - name: grpc - - containerPort: 9411 - name: zipkin - env: - - name: COLLECTOR_ZIPKIN_HOST_PORT - value: ":9411" - resources: - limits: - cpu: 500m - memory: 512Mi - requests: - cpu: 100m - memory: 256Mi - volumeMounts: - - name: config-volume - mountPath: /etc/jaeger - volumes: - - name: config-volume - configMap: - name: my-config \ No newline at end of file diff --git a/charts/jaeger-v2/values.yaml b/charts/jaeger-v2/values.yaml deleted file mode 100644 index 23db61e5..00000000 --- a/charts/jaeger-v2/values.yaml +++ /dev/null @@ -1,64 +0,0 @@ -service: - extensions: [jaeger_storage, jaeger_query, healthcheckv2] - pipelines: - traces: - receivers: [otlp, jaeger, zipkin] - processors: [batch] - exporters: [jaeger_storage_exporter] - -extensions: - healthcheckv2: - use_v2: true - http: - - # pprof: - # endpoint: 0.0.0.0:1777 - # zpages: - # endpoint: 0.0.0.0:55679 - - jaeger_query: - storage: - traces: some_store - traces_archive: another_store - - - jaeger_storage: - backends: - some_store: - memory: - max_traces: 100000 - another_store: - memory: - max_traces: 100000 - - - -receivers: - otlp: - protocols: - grpc: - http: - - jaeger: - protocols: - grpc: - thrift_binary: - thrift_compact: - thrift_http: - - zipkin: - -processors: - batch: - -exporters: - jaeger_storage_exporter: - trace_storage: some_store - - -image: "jaegertracing/jaeger:latest" - -provisionDataStore: - cassandra: false - elasticsearch: false - kafka: false