Compare commits

...

510 Commits

Author SHA1 Message Date
chahat sagar bd7ce6db25
bump python version (#648) 2025-07-19 17:02:17 -04:00
Yuri Shkuro 8ac04753df
Point to v2 chart
Signed-off-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
2025-06-26 21:05:49 -04:00
Paul Hewlett e3ff031bfa
[jaeger] TopologySpreadConstraints (#637) 2025-03-21 09:04:22 +11:00
lsu-tc 9c9abf4646
add schema nodeSelector (#629) 2025-01-25 02:53:10 +11:00
Ryan C. Underwood 2a624a7195
[jaeger] Support gRPC storage in Jaeger >=1.60.0 (#627) 2025-01-16 11:29:15 +11:00
Ryan C. Underwood ba67df8984
[jaeger] Support gRPC storage in Jaeger >=1.60.0 (#626) 2025-01-16 09:45:34 +11:00
Fiete e2dc6645ca
make curl image respect global.imageRegistry (#621) 2024-12-02 08:58:46 +11:00
mehul gautam 05e6fa34d5
[jaeger] Fix hostname for Elasticsearch service and add CI test (#616)
* Fix hostname for Elasticsearch and add CI test

Signed-off-by: mehul <mehulsharma4786@gmail.com>

* fixed the ci

Signed-off-by: mehul <mehulsharma4786@gmail.com>

* fixed es

Signed-off-by: mehul <mehulsharma4786@gmail.com>

---------

Signed-off-by: mehul <mehulsharma4786@gmail.com>
Co-authored-by: mehul <mehulsharam4786@gmail.com>
2024-11-03 09:34:45 +11:00
Yuri Shkuro 1db9b6368c
Share setup sub-action in CI (#615)
* Share setup sub-action in CI

Signed-off-by: Yuri Shkuro <github@ysh.us>
2024-10-31 10:59:34 -04:00
Blair Bowden 4aab996119
upgrade jaeger-operator to latest 1.61.0 (#605)
Signed-off-by: Blair Bowden <blair@radiusmethod.com>
2024-10-01 02:29:36 +03:00
Reddysekhar Gaduputi 29a0e21b58
Jaeger allInOne allow different storage types (#603)
Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>
2024-09-20 06:49:51 +02:00
Kendi 2ee81aa797
[jaeger] Add missing loadBalancerIp to collector-svc template (#601)
Signed-off-by: Kendi Paet <kendi@tavex.eu>
2024-09-12 16:15:54 +02:00
Luca Toscano 3f88797298
[jaeger] Add securityContext for the oauth sidecar in query-deploy.yaml (#600)
The sidecar is missing the securityContext entry, and it makes it
difficult to apply specific settings in the context of K8s PSS
(migrating from PSP for example).

Signed-off-by: Luca Toscano <ltoscano@wikimedia.org>
2024-09-11 16:16:08 +02:00
Pavel Nikolov 4b3ba57811
Add cassandra schema job toleration (#598)
Signed-off-by: Pavel Nikolov <me@pavelnikolov.net>
2024-08-28 14:23:14 +02:00
Andreas Seelinger 30607499d1
[jaeger] Add securityContext for spark cron job (#587)
Signed-off-by: Andreas Seelinger <Andreas.Seelinger@accenture.com>
Signed-off-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
Co-authored-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
2024-08-28 11:21:37 +02:00
Martin Kravec 26e6439422
Fix Update role.yaml to solve issue 581 (#592)
Signed-off-by: Martin Kravec <kravciak@gmail.com>
2024-08-07 18:30:40 +02:00
shivendoodeshmukh 64baeb5478
[jaeger-operator] Add ingressclasses to role.yaml so that the CRD has correct permissions when rbac.cluster.Role is set (#591)
* Update role.yaml to solve issue 581

Signed-off-by: shivendoodeshmukh <shivendoo@gcoea.ac.in>

* Bump Chart Version

Signed-off-by: shivendoodeshmukh <shivendoo@gcoea.ac.in>

---------

Signed-off-by: shivendoodeshmukh <shivendoo@gcoea.ac.in>
2024-07-30 22:34:36 +02:00
Vishu Kamble de6fa208e3
[jaeger] Add ability to edit port name and target port name in query and collector services (#590) 2024-07-28 22:09:05 +03:00
Yuri Shkuro 4c63b62873
Link to sub-READMEs
Signed-off-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
2024-07-15 22:53:10 -04:00
chenlujjj ebdb6ea4fe
[jaeger] allInOne add option tolerations (#588)
Signed-off-by: chenlujjj <953546398@qq.com>
2024-07-11 16:33:53 +02:00
Reddysekhar Gaduputi 1dca63981e
[jaeger] add new options, improvements into allInOne (#586)
* [jaeger] allInOne add option automountServiceAccountToken for serviceaccount

Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>

* [jaeger] allInOne add affinity support

Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>

* [jaeger] allInOne add topologySpreadConstraints support

Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>

* [jaeger] allInOne add podSecurityContext and containerSecurityContext support

Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>

---------

Signed-off-by: Reddysekhar Gaduputi <gsekhar73@gmail.com>
2024-06-26 11:45:29 +02:00
Pavel Nikolov f4213e24f1
Add missing quotes in readme 2024-05-28 09:05:59 +02:00
Pavel Nikolov e55d6dd135
fix storage val in readme 2024-05-25 10:33:34 +02:00
Jimmy Ungerman b8e09c0493
upgrade jaeger-operator to latest 1.57 version (#573)
Signed-off-by: Jimmy Ungerman <jimmy@defenseunicorns.com>
2024-05-23 19:54:55 +02:00
Steven c137b94665
Fix typo preventing use of global.imageRegistry (#577) 2024-05-22 23:32:57 +02:00
Cory Lucas f3c883908e
quote host name in ingress templates (#572) 2024-05-06 22:56:32 +02:00
Pavel Nikolov 423a5e88c2
Bump chart version
Signed-off-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
2024-05-04 10:23:05 +02:00
Pavel Nikolov cb6c8f8367
Update Chart.yaml
Signed-off-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
2024-05-04 10:21:44 +02:00
Cory Lucas 0eec3a3e5b
correct indentation of imagePullSecrets in indexer and lookback cronjobs (#568) 2024-05-03 23:23:13 +02:00
P1ton 66146779ba
Fix jaeger spark job imagePullSecrets (#566) 2024-04-26 09:45:25 +10:00
Jonah Kowall e54885cba5
[jaeger] Remove artifacthub-repo.yml as it needs to move to gh pages branch (#561)
* removing artifacthub-repo.yml as it needs to move to gh pages

Signed-off-by: Jonah Kowall <jkowall@kowall.net>

* Bumping chart version

Signed-off-by: Jonah Kowall <jkowall@kowall.net>

---------

Signed-off-by: Jonah Kowall <jkowall@kowall.net>
2024-04-23 22:49:54 +10:00
Jonah Kowall 3cc7dc4481
[jaeger] Adding comment in artifacthub-repo to try to claim ownership (#560)
* Adding comment in artifacthub-repo to try to claim ownership

Signed-off-by: Jonah Kowall <jkowall@kowall.net>

* bumpt chart version

---------

Signed-off-by: Jonah Kowall <jkowall@kowall.net>
Co-authored-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
2024-04-23 14:17:58 +10:00
Jonah Kowall 582607a8ea
Add artifacthub-repo file and jkowall to the list of maintainers (#559)
Signed-off-by: Jonah Kowall <jkowall@kowall.net>
2024-04-22 12:20:12 -04:00
dpaxon 2e18693412
feat: Elasticsearch Bitnami Chart Migration to Support Elasticsearch 8 (#554) 2024-04-18 07:39:39 +10:00
Alex SZAKALY f8fc3e6d88
feat: allow configuring extra command line arguments for jaeger operator (#551)
Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com>
2024-04-10 17:43:40 +02:00
Alex SZAKALY 71b8509b86
feat: allow configuring topology spread constraints for jaeger operator (#553)
Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com>
2024-04-10 00:49:40 +02:00
Tobi 0240058683
[jaeger] Add badger support for AllInOne deployment (#550)
* Allow badger as a storage type for allInOne deployments

Signed-off-by: twobiers <22715034+twobiers@users.noreply.github.com>

* Make badger persistence configurable

Signed-off-by: twobiers <22715034+twobiers@users.noreply.github.com>

* Bump chart version to 2.1.0

Signed-off-by: twobiers <22715034+twobiers@users.noreply.github.com>

---------

Signed-off-by: twobiers <22715034+twobiers@users.noreply.github.com>
2024-04-09 22:05:40 +10:00
Alex SZAKALY 047a76c0a6
feat: allow configuring replica count for jaeger operator (#552)
Enable leader election if the given number is greater than 1

Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com>
2024-04-09 03:01:40 +02:00
Ben Shaner d4e163e131
Update oauth sidecard to 7.6.0 (#545)
Signed-off-by: Ben Shaner <ben@benshaner.com>
2024-03-14 22:17:40 -05:00
Ben Shaner 94cb97a689
Allow overriding image registry at the global level (#542)
Signed-off-by: Ben Shaner <ben@benshaner.com>
2024-03-13 23:59:28 -05:00
Antonio B 2e10d52717
[jaeger] Add appProtocol #539 (#540)
Add appProtocol

Signed-off-by: Antonio Berben <antonio.berben@solo.io>
2024-02-26 16:15:27 -05:00
Chris Danis 3af618dde0
[jaeger] make Deployment depend on oauth2 config, if enabled (#541)
Signed-off-by: Chris Danis <cdanis@wikimedia.org>
2024-02-22 17:32:32 -05:00
dpaxon 29af76b8c9
Jaeger bump kafka common dependency (#525)
* [jaeger] Bumping kafka chart dependency from 19.x to 26.x & common from 1.16.x to 2.x

Signed-off-by: Dan Peric <108087612+dpericaxon@users.noreply.github.com>
Signed-off-by: dperic <108087612+dpericaxon@users.noreply.github.com>

* [jaeger] Bumping kafka chart dependency from 19.x to 26.x & common from 1.16.x to 2.x

Signed-off-by: Dan Peric <108087612+dpericaxon@users.noreply.github.com>
Signed-off-by: dperic <108087612+dpericaxon@users.noreply.github.com>

* [jaeger] Bumping kafka chart dependency from 19.x to 26.x & common from 1.16.x to 2.x

Signed-off-by: Dan Peric <108087612+dpericaxon@users.noreply.github.com>
Signed-off-by: dperic <108087612+dpericaxon@users.noreply.github.com>

* [jaeger] Bumping kafka chart dependency from 19.x to 26.x & common from 1.16.x to 2.x

Signed-off-by: Dan Peric <108087612+dpericaxon@users.noreply.github.com>
Signed-off-by: dperic <108087612+dpericaxon@users.noreply.github.com>

* [jaeger] Bumping kafka chart dependency from 19.x to 26.x & common from 1.16.x to 2.x

Signed-off-by: Dan Peric <108087612+dpericaxon@users.noreply.github.com>
Signed-off-by: dperic <108087612+dpericaxon@users.noreply.github.com>

* Update Readme and Kafka Version

Signed-off-by: dperic <108087612+dpericaxon@users.noreply.github.com>

* Fix readme and sign

Signed-off-by: dperic <108087612+dpericaxon@users.noreply.github.com>

* Bumping Chart Version to 1.0.0 due to breaking change

Signed-off-by: dperic <108087612+dpericaxon@users.noreply.github.com>

* Remove trailing space

Signed-off-by: dpaxon <108087612+dpericaxon@users.noreply.github.com>

---------

Signed-off-by: Dan Peric <108087612+dpericaxon@users.noreply.github.com>
Signed-off-by: dperic <108087612+dpericaxon@users.noreply.github.com>
Signed-off-by: dpaxon <108087612+dpericaxon@users.noreply.github.com>
2024-02-05 22:57:15 +11:00
mustafa Barış Ege 94950b7c83
[jaeger] Update Jaeger version (#531)
* Update Jaeger version

Signed-off-by: Mustafa Barış Ege <mbarisege@gmail.com>

* update appVersion to 1.53.0

Signed-off-by: Mustafa Barış Ege <mbarisege@gmail.com>

---------

Signed-off-by: Mustafa Barış Ege <mbarisege@gmail.com>
Signed-off-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
Co-authored-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
2024-01-23 02:43:29 +11:00
Ankit Mehta f0594b7564
Merge pull request #537 from ninad-opsverse/ninad/adding-init-containers
[jaeger] Adding optional initContainers for jaeger query and ingester deployments
2024-01-22 08:30:06 -05:00
Ninad Shelke fd4cacd532
adding optional initContainers for Jaeger ingester and query deployments
adding optional initcontainers for jaeger query and ingester deployments

Signed-off-by: Ninad Shelke <ninad@opsverse.io>

updating chart version to 0.73.2

Signed-off-by: Ninad Shelke <ninad@opsverse.io>
2024-01-22 13:29:56 +05:30
Grace Do e838d5bf2c
fix(jaeger-operator): Bump image in values to 1.52.0 (#536)
Signed-off-by: Grace Do <xgrace@gmail.com>
2024-01-18 18:23:14 +01:00
Pierre Tessier ce83c06bd2
[jaeger-operator] Update Jaeger version to latest (#517)
* bump jaeger version to latest

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>

* bump jaeger-operator version to latest

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>

---------

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
2024-01-17 08:12:59 +01:00
Nabeel 483d3a992b
feat: Allow additional Jaeger ServiceAccounts to have annotations specified (#519)
Annotations for ServiceAccounts can now be specified with helm values

Signed-off-by: Nabeel Sadiq <nabeel.sadiq@paytrix.io>
Signed-off-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
Co-authored-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
2023-12-22 12:25:54 +01:00
obervinov c5707b42d0
fixed elasticsearch.tls for es-rollover-hook.yml (#522) 2023-11-20 12:08:59 +02:00
Pierre Tessier 21f1f4cc54
bump jaeger version to latest (#516)
Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
2023-11-03 07:26:08 +02:00
Bruno Bressi 938c7aba12
feat: added TLS variables (#514)
Signed-off-by: Bruno Bressi <bruno.bressi@telekom.de>
2023-10-31 11:50:20 +02:00
Victor Login f78e1873cf
Merge pull request #510 from cfis/operator_v_1_49_0
[jaeger-operator] Update helm chart to version 1.49.0
2023-10-11 10:08:52 +02:00
Charlie Savage b0083c1d56
Update jaeger operator helm chart to 1.49.0
Signed-off-by: Charlie Savage <cfis@savagexi.com>
2023-10-10 22:17:52 -07:00
Pavel Nikolov 315d42576e
Bump version 2023-10-10 06:43:21 +02:00
MineMaarten ca66cf10be
[jaeger] Added imagePullSecrets option for all-in-one deployment. (#508) 2023-10-09 22:47:47 +02:00
Victor Login 4200a33d6d
Merge pull request #507 from mavbozo/fix-config-table-in-jaeger-operator
[jaeger-operator] fix config table in jaeger-operator README.md
2023-10-06 15:53:48 +02:00
mavbozo aab8043555
left align the table
Signed-off-by: mavbozo <maverickbozo@me.com>
2023-10-06 19:02:04 +07:00
mavbozo 0ae447d796
fix config table in jaeger-operator README.md
Signed-off-by: mavbozo <maverickbozo@me.com>
2023-10-04 14:43:07 +07:00
Steven 9ecec5955f
[jaeger] Add resources to oAuthSidecar to allow setting in case of quota requirements (#505) 2023-09-29 05:13:49 +02:00
Victor Login c642bd4311
Merge pull request #504 from BlaneStask/main
[jaeger-operator] Bump jaeger-operator and helm chart
2023-09-20 18:14:34 +02:00
staskiewicz.blane 3345c43357
Bump jaeger-operator and helm chart
Signed-off-by: staskiewicz.blane <staskiewicz.blane@solute.us>
2023-08-25 08:44:09 -06:00
Pavel Nikolov 28ab98bfb2
[jaeger] fix all-in-one bug from #499 2023-08-22 17:55:59 +02:00
Narsing Metpally 48f82ee995
[jaeger] Revert - Bumping kafka chart dependency from 19.x to 24.x (#501)
Signed-off-by: Narsing Metpally <nmetpally@axon.com>
2023-08-22 18:34:03 +03:00
Narsing Metpally 45257ce7dc
[jaeger] Bumping kafka chart dependency from 19.x to 24.x (#498)
Signed-off-by: Narsing Metpally <nmetpally@axon.com>
2023-08-21 16:38:09 +03:00
Ankit Mehta 4e702e2ef7
Merge pull request #494 from lisenet/feature-add-replicas-as-helm-value
[jaeger] make replicas a Helm value instead of hardcoding it
2023-08-09 08:17:28 -04:00
lisenet b626e41bce
Bump cahrt version as per PR requirement
Signed-off-by: lisenet <tomas@lisenet.com>
2023-08-09 12:06:34 +01:00
lisenet 2c2d2aa283
Make replicas a Helm value instead of hardcoding
Signed-off-by: lisenet <tomas@lisenet.com>
2023-08-09 12:06:34 +01:00
Ankit Mehta 059f49fae1
Merge pull request #491 from appian/otlp-fix
[jaeger] Unset default collector OTLP ports
2023-07-17 15:56:34 -04:00
Sam Mcbroom 7abc513c86
[jaeger] Unset default collector OTLP ports.
Signed-off-by: Sam Mcbroom <sam.mcbroom@appian.com>
2023-07-17 08:15:30 -07:00
Victor Login 3861966d47
Merge pull request #489 from sonofgibs/allinonehelmchart
[jaeger-operator] Updated jaeger-operator helm chart to include priorityclass
2023-07-15 12:39:04 +04:00
Zinnia Gibson 091b03e788
Merge branch 'main' into allinonehelmchart
Signed-off-by: Zinnia Gibson <32083003+sonofgibs@users.noreply.github.com>
2023-07-14 12:52:50 -05:00
Zinnia Gibson fc641ec04c
once again fixing versions
Signed-off-by: Zinnia Gibson <zgibson@d2iq.com>
2023-07-14 13:51:21 -04:00
Zinnia Gibson 71c2aaf603
fix chart bump
Signed-off-by: Zinnia Gibson <zgibson@d2iq.com>
2023-07-14 13:47:37 -04:00
Zinnia Gibson 9cbfa456c1
update metadata
Signed-off-by: Zinnia Gibson <zgibson@d2iq.com>
2023-07-13 10:06:06 -04:00
Zinnia Gibson 04f77762a8
remove manifests
Signed-off-by: Zinnia Gibson <zgibson@d2iq.com>
2023-07-13 10:02:53 -04:00
Zinnia Gibson a4e5b41025
chart bump
Signed-off-by: Zinnia Gibson <zgibson@d2iq.com>
2023-07-12 16:07:43 -04:00
Zinnia Gibson dfd78e067f
Updated jaeger-operator helm chart to include priorityclass
Signed-off-by: Zinnia Gibson <zgibson@d2iq.com>
2023-07-12 15:56:32 -04:00
J. Conrad Hanson 11b990faf6
add .Values.allInOne.extraSecretMounts and corresponding deployment templating; bump chart version; update readme (#487)
Signed-off-by: Conrad Hanson <27842017+conradhanson@users.noreply.github.com>
2023-07-11 14:35:53 +03:00
Victor Login fac871f176
Merge pull request #483 from stevehipwell/jaeger-operator-webhook-port-arg
[jaeger-operator]: Fixed support for custom ports
2023-07-06 13:37:55 +02:00
Steve Hipwell 52336d1128
fix(jaeger-operator): Fixed support for custom ports
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
2023-07-06 11:31:19 +01:00
Ankit Mehta fef7bf5e0f
Merge pull request #482 from sam-mcbr/colhpa
[jaeger] Configure collector and ingester HPAs to only deploy if component is enabled
2023-07-05 11:28:23 -04:00
Sam Mcbroom 87bb542d5a
Configure collector and ingester HPA to only deploy if component is enabled.
Signed-off-by: Sam Mcbroom <sam.mcbroom@appian.com>
2023-07-05 08:20:03 -07:00
Victor Login 7adf270acd
Merge pull request #481 from sonofgibs/main
[jaeger-operator] Bump jaeger-operator and helm chart
2023-06-29 16:56:30 +02:00
Zinnia Gibson 07f7fa78b6
Bump jaeger-operator and helm chart
Signed-off-by: Zinnia Gibson <zgibson@d2iq.com>
2023-06-29 10:00:54 -04:00
Ankit Mehta 8ce23bf5d2
feat: add option to add "envFrom" in deployments (#480)
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2023-06-28 11:10:08 +03:00
Ankit Mehta b02bfb7e20
Merge pull request #479 from spadger/jaeger-0.71.6
[jaeger] Fix otlp service regression in 0.71.5
2023-06-23 12:23:07 -04:00
Jon Bates 4cf24b05f8
Revert otlp ports to original format i.e. otlp-<protocol>
Signed-off-by: Jon Bates <jonathan.bates@team.bumble.com>
2023-06-23 17:05:45 +01:00
Jon Bates 8ba20b0881
Make otlp ports configurable on deployment
Signed-off-by: Jon Bates <jonathan.bates@team.bumble.com>
2023-06-23 15:34:40 +01:00
Jon Bates 8500d1b48d
Fix otlp service regression in 0.71.5
Version 0.71.5 added configurable otlp port names to the collector service, but introduced some typos, which break otlp for http & gRPC.
I'm not sure why they would be configurable, so I haven't also made the port names on the actual deployment configurable to match the service, but at least this should fix connectivity
Signed-off-by: Jon Bates <jonathan.bates@team.bumble.com>
2023-06-23 14:26:12 +01:00
Karol Szwaj 5f5546e612
[jaeger] Add configurable OLTP port names in jaeger collector services (#478)
* Add proto prefix to port names in services

Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>

* Bump chart version

Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>

* Refactor PR to allow only to configure OTLP port names

Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>

* Restore other port names

Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>

* fix lint

Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>

* Update charts/jaeger/values.yaml

Co-authored-by: Ankit Mehta <ankit.mehta@appian.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>

* fix values.yaml

Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>

---------

Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Co-authored-by: Ankit Mehta <ankit.mehta@appian.com>
2023-06-21 15:29:03 -04:00
Ankit Mehta 12fa2b58ce
Merge pull request #477 from foxylion/main
[jaeger] Add option to configure ingester only via environment variables
2023-06-06 09:52:26 -04:00
Jakob Nohe 12b22618d0
Add option to configure ingester only via environment variables
Until now it was not possible to configure brokers, topic and authentication via environment variables because there where always environment variables added that sourced the values from the `values.yaml` file.

When the configuration values are only available through ConfigMaps this is not possible to provide via `values.yaml`.

Signed-off-by: Jakob Nohe <jakob.nohe@meisterplan.com>
2023-06-06 12:09:55 +02:00
Pavel Nikolov 1b850f5c38
Update kafka version 2023-06-01 10:58:21 +02:00
Pavel Nikolov 5a4292d22c
Bump Jaeger chart ver 2023-05-26 14:08:15 +02:00
Pavel Nikolov f989a076f2
Fix bitnami helm repo in readme 2023-05-26 14:05:18 +02:00
Pavel Nikolov eb3175c43a
bump kafka chart version 2023-05-26 13:57:48 +02:00
christopheroconnell 35843926f2
[jaeger] tenant app/chart version upgrade to match operator (#474)
* bump jaeger tenant app/chart version to match operator

Signed-off-by: Chris O'Connell <coconnell@bridgephase.com>

* bump chart version

Signed-off-by: Chris O'Connell <coconnell@bridgephase.com>

---------

Signed-off-by: Chris O'Connell <coconnell@bridgephase.com>
Signed-off-by: christopheroconnell <35426120+christopheroconnell@users.noreply.github.com>
Signed-off-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
Co-authored-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
2023-05-23 12:08:09 +03:00
Jack Tysoe acc1f42fb4
feat(aio): ternary operator for optioanl headless-services (#470)
Signed-off-by: Jack Tysoe <jack@tys.one>
Signed-off-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
Co-authored-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
2023-05-23 11:49:40 +03:00
Victor Login fe9f9e9564
Merge pull request #471 from christopheroconnell/main
jaeger-operator chart update
2023-05-22 23:11:28 +02:00
christopheroconnell 8e239b9c8f
Merge branch 'jaegertracing:main' into main 2023-05-22 09:52:46 -06:00
Chris O'Connell 3f52229898
fix chart version revert for jaeger tenant to 1.42
Signed-off-by: Chris O'Connell <coconnell@bridgephase.com>
2023-05-22 09:47:02 -06:00
Chris O'Connell 2978b488f1
remove jaeger tenant changes from this PR
Signed-off-by: Chris O'Connell <coconnell@bridgephase.com>
2023-05-22 09:46:05 -06:00
Eric 312d55a06e
add extraArgs and extraEnv to hotrod (#463)
* Default the args in the container to "all" which is the current default from the container
* Allow any extra arguments to be added
* Allow any environment variables to be added
* Add readme entry to show how this could be done

Signed-off-by: Eric Stokes <fernferret@gmail.com>
2023-05-22 16:56:05 +03:00
Chris O'Connell 9b3c700a4c
Bump operator image version and helm chart versions for operator and tenant. Signed-off-by: Chris O'Connell coconnell@bridgephase.com
Signed-off-by: Chris O'Connell <coconnell@bridgephase.com>
2023-05-19 11:55:20 -06:00
Victor Login 1b4143ded4
Merge pull request #465 from aniekgul/main
[jaeger-operator] feat: allow configuring container security context for jaeger operator
2023-04-20 00:22:33 +02:00
Aniek Gul d3d857f40e
feat: allow configuring container security context for jaeger operator
Signed-off-by: Aniek Gul <13356402+aniekgul@users.noreply.github.com>
2023-04-19 17:32:51 -04:00
Victor Login 30fb3ba810
Merge pull request #464 from christopheroconnell/main
jaeger-operator update image to latest 1.43.0 and bump chart version
2023-04-11 21:51:39 +02:00
Chris O'Connell afa7a5a21e
update README.md with image version for operator
Signed-off-by: Chris O'Connell <coconnell@bridgephase.com>
2023-04-11 12:04:53 -06:00
Chris O'Connell cfcab808d0
bump chart version to 1.43.0
Signed-off-by: Chris O'Connell <coconnell@bridgephase.com>
2023-04-11 12:04:47 -06:00
Chris O'Connell 92897dbd7f
Update jaeger operator COMPATIBILITY.md
Signed-off-by: Chris O'Connell <coconnell@bridgephase.com>
2023-04-11 12:03:58 -06:00
Chris O'Connell bc949f1894
bump chart version to 1.43.0
Signed-off-by: Chris O'Connell <coconnell@bridgephase.com>
2023-04-11 12:03:54 -06:00
Chris O'Connell 35a351deca
update README.md with image version for operator
Signed-off-by: Chris O'Connell <coconnell@bridgephase.com>
2023-04-11 12:03:49 -06:00
Chris O'Connell 3296c8f147
update image to latest 1.43.0 and bump chart version
Signed-off-by: Chris O'Connell <coconnell@bridgephase.com>
2023-04-11 12:03:35 -06:00
Jesse Hathaway 037b8753d6
[jaeger] Network policy support, query & collector (#459)
* [jaeger] Network policy support, query & collector

Adds network policy support to the query and collector components.

Signed-off-by: Jesse Hathaway <jhathaway@wikimedia.org>

* [jaeger] Use a template for network policy

Try to reduce duplication by introducing a network policy template.

Signed-off-by: Jesse Hathaway <jhathaway@wikimedia.org>

---------

Signed-off-by: Jesse Hathaway <jhathaway@wikimedia.org>
2023-03-19 18:01:33 +02:00
Victor Login eabcc6512a
Merge pull request #458 from ChrisHayter/operator-1.42
[jaeger-operator] Update Jaeger Operator to 1.42.0
2023-03-11 16:03:24 +01:00
Chris Hayter ebe914d5f8
Update Jaeger Operator to 1.42.0
Signed-off-by: Chris Hayter <chris@hayter.dev>
2023-03-10 13:16:26 -07:00
Jared Tan a3bbc0e0fd
updagrade jaeger appversion for chart (#456)
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
2023-03-10 12:11:04 +02:00
Meysam d8b08cb1cc
[jaeger] feat: specify ingress pathType as variable (#455)
* feat: specify ingress pathType as variable 

Signed-off-by: Meysam Azad <MeysamAzad81@gmail.com>

* place the old defaults

Signed-off-by: Meysam Azad <MeysamAzad81@gmail.com>

---------

Signed-off-by: Meysam Azad <MeysamAzad81@gmail.com>
2023-03-08 15:32:39 +02:00
steakfest 98b49f8b63
[jaeger] Add flag enabling the ability to disable the cassandra-schema Job (#454)
* Add value flag enabling the ability to disable the cassandra-schema-job

By default, the behavior will be identical to what it was before.  Enabled by default.

This flag though, when set to false will disable the creation of the cassandra-schema-job Job resource.

Signed-off-by: John McGowan <john@steakfest.com>

* Add comment to values file about new schemaJobEnabled flag

Signed-off-by: John McGowan <john@steakfest.com>

* Bump Chart Version

Signed-off-by: John McGowan <john@steakfest.com>

---------

Signed-off-by: John McGowan <john@steakfest.com>
2023-03-08 00:24:01 +02:00
Pier f8412bb687
[jaeger] #452 support initContainers (#453)
* feat: #452 support initContainers

Signed-off-by: Pier <53210578+pie-r@users.noreply.github.com>

* missing if

Signed-off-by: Pier <53210578+pie-r@users.noreply.github.com>

---------

Signed-off-by: Pier <53210578+pie-r@users.noreply.github.com>
2023-03-07 13:59:57 +02:00
Ankit Mehta 8ac9c8a0a3
Merge pull request #426 from OpenGuidou/ELK_TLS
[jaeger] Provide the ability to connect to Elasticsearch with TLS
2023-03-01 08:41:13 -05:00
Guillaume DOUSSIN c50013db43
Provide the ability to connect to Elasticsearch with TLS
Signed-off-by: Guillaume Doussin <guillaume.doussin@amadeus.com>
2023-03-01 14:32:11 +01:00
Pavel Nikolov 40bedbf380
Update maintainer's email address (#451)
Signed-off-by: Pavel Nikolov <pavelnikolov@users.noreply.github.com>
2023-03-01 11:49:34 +02:00
brainfair 231e2e823c
allow pre-release format (#450)
Signed-off-by: Igor Ignatev <1761812+brainfair@users.noreply.github.com>
2023-03-01 11:30:26 +02:00
Jesse Hathaway fbe40d3c73
[jaeger] Add kubeVersion to indicate Kubernetes compatibility (#449)
Prior to this commit helm could determine, prior to an apply, whether
the chart is compatible with the local Kubernetes cluster.

After this commit helm is able to reject the apply immediately.

Signed-off-by: Jesse Hathaway <jhathaway@wikimedia.org>
2023-03-01 00:17:36 +02:00
Eric e41e581fc2
[jaeger-operator] Allow setting the Certificate Issuer Kind (#446)
* mod: Allow setting the Certificate Issuer Kind

cert-manager currently allows 2 kinds of issuers: Issuer and
ClusterIssuer.

The issuer kind is always set to "Issuer" if the issuer is created by
the chart. This will avoid confusion, as setting this value won't set
the selfSigned issuer's Kind.

Signed-off-by: Eric Stokes <fernferret@gmail.com>

* bump chart version

Signed-off-by: Eric Stokes <fernferret@gmail.com>

---------

Signed-off-by: Eric Stokes <fernferret@gmail.com>
2023-02-18 14:40:47 +01:00
Ankit Mehta 9b2717f7fc
Merge pull request #444 from lollipopman/consistent-pull-policy
[jaeger] Make pullPolicy consistently IfNotPresent
2023-02-08 08:57:59 -05:00
Jesse Hathaway b4c7bb9d99
Make pullPolicy consistently IfNotPresent
Most images are set to a pullPolicy of IfNotPresent, but the
following images were set to Always prior to this commit:

  - spark
  - esIndexCleaner
  - esRollover
  - esLookback
  - hotrod

This makes it confusing when testing local images in a minikube cluster.
Instead be consistent and use IfNotPresent for all images, which makes
local testing easier.

Signed-off-by: Jesse Hathaway <jhathaway@wikimedia.org>
2023-02-07 16:39:23 -06:00
Ankit Mehta 36790813e2
Merge pull request #442 from klubi/allow-anonymous-es-connection
[jaeger] Will allow anonymous login to ElasticSearch
2023-02-07 09:07:30 -05:00
Piotr Klubinski 45f36376f1
Will allow anonymous login to ElasticSearch
Signed-off-by: Piotr Klubinski <pklubinski@gmail.com>
2023-02-01 12:01:31 +01:00
Ankit Mehta e703262d30
Merge pull request #439 from DrFaust92/hpa
Add support for configurable hpa
2023-01-31 10:25:50 -05:00
drfaust92 61747dd4c3
hpa use compatabilities
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
2023-01-31 16:53:16 +02:00
Victor Login 4699285c3e
Merge pull request #430 from elastisys/serviceExtraLable-for-jaeger-operator-service
[jaeger-operator] Adding serviceExtraLable for service
2023-01-19 00:29:24 +06:00
robinelastisys 3231a91092
[jaeger-operator] Adding serviceExtraLable for service
Signed-off-by: robinelastisys <robin.ramquist@elastisys.com>
2023-01-18 08:02:47 +01:00
Ankit Mehta 7bcc93bc02
Merge pull request #431 from Mahagon/main
[jaeger] Remove storage.cmdArgs from es index rollover commandline args
2023-01-10 09:50:26 -05:00
Daniel Jacobs db5101102b
Remove storage.cmdArgs from es index rollover commandline args
fixes #427

Signed-off-by: Daniel Jacobs <daniel.jacobs@zvoove.org>
2023-01-10 14:50:10 +01:00
Ankit Mehta 57487fa32b
Merge pull request #433 from gburton1/upgradeKafka19_2
jaeger: upgrade Kafka chart dependency from 18.x to 19.x
2023-01-09 16:45:23 -05:00
Greg Burton b884987103
jaeger: upgrade Kafka chart dependency from 18.x to 19.x
Signed-off-by: Greg Burton <9094087+gburton1@users.noreply.github.com>
2023-01-09 13:33:53 -08:00
Naseem Ullah 116a4af909
Merge pull request #428 from puckpuck/puckpuck.use_tpl_for_args 2023-01-04 17:19:46 -05:00
Pierre Tessier 1cd5db09e0
Merge branch 'main' into puckpuck.use_tpl_for_args
Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
2023-01-04 13:06:40 -05:00
Pierre Tessier 17e99d1b20
update chart version
Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
2023-01-04 13:05:50 -05:00
Pierre Tessier 580b6047ce
use tpl for allinone args
Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
2023-01-04 12:59:50 -05:00
Daniel Jacobs f5bffea547
Remove storage.cmdArgs from es index cleaner commandline args (#425)
#424

Signed-off-by: Daniel Jacobs <daniel.jacobs@zvoove.org>

Signed-off-by: Daniel Jacobs <daniel.jacobs@zvoove.org>
2022-12-19 17:31:46 +02:00
Ankit Mehta 328d87a31c
Merge pull request #422 from steache/main
[jaeger] fix (query,collector) basePath
2022-12-09 09:31:24 -05:00
Tomáš Sýkora 4674c17a41
[jaeger] fix (query,collector) basePath
Signed-off-by: Tomáš Sýkora <tomas@reservio.com>
2022-12-09 15:21:03 +01:00
Naseem Ullah 99a5949d26
Merge pull request #421 from JaredTan95/patch-1 2022-12-09 00:45:43 -05:00
Jared Tan 400f784a0a
bump up jaeger app version
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
2022-12-09 11:09:57 +08:00
Victor Login 93ed2e564b
Merge pull request #418 from klubi/customize_webhook_ports
[jaeger-operator] will allow to change webhook and metrics ports
2022-12-07 10:49:22 +03:00
Piotr Klubinski e7515bb580
will allow to change webhook and metrics ports
Signed-off-by: Piotr Klubinski <pklubinski@gmail.com>
2022-12-07 00:07:04 +01:00
Ankit Mehta 8e0dbeb3ab
Merge pull request #414 from Mouness/esIndexCleaner_add_extra_args
[jaeger] fixes #329 missing prefix on esCronJobs
2022-12-05 14:31:50 -05:00
Mounir 2ec9b7f9ab
fix missing prefix on esCronJobs
Signed-off-by: Mounir <mounir.arrahmani@outlook.com>
2022-12-05 18:38:45 +01:00
Naseem Ullah b91b292bd6
Merge pull request #419 from gburton1/upgradeKafka19
jaeger: upgrade Kafka chart dependency from 18.x to 19.x
2022-12-02 22:43:07 -05:00
Greg Burton a0fdc1db62
jaeger: upgrade Kafka chart dependency from 18.x to 19.x
Signed-off-by: Greg Burton <9094087+gburton1@users.noreply.github.com>
2022-12-02 14:34:38 -08:00
Pierre Tessier de3c936213
add args to allinone (#416)
Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
2022-11-25 12:05:19 +02:00
Ankit Mehta 829643dab7
Merge pull request #413 from palmheads/main
[jaeger] bumping chart & opening up 16685 port
2022-11-09 08:21:25 -05:00
palmheads 1941e337c5
[jaeger] bumping chart & opening up 16685 port
Signed-off-by: palmheads <daz@planetnz.com>
2022-11-09 08:32:46 +13:00
Petrus 6ab6ed3f46
[jaeger] Add podLabels and complete ingress (#412)
[jaeger] Add podLabels and complete ingress
2022-11-08 14:08:55 +02:00
Gleb Lesnikov b2373eb552
[jaeger] Have an ability to make collector svc headless (#136)
Add clusterIP parameter to collector svc
2022-11-08 14:01:16 +02:00
Victor Login f920e75276
Merge pull request #411 from simplytunde/operator-1.39
[jaeger-operator] Update Jaeger Operator to 1.39.0
2022-11-08 02:57:43 +04:00
Tunde Oladipupo 09f72bd7e5
Update Jaeger Operator to 1.39.0
Signed-off-by: Tunde Oladipupo <simplytunde@gmail.com>
2022-11-07 09:21:48 -06:00
Ramazan Kara a8bfa947ab
[Jaeger] - Feature - Added NodeSelector for All in One Image. (#407)
* Feature - Enable Nodeselector for Jaeger AllinOne Deployment

Signed-off-by: Ramazan Kara <git@r-kara.de>

Co-authored-by: Otto Wagner <otto.wagner@otto.de>

* Chore - Add empty space between allinOne value and storage

Signed-off-by: Ramazan Kara <git@r-kara.de>

Signed-off-by: Ramazan Kara <git@r-kara.de>
Co-authored-by: Otto Wagner <otto.wagner@otto.de>
2022-10-13 15:16:30 +03:00
Victor Login f0774213c7
Merge pull request #405 from mjnagel/operator-1.38
[jaeger-operator] Update Jaeger Operator to 1.38.0
2022-10-01 12:34:45 +06:00
Micah Nagel 384b6cce99
Update Jaeger Operator to 1.38.0
Signed-off-by: Micah Nagel <micah.nagel@parsons.com>
2022-09-30 08:35:23 -06:00
David vonThenen d5785f077b
Merge pull request #403 from angelokurtis/bugfix/jaeger-query-sidecars
[jaeger] Fix sidecar indentation
2022-09-21 16:00:42 -07:00
Tiago Angelo b15cb666e7
Fix sidecar indentation
Signed-off-by: Tiago Angelo <kurtis.angelo@gmail.com>
2022-09-15 14:41:33 -03:00
Ankit Mehta 551b24edf5
Merge pull request #399 from angelokurtis/otlp-enabled-on-allinone
[jaeger] OpenTelemetry Protocol (OTLP) enabled on Jaeger All-in-one
2022-09-05 18:22:09 -04:00
Tiago Angelo ac5908e3c5
OTLP enabled on Jaeger All-in-one
Signed-off-by: Tiago Angelo <kurtis.angelo@gmail.com>
2022-09-04 12:38:36 -03:00
Victor Login 51aa8eff72
Merge pull request #398 from mjnagel/operator-1.37
[jaeger-operator] Update Jaeger Operator Chart to 1.37.0
2022-09-01 23:03:28 +03:00
Micah Nagel afbcef9ab4
Update Jaeger Operator Chart to 1.37.0
Signed-off-by: Micah Nagel <micah.nagel@parsons.com>
2022-08-26 07:13:01 -06:00
Ankit Mehta 98d24435f1
Merge pull request #396 from Mahagon/ttl_for_completed_index_cleaner_cronjob
[jaeger] Add ttlSecondsAfterFinished entry to esIndexCleaner job
2022-08-25 09:20:49 -04:00
Daniel Jacobs 878b3cf735
Add optional ttlSecondsAfterFinished values for removing completed cron jobs
Bump chart version to 0.60.0
#393

Signed-off-by: Daniel Jacobs <mail@danieljacobs.de>
2022-08-25 08:14:06 +02:00
Ankit Mehta 658ebbe17a
Merge pull request #395 from locmai/chore/bump-kafka-chart-15.5.1
[jaeger] chore: bumping Kafka chart version to ^18.0.8
2022-08-24 09:23:38 -04:00
Loc Mai ac6755106b
bump to 18.0.8 also
Signed-off-by: Loc Mai <locmai0201@gmail.com>
2022-08-22 14:52:19 +07:00
Loc Mai 4809d14baa
chore: bump chart version
Signed-off-by: Loc Mai <locmai0201@gmail.com>
2022-08-21 21:29:35 +07:00
Loc Mai b04033d6a1
chore: bumping Kafka chart version to 15.5.1
Signed-off-by: Loc Mai <locmai0201@gmail.com>
2022-08-21 21:29:30 +07:00
Victor Login 3a4bc37924
Merge pull request #392 from mjnagel/operator-1.36
[jaeger-operator] Update operator chart to 1.36.0
2022-08-10 08:47:41 +03:00
Micah Nagel 6a5ec3ff23
Update operator chart to 1.36.0
Signed-off-by: Micah Nagel <micah.nagel@parsons.com>
2022-08-09 15:57:44 -06:00
Greg Burton 6f62ef4ff0
[jaeger] Upgrade Jaeger appVersion for the chart (#391)
Signed-off-by: Greg Burton <9094087+gburton1@users.noreply.github.com>
2022-08-08 11:48:12 +03:00
Naseem Ullah eff00f612e
Merge pull request #385 from angelokurtis/enable-otlp-collector
[jaeger] Enable the OTLP receiver
2022-07-19 21:03:08 -04:00
Tiago Angelo 9a05e4af5a
Enable the OTLP receiver
Signed-off-by: Tiago Angelo <kurtis.angelo@gmail.com>
2022-07-19 19:48:22 -03:00
Naseem Ullah 8e314e8f39
Merge pull request #381 from appian/upgrade-jaeger-version 2022-07-06 09:44:05 -04:00
Ankit Mehta ea657295fb
Upgrade Jaeger appVersion for the chart
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2022-07-06 09:27:17 -04:00
Victor Login 3d899e5529
Merge pull request #380 from mjnagel/operator-1.35
[jaeger-operator] Update to Jaeger Operator 1.35.0
2022-06-30 14:28:57 +06:00
Micah Nagel 7d716f0d6f
Update to Jaeger Operator 1.35.0
Signed-off-by: Micah Nagel <micah.nagel@parsons.com>
2022-06-28 10:57:28 -06:00
Ankit Mehta 663f7a1dad
Merge pull request #378 from NicolasLemince/main
[jaeger] Custom labels in query and collector ingresses
2022-06-20 15:35:04 -04:00
Nicolas dd1ef1fa5f
Remove trailing spaces
Signed-off-by: Nicolas <nicorabatel@gmail.com>
2022-06-20 20:20:30 +02:00
Nicolas 42f136ea1a
Adding default + example in value
Signed-off-by: Nicolas <nicorabatel@gmail.com>
2022-06-20 15:47:41 +02:00
Nicolas fa003c9b6f
Custom labels in query and collector ingresses
Signed-off-by: Nicolas <nicorabatel@gmail.com>
2022-06-20 15:22:28 +02:00
Ankit Mehta e37405bd1e
Merge pull request #374 from cloudoutloud/update-readme
[jaeger] Update readme to include cookie secret flag and oauth2 doc link
2022-06-16 15:44:43 -04:00
cloudoutloud 48801f8ebe
Merge branch 'main' of github.com:cloudoutloud/jaeger-helm-charts into update-readme 2022-06-16 19:55:13 +01:00
cloudoutloud db1194357a
Update chart version
Signed-off-by: cloudoutloud <39462069+cloudoutloud@users.noreply.github.com>
2022-06-16 18:43:44 +01:00
cloudoutloud 5bf2659708
Update readme to include cookie secret and docs
Signed-off-by: cloudoutloud <39462069+cloudoutloud@users.noreply.github.com>
2022-06-16 18:43:44 +01:00
Micah Nagel b90d9143fd
Refactor CRD to allow initial CR install
Signed-off-by: Micah Nagel <micah.nagel@parsons.com>
Signed-off-by: cloudoutloud <39462069+cloudoutloud@users.noreply.github.com>
2022-06-16 18:43:44 +01:00
Victor Login eb6176b6b8
Merge pull request #372 from mjnagel/crd-fix
[jaeger-operator] Refactor CRD to allow Jaeger CR creation on initial install
2022-06-10 21:48:41 +03:00
Micah Nagel d9594dbc0d
Refactor CRD to allow initial CR install
Signed-off-by: Micah Nagel <micah.nagel@parsons.com>
2022-06-10 08:07:37 -06:00
Victor Login 67ff9ba0c9
Merge pull request #371 from czomo/matrix
[jaeger-operator] Add compatibility matrix
2022-06-10 11:21:56 +03:00
czomo 9b91ea9a9a
Add compability matrix
Signed-off-by: czomo <tomaszjdul@gmail.com>
2022-06-09 16:56:26 +02:00
Victor Login 178b4a2691
Merge pull request #367 from czomo/jaeger-operator-1-34-1
[jaeger-operator] update to 1.34.1
2022-06-07 15:00:55 +03:00
czomo 90cced487e
Bump jaeger-operator image to 1.34.1
Signed-off-by: czomo <tomaszjdul@gmail.com>
2022-06-07 13:43:41 +02:00
Victor Login 944d0c49f6
Merge pull request #368 from czomo/certs
[jaeger-operator] Add cert machinery
2022-06-07 14:31:55 +03:00
czomo 666f4bc115
Add auto injecting CA bundle
Signed-off-by: czomo <tomaszjdul@gmail.com>
2022-06-06 20:58:32 +02:00
Naseem Ullah 84e63adbd5
Merge pull request #369 from czomo/bitnami 2022-06-04 10:11:37 -04:00
czomo d544cbc55f
Bump common dependency instead of patching
Signed-off-by: czomo <tomaszjdul@gmail.com>
2022-06-04 15:34:18 +02:00
czomo 0ce6986977
Patch bitnami repository index
Signed-off-by: czomo <tomaszjdul@gmail.com>
2022-06-04 08:57:27 +02:00
Ankit Mehta 7190d6f656
Merge pull request #366 from appian/relabels
[jaeger] Add relabelings and metricRelabelings to serviceMonitors
2022-05-13 09:45:22 -04:00
Ankit Mehta b2d89cd05a
Add relabelings and metricRelabelings to serviceMonitors
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2022-05-12 15:33:53 -04:00
Pavel Nikolov dc5e2754f0
Bump chart version
Bump chart version to resolve a build conflict
2022-05-11 07:33:06 +03:00
Roee Landesman d1fa7dcde9
[jaeger] Add gRPC port to query deployment and service (#361)
* Add gRPC port to query deployment and service

Signed-off-by: Roee Landesman <roee.landesman@envoy.com>

* Bump chart version

Signed-off-by: Roee Landesman <roee.landesman@envoy.com>

* Bump chart patch version

Signed-off-by: Roee Landesman <roee.landesman@envoy.com>
2022-05-11 00:26:39 +03:00
Naseem Ullah 374d0fccbf
Merge pull request #363 from uesleilima/main
[jaeger] Including optional extraEnv in allInOne
2022-05-04 11:43:44 -04:00
Ueslei Lima 68bb276de4
[jaeger] Including optional extraEnv in allInOne
Signed-off-by: Ueslei Lima <uesleisantoslima@gmail.com>
2022-05-04 17:17:58 +02:00
Guy Carmy 25b254d05c
[jaeger] Allow resources adjustment for allinone deployment (#362)
Allow resources adjustment for all-in-one deployment

Signed-off-by: guycarmy <guycarmy@gmail.com>
2022-05-02 12:43:37 +03:00
Oleksandr Shevchenko 8aee713f71
[jaeger] Disable Jaeger allInOne ingress (#359)
Signed-off-by: Oleksandr Shevchenko <oleksandr.shevchenko@datarobot.com>
2022-04-24 11:55:44 +03:00
Ankit Mehta 7dd36ad069
Merge pull request #357 from mehta-ankit/cronjob-api
[jaeger] Add correct apiVersion for CronJob resource based on K8s version
2022-04-19 09:30:27 -04:00
Ankit Mehta c4798ab2a0
Add correct apiVersion for CronJob resource based on K8s version
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2022-04-19 08:49:21 -04:00
Luca 55cca1253f
Update operator to 1.32 (#350)
Signed-off-by: Luca Popesco <luca@popesco.io>
2022-04-09 18:16:11 +02:00
Ankit Mehta c14317c3d8
Merge pull request #343 from adfinis-forks/chore/docs-on-readme-updatage
chore: add task asking to update README.md
2022-02-28 09:16:26 -05:00
Victor Login e653db448a
Merge pull request #342 from adfinis-forks/jaeger-operator-1.31
[jaeger-operator] feat: bump jaeger-operator to 1.31.0
2022-02-28 16:12:58 +03:00
Lucas Bickel (Adfinis) 3048d09ad0
chore: add task asking to update README.md
Signed-off-by: Lucas Bickel (Adfinis) <lucas.bickel@adfinis.com>
2022-02-28 12:34:08 +01:00
Lucas Bickel (Adfinis) d7671badf1
feat: bump jaeger-operator to 1.31.0
Signed-off-by: Lucas Bickel (Adfinis) <lucas.bickel@adfinis.com>
2022-02-28 12:30:41 +01:00
Drew Michel 7a67740730
[jaeger] support grpcPlugin environment variables (#340)
Support grpcPlugin environment variables
2022-02-16 08:31:56 +02:00
Victor Login 721a838313
Merge pull request #338 from tricky42/main
[jaeger-operator] Bump jaeger-operator to v1.30.0
2022-02-14 16:15:53 +03:00
Andreas Bucksteeg 51fb536423
chore: Bump jaeger-operator to v1.30.0
Signed-off-by: Andreas Bucksteeg <tricky42@users.noreply.github.com>
2022-02-13 20:59:55 +01:00
naseemkullah 09d5d8a6f6
Merge pull request #336 from mehta-ankit/upgrade-jaeger-version
[Jaeger] Upgrade Jaeger App version for the chart
2022-02-03 17:47:24 -05:00
Ankit Mehta 3ca3be251c
Upgrade Jaeger App version for the chart
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2022-02-03 17:14:16 -05:00
naseemkullah 08421337e0
Merge pull request #333 from gburton1/upgradeKafka 2022-01-30 08:06:02 -05:00
Greg Burton 453decf5e9
Upgrade Kafka chart dependency from 12.x to 14.x
Signed-off-by: Greg Burton <9094087+gburton1@users.noreply.github.com>
2022-01-29 20:45:13 -08:00
Dennis Effing d890da8308
[jaeger] Add support for all-in-one deployment with in-memory storage (#327)
[jaeger] Add support for all-in-one deployment with in-memory storage

Signed-off-by: Dennis Effing <dennis.effing@codecentric.de>
2022-01-05 11:48:22 +02:00
Victor Login e4f7b8923c
Bump jaeger-operator to v1.29.1 (#324)
Signed-off-by: Login Victor <batazor111@gmail.com>
2021-12-19 11:25:22 +01:00
Ankit Mehta a731640fd5
Merge pull request #322 from manuelbonk/fix_docu
fix markdown typo
2021-12-09 16:21:37 -05:00
Pavel Nikolov 7fa1f72614
Merge pull request #323 from manuelbonk/use_jaeger_image_tag_for_es_index_cleaner
[jaeger] use jaeger.image.tag for es-index-cleaner tag
2021-12-09 14:19:35 -07:00
Manuel Bonk ad966ce9c3
bump chart version
Signed-off-by: Manuel Bonk <gh@mbonk.de>
2021-12-09 22:11:02 +01:00
Manuel Bonk 2a5a388552
fix markdown typo
Signed-off-by: Manuel Bonk <gh@mbonk.de>
2021-12-09 18:29:58 +01:00
Manuel Bonk 1d63902b97
use jaeger.image.tag for es-index-cleaner tag
Signed-off-by: Manuel Bonk <gh@mbonk.de>
2021-12-09 18:27:37 +01:00
Ankit Mehta a5d26829c0
Merge pull request #318 from sgolod/patch-1
[jaeger] Added missing affinity section for Ingester deployment
2021-11-18 08:25:40 -05:00
Sergey Golod 6e63b647d9
Added missing affinity section for Ingester, bump version.
Signed-off-by: Sergey Golod <sergey.golod@pimpay.ru>
2021-11-18 12:58:36 +00:00
Victor Login ce449a3471
Merge pull request #316 from adfinis-forks/feat/jaeger-operator-1.28.0
[jaeger-operator] bump to version 1.28.0
2021-11-17 03:05:58 +03:00
Naseem bf6b78122d
Merge pull request #317 from chenaoxd/main
[jaeger] Fix no newline before rules in collector-ing.yaml & hotrod-ing.yaml
2021-11-16 14:51:25 -05:00
Ao Chen 280366cf48
[jaeger] Bump chart version
Signed-off-by: Ao Chen <chenao3220@gmail.com>
2021-11-17 02:54:21 +08:00
Ao Chen 05e5d286f7
[jaeger] Fix collector-ing.yaml & hotrod-ing.yaml
Signed-off-by: Ao Chen <chenao3220@gmail.com>
2021-11-17 02:49:29 +08:00
Naseem f86bfccac3
Merge pull request #315 from chenaoxd/main
[jaeger] Fix no newline before rules in query-ing.yaml
2021-11-16 13:02:35 -05:00
Lucas Bickel (Adfinis) df16630dbd
[jaeger-operator] bump to version 1.28.0
Signed-off-by: Lucas Bickel (Adfinis) <lucas.bickel@adfinis.com>
2021-11-16 17:46:14 +01:00
Ao Chen 9044c9c467
[jaeger] Fix query-ing.yaml
Signed-off-by: Ao Chen <chenao3220@gmail.com>
2021-11-17 00:27:02 +08:00
Ankit Mehta 297eb760f2
Merge pull request #310 from mfuxi/main
[jaeger] add ingressClassName support
2021-11-12 16:00:50 -05:00
Moty Fux 62e8906004
Adding ingressClassName support to collector,Query and hotrod Ingress
Signed-off-by: Moty Fux <moty.fux@gmail.com>
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2021-11-12 15:59:20 -05:00
Naseem d7527ea66c
Merge pull request #314 from mehta-ankit/upgrade-jaeger-version
[jaeger] Upgrade Jaeger app version to latest - 1.28.0
2021-11-12 11:04:34 -05:00
Ankit Mehta 3518c73017
Upgrade Jaeger app version to latest - 1.28.0
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2021-11-12 10:50:10 -05:00
Naseem 31978ce4c9
Merge pull request #312 from sbochoa/main
[jaeger] fixed common.ingress.supportsPathType condition
2021-11-12 09:44:51 -05:00
Scharly Ochoa 08228f0ec9
fixed common.ingress.supportsPathType condition
Signed-off-by: Scharly Ochoa <sochoa@outlook.com.pe>
2021-11-11 18:47:53 -05:00
Ankit Mehta 66041eeaf1
Merge pull request #308 from hoepfnerj/collector-ing-host-and-port
[jaeger] Make service port and host of collector ingress configurable
2021-10-29 10:47:53 -04:00
Jonas Höpfner 78fee9d1f3
Make service port of collector ingress configurable.
Signed-off-by: Jonas Höpfner <jonashoepfner@gmx.de>
2021-10-29 16:09:13 +02:00
Pavel Nikolov 12801b7ccd
Merge pull request #299 from lzakharov/jaeger-collector-load-balancer-ip
[jaeger] Add loadBalancerIP optional parameter for the jaeger collector
2021-10-21 12:57:06 +03:00
Lev Zakharov 0bea3da5f4
Merge branch 'main' into jaeger-collector-load-balancer-ip 2021-10-21 09:59:32 +03:00
Lev Zakharov adae9ad7f6
chore(jaeger): bump to chart version
Signed-off-by: Lev Zakharov <l.j.zakharov@gmail.com>
2021-10-21 09:58:45 +03:00
Pavel Nikolov 4361e012b5
Merge pull request #301 from sharninder/fixtags
[Jaeger] Add tags for individual components
2021-10-21 00:39:10 +03:00
Sharninder c63f2c7546
add individual tags
Signed-off-by: Sharninder <sharninder@gmail.com>
2021-10-20 22:40:31 +02:00
Lev Zakharov 6281e66550
feat(jaeger): add loadBalancerIP optional parameter for the jaeger collector
Signed-off-by: Lev Zakharov <l.j.zakharov@gmail.com>
2021-10-20 17:15:29 +03:00
Victor Login 988cff10bd
Merge pull request #296 from adfinis-forks/feat/jaeger-operator/bump-to-1.27.0
[jaeger-operator] feat: bump to 1.27.0
2021-10-15 04:34:27 +03:00
Lucas Bickel (Adfinis) 6d71584778
[jaeger-operator] feat: bump to 1.27.0
- upgrade jaeger-operator to 1.27.0
- update crd to match
- bundles jaeger 1.27.0

Signed-off-by: Lucas Bickel (Adfinis) <lucas.bickel@adfinis.com>
2021-10-11 11:49:16 +02:00
Naseem ca11e60b23
Merge pull request #287 from appian/init-containers
[jaeger] Add initContainer option to agent daemonset.
2021-09-27 15:54:28 -04:00
Sam Mcbroom f834005049
Add initContainer option to agent daemonset.
Signed-off-by: Sam Mcbroom <sam.mcbroom@appian.com>
2021-09-27 12:36:51 -04:00
Victor Login 2dd48239ad
Merge pull request #284 from mmiranda/svc-annotations
[jaeger-operator] Add dynamic annotations to service and serviceAccount
2021-09-23 17:00:48 +03:00
Mateus Miranda 321d5e6030
update values
Signed-off-by: Mateus Miranda <mateusmiranda@gmail.com>
2021-09-23 15:52:03 +02:00
Mateus Miranda c0575ee658
update values
Signed-off-by: Mateus Miranda <mateusmiranda@gmail.com>
2021-09-23 15:50:43 +02:00
Mateus Miranda fe2a4a238e
Bump chart version
Signed-off-by: Mateus Miranda <mateusmiranda@gmail.com>
2021-09-23 13:50:43 +02:00
Mateus Miranda c25508269f
Add dynamic annotations to service and serviceAccount
Signed-off-by: Mateus Miranda <mateusmiranda@gmail.com>
2021-09-23 13:50:42 +02:00
Naseem 39a97d6439
Merge pull request #283 from bhiravabhatla/fix/282
[jaeger] Add support for configuring resources/limits in agent sidecar for jaeger query
2021-09-20 11:08:21 -04:00
Naseem 68ca23f9d3
Update charts/jaeger/templates/query-deploy.yaml 2021-09-20 11:07:56 -04:00
santosh 2d7c176455
Bump up chart version to 0.46.7
Signed-off-by: santosh <bsantosh@thoughtworks.com>
2021-09-20 19:42:58 +05:30
santosh 5114e95890
Add support for configuring resources/limits in agent sidecar for jaeger-query deployement
Signed-off-by: santosh <bsantosh@thoughtworks.com>
2021-09-20 19:39:59 +05:30
Victor Login 588da8cf4b
Merge pull request #281 from tompsh/tompsh/custom-labels
[jaeger-operator] Enable extraLabels to deployment
2021-09-10 02:08:11 +03:00
tom 3d45c3fe86
Bump jaeger-operator chart version
Signed-off-by: tom <devbytom@gmail.com>
2021-09-09 18:42:25 -03:00
tom 407f236be9
Enable extraLabels to jaeger-operator deployment
Signed-off-by: tom <devbytom@gmail.com>
2021-09-09 18:40:36 -03:00
Naseem e3f8d5e6b4
Merge pull request #278 from cwrau/feature/277
[jaeger] Include bitnami's common chart to fix Ingress v1/v1beta1 distinction
2021-08-31 07:39:47 -04:00
Chris Werner Rau 9245f1b30d
Reindent annotations 2021-08-24 16:31:39 +02:00
Chris Werner Rau a4254587ae
Update charts/jaeger/templates/collector-ing.yaml
Accept @naseemkullah's suggestion

Co-authored-by: Naseem <naseemkullah@gmail.com>
2021-08-24 16:27:59 +02:00
Chris Werner Rau cc057a37ed
Bump chart version
Signed-off-by: Chris Werner Rau <cwrau@cwrcoding.com>
2021-08-24 16:00:44 +02:00
Chris Werner Rau 4976505020
Include bitnami's common chart
Replace Ingress v1/v1beta1 logic

Signed-off-by: Chris Werner Rau <cwrau@cwrcoding.com>
2021-08-24 15:59:42 +02:00
Naseem 59f51fd7ca
Merge pull request #275 from bender316/main
[jaeger] use networking.k8s.io/v1 for ingreses if available
2021-08-06 10:48:19 -04:00
bender316 ac557aa198
use networking.k8s.io/v1 if available
Signed-off-by: bender316 <bender316@gmail.com>
2021-08-06 15:41:44 +02:00
Victor Login 10961f91e3
Merge pull request #270 from batazor/jaeger-operaot-new-version-1-24
[jaeger-operator] Update version jaeger-operator to v1.24.0
2021-07-15 13:14:00 +03:00
Login Victor 20a651107d
[jaeger-operator] Update version jaeger-operator to v1.24.0
Signed-off-by: Login Victor <batazor111@gmail.com>
2021-07-15 05:22:28 +03:00
Naseem 30b7afb960
Merge pull request #267 from nflaig/feature/job_deadlines
[jaeger]: Add activeDeadlineSeconds value to all jobs
2021-07-07 12:13:29 -04:00
nflaig 162625bf1b
[jaeger]: Add activeDeadlineSeconds value to all jobs
Signed-off-by: nflaig <nflaig@protonmail.com>
2021-07-07 18:12:58 +02:00
Ankit Mehta 4529d4c672
Merge pull request #258 from saikalyan551/HPA-Metrics-Fix
[jaeger] Reordering HPA metrics section
2021-07-07 12:11:03 -04:00
saikalyan551 47b441f185
Reordering HPA metrics section
Signed-off-by: saikalyan551 <sai.kalyan551@gmail.com>
2021-07-07 10:58:42 -05:00
Ankit Mehta 4b02736983
Merge pull request #268 from mehta-ankit/upgrade-kind
[jaeger] Upgrade kind-action version
2021-07-07 11:05:05 -04:00
Ankit Mehta 0436623903
Upgrade kind-action version
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2021-07-07 10:52:28 -04:00
Majid Azimi ca7d8a630b
[jaeger-operator] Synchronize cluster role template with jaeger operator (#251)
* Synchronize cluster role template with jaeger operator

Signed-off-by: Majid Azimi <s.azimigehraz@reply.de>

* bump chart version to 2.22.0

Signed-off-by: Majid Azimi <s.azimigehraz@reply.de>
2021-06-25 15:34:10 +02:00
Ankit Mehta b276225fd3
Merge pull request #259 from jdgeisler/add-oauth-configmap
[jaeger] Add a configmap for the jaeger oauth sidecar
2021-06-24 09:37:03 -04:00
Geisler, James D 2c3367d7a4
add oauth2 sidecar docs to readme
Signed-off-by: Geisler, James D <geislerjamesd@gmail.com>
2021-06-22 10:23:20 -05:00
Geisler, James D 178e00e252
add configmap as volume automatically
Signed-off-by: Geisler, James D <geislerjamesd@gmail.com>
2021-06-22 09:36:46 -05:00
Geisler, James D 4b115ef5dc
adding jaeger oauth configmap
Signed-off-by: Geisler, James D <geislerjamesd@gmail.com>

add jaeger oauth configmap

Signed-off-by: Geisler, James D <geislerjamesd@gmail.com>

only deploy if oauth sidecar is enabled

Signed-off-by: Geisler, James D <geislerjamesd@gmail.com>

add newline to oauth-sidecar-configmap.yaml

Signed-off-by: Geisler, James D <geislerjamesd@gmail.com>

fix if statements in oauth configmap

Signed-off-by: Geisler, James D <geislerjamesd@gmail.com>
2021-06-22 08:53:03 -05:00
Ankit Mehta 6a0adf83df
Merge pull request #256 from jdgeisler/jaeger-oauth-sidecar-env-variables
[jaeger] add environment variables to jaeger oauth sidecar
2021-06-18 09:40:15 -04:00
Victor Login ec9457be59
Merge pull request #257 from rafaribe/main
[jaeger-operator] fix missing app.kubernetes.io/instance label
2021-06-18 01:30:05 +03:00
Rafael Ribeiro e6973eee10
fix: add missing app.kubernetes.io/instance label
Signed-off-by: Rafael Ribeiro <rafael.ntw@gmail.com>
2021-06-17 18:35:18 +01:00
Victor Login 16489af4c9
Merge pull request #254 from blame19/main
[jaeger-operator] Priority class name management
2021-06-15 01:11:31 +03:00
Geisler, James D d037a8e4ec
add environment variables to jaeger oauth sidecar
Signed-off-by: Geisler, James D <geislerjamesd@gmail.com>
2021-06-14 13:21:41 -05:00
Matteo Maponi cbd83e4948
Priority class name
Signed-off-by: Matteo Maponi <matteo.maponi@gmail.com>
2021-06-14 10:44:23 +02:00
Victor Login 133b422697
Merge pull request #252 from yury-kozlov/jaeger-operator-custom-log-level
jaeger-operator - custom-log-level #165
2021-06-02 00:15:56 +03:00
Yury Kozlov c52ef8b3d0
jaeger operator - fix default value of extraEnv
Signed-off-by: Yury Kozlov <glassiko@gmail.com>
2021-06-01 17:09:32 -04:00
Yury Kozlov 1e552816e3
jaeger-operator - extra envs #165
Signed-off-by: Yury Kozlov <glassiko@gmail.com>
2021-06-01 14:57:50 -04:00
Yury Kozlov ff49522946
jaeger-operator - custom-log-level #165
Signed-off-by: Yury Kozlov <glassiko@gmail.com>
2021-05-31 19:29:53 -04:00
Victor Login c08ca10c5c
Merge pull request #244 from chadlwilson/bump-operator-version
[jaeger-operator] update version of operator within the chart to v1.22.1
2021-05-21 03:14:22 +03:00
Naseem 861a4be502
Merge pull request #245 from nflaig/feature/query_extra_sidecars
[jaeger]: Add option to use custom auth proxy with jaeger query
2021-05-19 07:59:24 -04:00
nflaig 09ccf786ea
[jaeger]: Add option to use custom auth proxy with jaeger query
Signed-off-by: nflaig <nflaig@protonmail.com>
2021-05-19 13:51:23 +02:00
Naseem 7a57e08076
Merge pull request #246 from nflaig/checksum_ui_configuration
[jaeger]: Checksum query ui config to restart pods on change
2021-05-19 06:08:19 -04:00
nflaig d56e4d166f
[jaeger]: Checksum query ui config to restart pods on change
Signed-off-by: nflaig <nflaig@protonmail.com>
2021-05-13 18:18:03 +02:00
Naseem 2a1eb0a1da
Merge pull request #243 from ichasco-heytrade/main
[Jaeger] add podAnnotations to spark cronjob
2021-05-06 06:43:34 -04:00
Naseem 452f831153
Merge branch 'main' into main 2021-05-06 06:43:10 -04:00
Chad Wilson 3ff1a9ffe7
jaeger-operator: update version to v1.22.1
Signed-off-by: Chad Wilson <chadw@thoughtworks.com>
2021-05-06 17:07:51 +08:00
ichasco-heytrade a4261c136f
Update Chart.yaml
Signed-off-by: ichasco-heytrade <ichasco@heytrade.com>
2021-05-06 10:27:16 +02:00
ichasco 1df004b86d
add podAnnotations to spark cronjob
Signed-off-by: ichasco-heytrade <ichasco@heytrade.com>
2021-05-06 10:27:15 +02:00
Smit Shah 27f6dc698f
fixing cassandra tls volume
Signed-off-by: Smit Shah <shahsmit25193@gmail.com>
Signed-off-by: ichasco-heytrade <ichasco@heytrade.com>
2021-05-06 10:27:15 +02:00
Naseem 54ffa7dee7
Merge pull request #242 from ichasco-heytrade/patch-1 2021-05-02 07:59:53 -04:00
ichasco-heytrade 707a8d4742
Fix Indent in podAnnotation 2021-05-02 12:40:05 +02:00
Naseem f625a92077
Merge pull request #239 from sshah90/main 2021-04-27 19:00:56 -04:00
Smit Shah 22ec6765f9
fixing cassandra tls volume
Signed-off-by: Smit Shah <shahsmit25193@gmail.com>
2021-04-27 17:12:31 -04:00
Victor Login 8cd4c35b20
Merge pull request #235 from jaegertracing/upgrade-version-jaeger
jaeger-operator: update version prometheus-operator to v1.22.0
2021-04-13 03:01:04 +03:00
Login Victor 0aab6dd97c
jaeger-operator: update version prometheus-operator to v1.22.0 #234
Signed-off-by: Login Victor <batazor111@gmail.com>
2021-04-11 20:40:32 +03:00
Victor Login d8f64b734b
Merge pull request #228 from CSP197/csp197/NodePortUpdate
[jaeger-operator] Adding support for NodePort in Jaeger Operator Helm Chart
2021-04-11 11:29:39 +03:00
CSP 0bf505b18c
Squashing commits
Signed-off-by: GitHub <noreply@github.com>

The never ending fix

Signed-off-by: GitHub <noreply@github.com>
2021-04-11 03:13:14 +00:00
Ankit Mehta 157d2d5c5d
Merge pull request #233 from appian/kafka-chart
[jaeger] Update Kafka helm chart version to use automountServiceAccountToken feature
2021-04-07 09:58:23 -04:00
CSP d4edae67e7
Adding support for NodePort in Jaeger Operator Helm Chart
Signed-off-by: GitHub <noreply@github.com>
2021-04-06 22:33:26 +00:00
Ankit Mehta f650cf3db7
Update Kafka helm chart version to use automountServiceAccountToken feature
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2021-04-05 11:30:21 -04:00
Naseem 2b42bb6f77
Merge pull request #230 from appian/sa-auto-token
[Jaeger] Add "automountServiceAccountToken" field to the serviceAccount Templates
2021-04-05 10:48:55 -04:00
Ankit Mehta aa5a9e2adf
Making false as default value for automountServiceAccountToken
Except for cassandra-schema

Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2021-04-01 15:37:05 -04:00
Ankit Mehta 508aebdeef
Add automountServiceAccountToken field to the serviceAccount Templates
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2021-04-01 10:55:35 -04:00
Naseem 0f0afbeb1c
Merge pull request #231 from openet/feature/query-sidecar 2021-04-01 08:47:40 -04:00
OpenetCK de29fe71b3
Adding oauth2-proxy sidecar to the jaeger-query pod to enable TLS & authentication capabilities.
Signed-off-by: OpenetCK <chinkang.tan@openet.com>
2021-03-31 15:34:30 +08:00
Pavel Nikolov aee420f636
Merge pull request #226 from BitProcessor/main
Cleanup spark-cronjob storage env vars
2021-03-25 12:38:26 +02:00
Maarten De Wispelaere fd87c9a502
bump chart version
Signed-off-by: Maarten De Wispelaere <maarten@bitprocessor.be>
2021-03-25 11:05:47 +01:00
Maarten De Wispelaere cbe8caba85
Cleanup spark-cronjob storage env vars
Signed-off-by: Maarten De Wispelaere <maarten@bitprocessor.be>
2021-03-25 11:05:47 +01:00
Naseem c8d296f8d5
Merge pull request #225 from mehta-ankit/image-tag
[Jaeger] Make .Values.tag default to .Chart.AppVersion
2021-03-24 19:35:29 -04:00
Ankit Mehta f8027a4399
Make .Values.tag default to .Chart.AppVersion
Created a new Template variable that is used instead of
.Values.tag in chart template files and it defaults to
.Chart.AppVersion

Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2021-03-24 11:24:53 -04:00
Naseem 94ec116f52
Merge pull request #220 from ctailor2/tpl-kafka-brokers 2021-03-18 20:37:48 -04:00
Chirag Tailor b3916f6070
[jaeger] Allow template strings in kafka brokers value
Signed-off-by: Chirag Tailor <ctailor2@gmail.com>
2021-03-17 17:12:31 -05:00
Ankit Mehta 92e7afdf7b
Merge pull request #219 from ctailor2/feature/extra-objects
[jaeger] Allow installing extra objects along with the chart
2021-03-17 11:21:55 -04:00
Chirag Tailor 4071a995f9
[jaeger] Allow installing extra objects along with the chart
Signed-off-by: Chirag Tailor <ctailor2@gmail.com>
2021-03-17 10:11:09 -05:00
Ankit Mehta 6ea35f4822
Merge pull request #218 from ctailor2/main
[jaeger] Add serviceAccountName to ingester deploy
2021-03-17 10:13:34 -04:00
Chirag Tailor 4992cf189f
Add serviceAccountName to ingester deploy
Signed-off-by: Chirag Tailor <ctailor2@gmail.com>
2021-03-15 11:30:17 -05:00
Naseem 64d9e53862
Merge pull request #216 from airen29/main
[jaeger] Update deprecated COLLECTOR_ZIPKIN_HTTP_PORT variable
2021-03-05 10:28:40 -05:00
Kristián Patlevič 17babdd614
Update deprecated COLLECTOR_ZIPKIN_HTTP_PORT variable
Signed-off-by: Kristián Patlevič <patlevic.kristian@gmail.com>
2021-03-05 16:23:21 +01:00
Naseem fe4ae0cd2a
Merge pull request #211 from naseemkullah/jaeger-1.22.0
[jaeger] update to 1.22.0
2021-02-27 18:27:08 -05:00
naseemkullah 162d5170fb
update workflows
Signed-off-by: naseemkullah <naseem@transit.app>
2021-02-27 18:18:35 -05:00
naseemkullah 872fce37cf
update target-branch to main
Signed-off-by: naseemkullah <naseem@transit.app>
2021-02-27 18:17:08 -05:00
naseemkullah f6e2e04d00
update jaeger to 1.22.0
also update elasticsearch subchart to latest 7.x

Signed-off-by: naseemkullah <naseem@transit.app>
2021-02-27 16:58:36 -05:00
Naseem f1cfa69a45
Merge pull request #181 from naseemkullah/helm3
[jaeger] to helm3
2021-02-27 16:49:12 -05:00
Naseem e6733f383f
[jaeger] to helm3
Signed-off-by: Naseem <naseem@transit.app>
2021-02-27 16:41:49 -05:00
naseemkullah d085678849
update references to mainline branch
Signed-off-by: naseemkullah <naseem@transit.app>
2021-02-27 16:13:55 -05:00
Naseem 996bd4ade7
Merge pull request #209 from appian/spark-job
[jaeger] Add activeDeadlineSeconds field to Job template for the spark job
2021-02-27 13:00:02 -05:00
Ankit Mehta 5b643444ad
Fix broken DCO link on the PR template
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2021-02-26 15:09:03 -05:00
Ankit Mehta 520fd422cc
Add activeDeadlineSeconds field to Job template for the spark job
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2021-02-26 14:47:40 -05:00
Victor Login 3183a8aeb9
Merge pull request #206 from tricky42/fix-crd
[jaeger-operator]: fix invalid crd.yaml to conform to apiextensions.k8s.io/v1 CustomResourceDefinition schema
2021-02-17 14:30:51 +03:00
Andreas Bucksteeg 72db111cf6
fix: adjusted crd yaml to conform to schema chore: bump chart version
Signed-off-by: Andreas Bucksteeg <andreas@bucksteeg.de>
2021-02-17 09:33:17 +01:00
Naseem 2fd804a3a6
Merge pull request #198 from naseemkullah/add-maintainer
[jaeger] add mehta-ankit as a chart maintainer
2021-02-08 13:08:34 -05:00
naseemkullah 78fc456bfe
add mehta-ankit as a chart maintainer
Signed-off-by: naseemkullah <naseem@transit.app>
2021-02-08 10:02:22 -05:00
Victor Login 93e6107620
Merge pull request #197 from chgl/update-all-to-v1.21
[jaeger-operator] Updated jaeger-operator to version 1.21
2021-02-04 03:23:50 +03:00
chgl 3a3999ef7b
Updated jaeger-operator to version 1.21
Signed-off-by: chgl <chgl@users.noreply.github.com>
2021-02-03 14:35:42 +01:00
Naseem ba4e779403
Merge pull request #203 from appian/update-to-1-21-0
[jaeger] Upgrade to v1.21.0 of Jaeger
2021-01-28 13:15:28 -05:00
Victor Login b3f7490073
Merge pull request #103 from mashail/feat/add-namespaces
feat(jaeger-operator): add namespace to Deplyment, service and jaeger templates
2021-01-28 12:33:10 +03:00
Mashail Almuzaini 6d8c886cad
feat(jaeger-operator): add namespace to Deplyment, service and jaeger template
Signed-off-by: Mashail Almuzaini <mashail_d@ymail.com>
2021-01-28 11:34:34 +03:00
Ankit Mehta c737191457
Upgrade to v1.21.0 of Jaeger
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2021-01-27 15:02:20 -05:00
Naseem d5cfa84ebb
Merge pull request #202 from sharkymcdongles/master
[jaeger] Add healthcheck to Jaeger query ingress
2021-01-27 14:56:09 -05:00
sharkymcdongles 9aec558c42
Add healthcheck to Jaeger
Signed-off-by: sharkymcdongles <bryanfcarmichael@gmail.com>
2021-01-27 20:46:03 +01:00
Naseem a711c3cce1
Merge pull request #189 from grassiale/fix/es-jobs-extra-secret-volumes
Grazie!
2020-12-23 11:51:36 -05:00
Alessandro Grassi 5cb7571597
adds volumes from extra secrets to all es jobs
annotates elasticsearch secret with helm hooks to create it before es rollover init hook
bumps chart version
adding resource policy annotation for helm 3 future garbage collection
indents volumes list
also adds extraConfigmaps ref to volumes list in elasticsearch jobs

Signed-off-by: Alessandro Grassi <alessandro.grassi01@gmail.com>
2020-12-23 17:41:28 +01:00
Victor Login aa3b160bf0
Merge pull request #163 from gas-buddy/gas-buddy/eherot/fix_NOTES_typo
[jaeger-operator] Add missing space to export command
2020-12-21 12:54:35 +03:00
Eric Herot 802674f22e
[jaeger-operator]: Add space before labels flag in example export command in NOTES
Signed-off-by: Eric Herot <400447+eherot@users.noreply.github.com>
2020-12-20 15:09:28 -05:00
Victor Login b111915bc2
update README file (#188)
Signed-off-by: Login Victor <batazor111@gmail.com>
2020-12-20 15:51:52 +01:00
Victor Login dd7192f42b
fix linter error (#186)
Signed-off-by: Login Victor <batazor111@gmail.com>
2020-12-18 10:29:58 +01:00
Victor Login 045550f569
Merge pull request #162 from chgl/master
[jaeger-operator] Updated jaeger-operator to version 1.20.0
2020-12-17 06:40:54 +03:00
Naseem d23f05081f
Merge pull request #184 from appian/update-default-value
[jaeger] Make default value for daemonset updateStrategy an empty map {}
2020-12-14 17:01:38 -05:00
Ankit Mehta a915f0f585
Make default value for daemonset updateStrategy empty map {}
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2020-12-14 16:42:21 -05:00
Naseem c1e114dc03
Merge pull request #183 from appian/pdb-concurrency-policy
Thanks @mehta-ankit !
2020-12-14 16:35:26 -05:00
Ankit Mehta 30fc26e405
Add concurrencyPolciy to CronJob and maxUnavailable to agent daemonset
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2020-12-14 16:23:48 -05:00
Naseem 36b2178cbc
Merge pull request #180 from janlud/master
[jaeger] add option to configure service account annotations
2020-12-10 07:59:47 -05:00
Jan Ludvik 30377cea7d
feat: add option to configure service account annotations
Adds ability to configure service accounts annotations for query, collector and agent. This can allow for example configure AWS IAM roles for service accounts.

Signed-off-by: Jan Ludvik <ludvik.honza@gmail.com>
2020-12-10 09:07:15 +01:00
Naseem 2994f77101
add dependency chart repos in workflows
Signed-off-by: Naseem <naseem@transit.app>
2020-12-10 02:42:36 -05:00
Naseem ca6bc3d0a3
update gh workflows
Signed-off-by: Naseem <naseem@transit.app>
2020-12-08 08:49:11 -05:00
Naseem 5a243240f0
Merge pull request #178 from bhiravabhatla/issue#176
issue#176 [Jaeger] - Remove deployment strategy Recreate from all deployment templates
2020-12-08 08:20:32 -05:00
santosh fe0841bba4
issue#176 [Jaeger] - Remove deployment strategy Recreate from all deployment templates to default to rolling updates
Signed-off-by: santosh <bsantosh@thoughtworks.com>
2020-12-08 11:22:07 +05:30
Naseem dab35966cb
Merge pull request #174 from creack/add-collector-ing
[jaeger] Add the option to enable ingress for the collector
2020-11-28 00:31:16 -05:00
Guillaume J. Charmes e25df0acb8
jaeger: Add the option to enable ingress for the collector
Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>
2020-11-27 22:59:53 -05:00
Naseem 596c29b33a
Merge pull request #166 from naseemkullah/readme
[jaeger] update readme and add recommendation to explicitly configure storage
2020-11-06 08:52:55 -05:00
Naseem 8b18a19c57
Add instructions to view values for helm 2
Signed-off-by: Naseem <naseem@transit.app>
2020-10-19 09:01:05 -04:00
Naseem 8cc7aa84ad
add note about dependency chart values
Signed-off-by: Naseem <naseem@transit.app>
2020-10-13 08:30:05 -04:00
Naseem e7c938a1be
update readme and add recommendation to explicitly configure storage
Signed-off-by: Naseem <naseem@transit.app>
2020-10-08 08:11:09 -04:00
Naseem 1ca613f6ff
update to 1.20.0
Signed-off-by: Naseem <naseem@transit.app>
2020-10-06 16:53:47 -04:00
chgl bd34186449
Updated jaeger-operator to version 1.20.0
Signed-off-by: chgl <chgl@users.noreply.github.com>
2020-10-02 15:56:19 +02:00
Naseem b48e4abd86
Merge pull request #161 from n4nn31355/es_rollover_sa_fix
[jaeger] Fix ES rollover init job service account creation
2020-09-29 22:46:44 -04:00
Vyacheslav Artemiev f7f826e1f7
Fix ES rollover init job service account creation
Signed-off-by: Vyacheslav Artemiev <v.artemiev@semrush.com>
2020-09-30 05:45:20 +03:00
Naseem 8285bdaf07
Merge pull request #159 from user-name-is-taken/issue-158
[jaeger] Fixing issue 158
2020-09-29 22:35:01 -04:00
Naseem 1c41c30da2
Merge branch 'master' into issue-158 2020-09-29 22:34:55 -04:00
Naseem a9e6359cd4
Merge pull request #160 from n4nn31355/es_rollover 2020-09-29 21:23:33 -04:00
Vyacheslav Artemiev eccdd9afbf
Add elasticsearch rollover jobs
Signed-off-by: Vyacheslav Artemiev <v.artemiev@semrush.com>
2020-09-30 03:42:13 +03:00
Michael Lundquist e14ffd195a
Merge branch 'master' into issue-158 2020-09-28 15:15:29 -04:00
Naseem 1d423b2b7e
Merge pull request #157 from user-name-is-taken/patch-2
[jaeger] Adding quotes to the cassandra.tls.enabled parameter
2020-09-28 14:56:24 -04:00
Michael Lundquist 7442e64c99
Fixing how storage.cassandra.cmdlineParams and storage.elasticsearch.cmdlineParams are parsed in storage.cmdArgs in _helpers.tpl. This resolves issue #158
Signed-off-by: Michael Lundquist <michaellundquist7@gmail.com>
2020-09-28 14:10:37 -04:00
Naseem 8a92649a91
Update README.md 2020-09-27 13:03:11 -04:00
Naseem d7f2f28c3f
Update README.md 2020-09-27 13:02:46 -04:00
Michael Lundquist cecd8eab1f
bumping version
Signed-off-by: Michael Lundquist <michaellundquist7@gmail.com>
2020-09-24 10:12:32 -04:00
Michael Lundquist 1703755b6e
Adding quotes to the cassandra.tls.enabled parameter
Signed-off-by: Michael Lundquist <michaellundquist7@gmail.com>
2020-09-24 10:05:35 -04:00
Naseem 4f8e3a85cb
Merge pull request #154 from user-name-is-taken/patch-1
Resolving issue #153
2020-09-23 15:19:11 -04:00
Michael Lundquist 7478fec60c
version bump
Signed-off-by: Michael Lundquist <michaellundquist7@gmail.com>
2020-09-23 12:44:51 -04:00
Michael Lundquist c6092641e8
Resolving issue #153
Signed-off-by: Michael Lundquist <michaellundquist7@gmail.com>
2020-09-23 12:43:44 -04:00
Naseem b652a89dda
correct link to commit signature verification
Signed-off-by: Naseem <naseem@transit.app>
2020-09-23 10:18:30 -04:00
Naseem 5bc39863de
shorten section title
Signed-off-by: Naseem <naseem@transit.app>
2020-09-23 09:56:25 -04:00
Naseem e68b194f41
add missing backtick and fix spacing
Signed-off-by: Naseem <naseem@transit.app>
2020-09-23 09:54:43 -04:00
Naseem 6cc7cd02b7
cleanup pr template
Signed-off-by: Naseem <naseem@transit.app>
2020-09-23 09:49:18 -04:00
Naseem a7b98eb8f3
add pr template
Signed-off-by: Naseem <naseem@transit.app>
2020-09-23 09:44:49 -04:00
Naseem c733165302
Merge pull request #150 from appian/bitnami-kafka-chart
Use bitnami chart for kafka
2020-09-15 16:32:51 -04:00
Ankit Mehta a12ebd80d9
Use bitnami chart for kafka
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2020-09-15 16:23:37 -04:00
Naseem 71f9c2f1e9
Merge pull request #146 from chgl/master
Updated jaeger-operator to version 1.19.0
2020-09-09 13:48:28 -04:00
Chris f7819532a2
Merge branch 'master' into master 2020-09-09 19:44:54 +02:00
Naseem 9f31f58b35
Merge pull request #148 from naseemkullah/1-19-2
[jaeger] update image to 1.19.2
2020-09-09 09:51:14 -04:00
Naseem 884cb652b9
[jaeger] image 1.19.2
Signed-off-by: Naseem <naseem@transit.app>
2020-09-09 09:42:33 -04:00
Naseem ef0d6eaa6b
Merge pull request #147 from naseemkullah/codeowners
add CODEOWNERS and remove OWNERS files
2020-09-08 20:14:41 -04:00
Naseem 2057f79a71
add CODEOWNERS and remove OWNERS files
Signed-off-by: Naseem <naseem@transit.app>
2020-09-08 09:07:43 -04:00
chgl 84e35de5df
Updated jaeger-operator to version 1.19.0
Signed-off-by: chgl <chgl@users.noreply.github.com>
2020-08-30 22:44:17 +02:00
Naseem de3d9cf59c
Merge pull request #135 from davelosert/Add_PriorityClassName_Configuration
[jaeger] Added PriorityClassName Configuration to Collector and Query
2020-08-12 08:58:00 -04:00
David Losert c93edf259a
Added PriorityClassName Configuration to Collector and Query
Signed-off-by: David Losert <david.losert@gmx.de>
2020-08-12 07:43:43 +02:00
Naseem bdb667cb09
Merge pull request #140 from chgl/master
Allow overriding the Cassandra schema job security context
2020-08-11 10:01:40 -04:00
chgl 48194e91ee
Allow overriding the Cassandra schema job security context
Signed-off-by: chgl <chgl@users.noreply.github.com>
2020-08-11 15:50:29 +02:00
Naseem 32d7fb792a
Merge pull request #133 from fahlke/feature/add-imagePullSecrets-to-jaeger-helm-chart
[jaeger] added image pull secrets option
2020-07-14 11:42:04 -04:00
Alexander Fahlke alexander.fahlke@gmail.com e30fe61b2f
changed imagePullSecrets from ServiceAccounts to Pod specs
Signed-off-by: Alexander Fahlke alexander.fahlke@gmail.com <alexander.fahlke@gmail.com>
2020-07-14 17:08:59 +02:00
Naseem 3058070163
Merge pull request #117 from nerumo/master
[jaeger-operator] fix ingress role permissions
2020-06-22 09:03:58 -04:00
Marco Schmidlin c1df2ceb25
fix: bump jaeger-operator chart version to 2.15.1
Signed-off-by: Marco Schmidlin <mb@triarc-labs.com>
2020-06-22 08:09:36 +02:00
Marco Bachmann da5283380e
fix ingress role permissions
Signed-off-by: Marco Schmidlin <mb@triarc-labs.com>
2020-06-22 08:09:35 +02:00
Naseem fa4dac8d77
Merge pull request #121 from naseemkullah/extra-env
[jaeger] use extraEnv in favor of env
2020-06-13 20:45:14 -04:00
Naseem 515fdd87b5
use extraEnv in favor of env and update gh actions
env was limited in its implementation, extraEnv takes a list and performs a toYaml to enable maxiumum flexibility such as values from secrets and configmaps

Also adjusts indentation for for some lists.

Also updates github actions.

Signed-off-by: Naseem <naseem@transit.app>
2020-06-13 20:33:55 -04:00
Naseem 9584c1baa2
Merge pull request #123 from appian/query-config-map
Allow users to pass Query UI configuration in values.yaml file
2020-06-13 00:53:26 -04:00
Ankit Mehta a6a31492e4
Allow users to pass Query UI configuration in values.yaml file
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2020-06-12 14:36:16 -04:00
Naseem 92de6fd2ac
Merge pull request #119 from cgroschupp/feat/add-env-spark
allow to set env variables for spark cronjob
2020-06-12 08:50:50 -04:00
Christian Groschupp bda450cc48
[jaeger] Update Minor version
Signed-off-by: Christian Groschupp <christian@groschupp.org>
2020-06-12 07:48:06 +02:00
Christian Groschupp bac12f258a
allow to set extrEnv variables for spark cronjob
Signed-off-by: Christian Groschupp <christian@groschupp.org>
2020-06-12 07:47:48 +02:00
Naseem 6787ff09ce
fix: bump chart version
Signed-off-by: Naseem <naseem@transit.app>
2020-05-30 11:04:30 -04:00
Naseem 0dc06f9b5f
Merge pull request #106 from naseemkullah/1.18.0
Update Jaeger to 1.18.0, remove tchannel config
2020-05-30 10:56:07 -04:00
Naseem e922ea2ed7
Merge pull request #110 from oliverbaehler/eck-support
Add custom SecretKey Option for Elasticsearch
2020-05-29 11:05:44 -04:00
Oliver Bähler 4e1289282c
Add custom SecretKey Option
Signed-off-by: Oliver Bähler <oliver.baehler@bedag.ch>
Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
2020-05-29 15:22:04 +02:00
Naseem e73dcfc595
Update Jaeger to 1.18.0, remove tchannel config
Signed-off-by: Naseem <naseem@transit.app>
2020-05-16 07:49:59 -04:00
Naseem d4042b2aff
Merge pull request #102 from dntosas/migrate-ingress-to-non-deprecated-apis
Jaeger Chart: Migrate Ingress to non-deprecated apiVersion
2020-05-04 08:58:48 -04:00
dntosas 251ae36bc0
Jaeger Chart: Update Minor VERSION
Signed-off-by: dntosas <ntosas@gmail.com>
2020-05-03 10:37:38 +03:00
dntosas 6fbb82bb71
Jaeger Chart: Update Ingress to non deprecated apiVersion
At Kubernetes version 1.16, Ingress resource is no loger served from
extensions/v1beta1 apiVersion so in this commit we migrate templates
regarding these resources to newer and supported values.

Signed-off-by: dntosas <ntosas@gmail.com>
2020-05-03 10:37:08 +03:00
Naseem 5899a0240a
Merge pull request #101 from mrparkers/fix-storage-env
fix: add missing newline when setting custom storage environment variables
2020-04-30 19:30:21 -04:00
Michael Parker 8f09b6ef63
bump chart version (patch)
Signed-off-by: Michael Parker <michael@parker.gg>
2020-04-30 18:11:50 -05:00
Michael Parker 870cc83051
fix missing newline for custom storage environment variables
Signed-off-by: Michael Parker <michael@parker.gg>
2020-04-30 18:11:50 -05:00
Naseem 31b54c7dfd
Merge pull request #98 from naseemkullah/jaeger-1.17.1
Bump image version.
2020-04-22 14:12:53 -04:00
Naseem b21c7774a3
Merge branch 'master' into jaeger-1.17.1 2020-04-22 09:05:52 -04:00
Naseem a5f9bfe48c
Bump image version.
Signed-off-by: Naseem <naseem@transit.app>
2020-04-22 09:04:45 -04:00
Naseem 6b456d10b7
Merge pull request #97 from Jasstkn/service-monitors
Enable serviceMonitor support for all jaeger components
2020-04-15 12:19:43 -04:00
Jasstkn c4ba4d81a0
Fix: empty line missing at eof
Signed-off-by: Jasstkn <jasssstkn@yahoo.com>
2020-04-15 18:24:28 +03:00
Jasstkn e4c0adcc5a
Fix: wrong value for agent
Signed-off-by: Jasstkn <jasssstkn@yahoo.com>
2020-04-15 18:23:08 +03:00
Jasstkn c0334c917c
Enable serviceMonitor support for all jaeger components
Signed-off-by: Jasstkn <jasssstkn@yahoo.com>
2020-04-15 18:05:51 +03:00
Naseem 28713c1f00
Merge pull request #95 from lheinlen/agent-priority-class
Allow setting of agent pod priorityClassName
2020-04-08 10:48:03 -04:00
Lucas Heinlen 0ef07fe281
Allow setting of agent pod priorityClassName
Signed-off-by: Lucas Heinlen <lucas.heinlen@gmail.com>
2020-04-08 10:29:14 -04:00
Naseem 2ddbe261a4
Merge pull request #93 from naseemkullah/master
Update cassandra dependency chart version.
2020-04-02 08:24:20 -04:00
Naseem 8394b964ea
Update cassandra dependency chart version.
Prior to this version, CRD ServiceMonitor was needed by default.

Signed-off-by: Naseem <naseem@transit.app>
2020-04-02 08:22:35 -04:00
Naseem 4d0d20bced
Merge pull request #92 from naseemkullah/master
Add es-index-cleaner pod annotations.
2020-04-01 10:57:46 -04:00
Naseem e3ab2f5fea
Add es-index-cleaner pod annotations.
Signed-off-by: Naseem <naseem@transit.app>
2020-04-01 10:57:13 -04:00
Naseem 95a123773d
Merge pull request #91 from naseemkullah/master
Add es-index-cleaner pod annotations.
2020-04-01 10:54:02 -04:00
Naseem 3caf84a4e8
Add es-index-cleaner pod annotations.
Signed-off-by: Naseem <naseem@transit.app>
2020-04-01 10:53:01 -04:00
Victor Login 6594edea71
Merge pull request #78 from vipinvkmenon/autoscaling-support
[jaeger-operator] Add role permissions for AutoScaling
2020-03-31 09:55:30 +03:00
Naseem d0ef1f9704
Merge pull request #89 from Jasstkn/fix-bad-format
Fixed: typo in README
2020-03-29 13:21:33 -04:00
Jasstkn 7c76e6dd5e
Fix typo in README
Signed-off-by: Jasstkn <jasssstkn@yahoo.com>
2020-03-29 20:00:29 +03:00
Naseem bea041f2d6
Merge pull request #83 from naseemkullah/schema-pod-annotations
[jaeger] Add pod annotations for schema job.
2020-03-27 09:07:38 -04:00
Naseem 8ac9f6f08a
Merge branch 'master' into schema-pod-annotations 2020-03-27 09:07:28 -04:00
Naseem cf8d8954a3
Merge pull request #87 from marcusportmann/master
Added support for specifying the port number to use for the node port  for the Jaeger query service
2020-03-27 09:06:49 -04:00
Marcus Portmann ddb9875936
Added support for specifying the port number to use for the node port for the Jaeger query service
Signed-off-by: Marcus Portmann <marcus@mmp.guru>
2020-03-26 21:37:43 +02:00
Naseem 7d99dbf4fa
Use checkout@v2 action
Requires subsequent git fetch --prune --unshallow step since actions/checkout@v2 does a shallow clone by default

Signed-off-by: Naseem <naseem@transit.app>
2020-03-21 14:34:35 -04:00
Naseem 6a756082e6
Add pod annotations for schema job.
Signed-off-by: Naseem <naseem@transit.app>
2020-03-20 13:50:04 -04:00
Naseem c6e825a510
Remove deprecated values
In favor of setting these via schema.env

Signed-off-by: Naseem <naseem@transit.app>
2020-03-16 14:30:51 -04:00
Naseem c636a695ca
Remove conflicting mode value for schema job.
MODE env var was being set twice, removing deprecated value schema.mode which in favour of using schema.env.MODE

Signed-off-by: Naseem <naseem@transit.app>
2020-03-16 14:26:15 -04:00
Naseem f8e9b6946e
Merge pull request #82 from naseemkullah/jaeger-nindent
[jaeger]Use nindent over indent
2020-03-16 12:06:43 -04:00
Naseem fa48abcb91
Revert fo actions/checkout@v1
There is an incompatibility as per https://github.com/helm/chart-testing-action/issues/20.

Signed-off-by: Naseem <naseem@transit.app>
2020-03-16 11:49:50 -04:00
Naseem 056191e109
Use nindent over indent
Use nindent function and indent the templating pipelines where the values will be, instead of indent function without indentending the templating pipelines to improve readability.

Signed-off-by: Naseem <naseem@transit.app>
2020-03-16 11:47:31 -04:00
Naseem e378d34b82
Merge pull request #81 from naseemkullah/fix-workflow
Use checkout v2 but set depth to 0
2020-03-16 11:12:43 -04:00
Naseem 88b94e782b
Use checkout v2 but set depth to 0
v2 has depth 1 by default. That’s why no changes are detected.

Signed-off-by: Naseem <naseem@transit.app>
2020-03-16 11:11:47 -04:00
Naseem d421a2e556
Merge pull request #80 from naseemkullah/fix-workflow
Bump chart to rerun release.
2020-03-16 11:00:14 -04:00
Naseem 948a42ee88
Bump chart to rerun release.
Signed-off-by: Naseem <naseem@transit.app>
2020-03-16 10:59:26 -04:00
Naseem 71e841e47f
Merge pull request #79 from naseemkullah/fix-workflow
hotfix: v2 has depth 1 by default. That’s why no changes are detected.
2020-03-16 10:47:46 -04:00
Naseem 83de018ef2
v2 has depth 1 by default. That’s why no changes are detected.
Signed-off-by: Naseem <naseem@transit.app>
2020-03-16 10:45:57 -04:00
Naseem 5772a9785b
Merge pull request #76 from naseemkullah/auth-kafka
[jaeger]Add kafka authentication option.
2020-03-16 09:08:37 -04:00
Vipin Vijaykumar a7294b5337
Add role permissions for AutoScaling
Adds autoscaling into  the operator roles
Fixes: https://github.com/jaegertracing/helm-charts/issues/68

Signed-off-by: Vipin Vijaykumar <vipin.vijaykumar@sap.com>
2020-03-16 18:31:34 +05:30
Naseem f00578c1ee
Increase timeout to 10m
Deploying Cassandra is time consuming and test does not always complete within 500s

Signed-off-by: Naseem <naseem@transit.app>
2020-03-13 10:06:58 -04:00
Naseem 7883d61920
Add kafka authentication option.
Signed-off-by: Naseem <naseem@transit.app>
2020-03-13 06:35:19 -04:00
Naseem fc87249b7f
Merge pull request #75 from naseemkullah/refactor-config
refactor-config
2020-03-13 05:33:36 -04:00
Naseem 64352aea62
Make cmd line opts able to just have a key without value
For flags that are boolean and disabled by default need not the explicit value of true when enabled; one can simply pass the key.

Signed-off-by: Naseem <naseem@transit.app>
2020-03-13 00:50:37 -04:00
Naseem f53e828ca7
refactor-config
Firstly, cmd line options are templated as command arguments as they should be. Secondly components now have an env value to configure any env vars. Cassandra/Elasticsearch values that are required in the various components that talk to them (collector/ingester, query, spark-job, cassandra-schema, es-index-cleaner, however the latter three have non-standard env var names that are kept) have been moved to _helpers.tpl for shareability.

Signed-off-by: Naseem <naseem@transit.app>
2020-03-12 22:12:13 -04:00
Naseem 2f60c580bd
Merge pull request #67 from golgoth31/master
use "enabled" key to add zipkin port to collector
2020-03-06 08:42:48 -05:00
David Sabatie 851bcaede6
revert zipkin.enabled key, use empty {}
Signed-off-by: David Sabatie <david.sabatie@delair.aero>
2020-03-06 14:14:13 +01:00
Naseem e01d66ba03
Merge pull request #62 from naseemkullah/actions-checkout-v2
[ci] Use actions checkout v2
2020-03-06 07:12:27 -05:00
Naseem fb3f2da453
Merge pull request #56 from hd-deman/patch-1
support extraSecretMounts in query resource
2020-03-06 07:12:04 -05:00
David Sabatie 0c1d8e189d
use "enabled" key to add zipkin port to collector (avoid warning from helm)
Signed-off-by: David Sabatie <david.sabatie@delair.aero>
2020-03-06 10:01:42 +01:00
Dmitry Tsoy a2038191ff
rerun build 2020-03-05 01:49:23 +03:00
Naseem f044347432
Merge pull request #63 from appian/fix-service-account-es-cleaner
Add service accoiunt for es-index-cleaner object
2020-03-03 09:13:21 -05:00
Ankit Mehta 03a02f3b19
Add service accoiunt for es-index-cleaner object
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2020-03-03 08:31:34 -05:00
Naseem 582dd9ddf1
Use actions checkout v2
Signed-off-by: Naseem <naseem@transit.app>
2020-03-02 20:02:32 -05:00
Dmitry Tsoy 51caca56ab
support extraSecretMounts in query resource
Signed-off-by: Dmitry Tsoy <hd.deman@gmail.com>
2020-03-03 01:32:46 +03:00
Naseem 129e530857
Merge pull request #60 from appian/job-delete-es-indices
[jaeger] Add CronJob to delete ElasticSearch indices older than n days
2020-03-02 10:00:26 -05:00
Ankit Mehta 67faa9f39b
rerun build
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2020-03-02 09:15:31 -05:00
Ankit Mehta 023a2abbbc
Rename cronjob to es-index-cleaner-cronjob.yaml
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2020-03-02 09:03:13 -05:00
Ankit Mehta b63ead3693
Change service account name and container name to kebab-case
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2020-03-02 08:55:53 -05:00
Ankit Mehta a86be940f4
Bump the chart version to 0.22.0
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2020-03-02 08:12:38 -05:00
Ankit Mehta bf50f21090
Add securityContext for ES cleanup cron job
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2020-03-02 08:12:38 -05:00
Ankit Mehta 4fb1ad9e99
Add CronJob to delete ElasticSearch indices older than 7 days
Signed-off-by: Ankit Mehta <ankit.mehta@appian.com>
2020-03-02 08:12:38 -05:00
Naseem e823f33559
Merge pull request #58 from maximsnezhkov/allow-manually-set-nodeport-for-collector
[jaeger] Add ability to manually set nodeport for jaeger-collector
2020-03-01 12:30:37 -05:00
Снежков Максим 30513ec82a
rerun build
Signed-off-by: Снежков Максим <m.snezhkov@n1.ru>
2020-03-01 23:06:49 +07:00
Naseem 62aa2402e0
Merge branch 'master' into allow-manually-set-nodeport-for-collector 2020-02-29 18:02:44 -05:00
Снежков Максим 5b9292d712
[jaeger] Add ability to manually set nodeport for jaeger-collector
Signed-off-by: Снежков Максим <m.snezhkov@n1.ru>
2020-02-29 23:44:37 +07:00
86 changed files with 18888 additions and 809 deletions

4
.github/CODEOWNERS vendored Normal file
View File

@ -0,0 +1,4 @@
# https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
/charts/jaeger/ @dvonthenen @mikelorant @naseemkullah @pavelnikolov
/charts/jaeger-operator/ @batazor @cpanato

16
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,16 @@
#### What this PR does
#### Which issue this PR fixes
*(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format,
will close that issue when PR gets merged)*
- fixes #
#### Checklist
- [ ] [DCO](https://github.com/jaegertracing/helm-charts/blob/main/CONTRIBUTING.md#sign-off-your-work) signed
- [ ] Commits are [GPG signed](https://docs.github.com/en/github/authenticating-to-github/about-commit-signature-verification)
- [ ] Chart Version bumped
- [ ] Title of the PR starts with chart name (`[jaeger]` or `[jaeger-operator]`)
- [ ] README.md has been updated to match version/contain new values

51
.github/actions/prepare-k8s/action.yaml vendored Normal file
View File

@ -0,0 +1,51 @@
name: Prepare K8s for Helm tests
runs:
using: "composite"
steps:
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.14.4
# Python is required because `ct lint` runs Yamale (https://github.com/23andMe/Yamale) and
# yamllint (https://github.com/adrienverge/yamllint) which require Python
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1
with:
version: v3.10.1
- name: Create kind cluster
uses: helm/kind-action@v1.9.0
- name: Install kubectl
uses: azure/setup-kubectl@v4.0.0
with:
version: 'v1.28.8'
id: install
- name: Set up cert-manager
shell: bash
run: |
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml --namespace ingress-nginx
kubectl label node --all ingress-ready=true
kubectl describe pod --selector=app.kubernetes.io/component=controller -n ingress-nginx
kubectl wait --namespace ingress-nginx --for=condition=ready pod --selector=app.kubernetes.io/component=controller --timeout=5m
kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v1.6.1/cert-manager.yaml
- name: Set up cmctl
shell: bash
run: |
curl -sSL -o cmctl.tar.gz https://github.com/cert-manager/cert-manager/releases/download/v1.6.1/cmctl-linux-amd64.tar.gz
tar xzf cmctl.tar.gz
sudo mv cmctl /usr/local/bin
cmctl version
- name: Check if cert-manager is up
shell: bash
run: |
cmctl check api --wait=5m

View File

@ -3,26 +3,87 @@ name: Lint and Test Charts
on: pull_request
jobs:
lint-test:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.14.4
# Python is required because `ct lint` runs Yamale (https://github.com/23andMe/Yamale) and
# yamllint (https://github.com/adrienverge/yamllint) which require Python
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1
with:
version: v3.10.1
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config ct.yaml)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Run chart-testing (lint)
id: lint
uses: helm/chart-testing-action@v1.0.0-alpha.3
with:
command: lint
run: ct lint --config ct.yaml
- name: Create kind cluster
uses: helm/kind-action@v1.0.0-alpha.3
test-with-cassandra:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
installLocalPathProvisioner: true
# Only build a kind cluster if there are chart changes to test.
if: steps.lint.outputs.changed == 'true'
fetch-depth: 0
- name: Run chart-testing (install)
uses: helm/chart-testing-action@v1.0.0-alpha.3
- uses: ./.github/actions/prepare-k8s
- name: Run cassandra-chart-testing (install)
run: ct install --config ct.yaml
test-with-allInOne:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
command: install
fetch-depth: 0
- uses: ./.github/actions/prepare-k8s
- name: Run allInOne-chart-testing (install)
run: |
ct install --config ct.yaml --helm-extra-set-args "
--set provisionDataStore.cassandra=false
--set storage.type=memory
--set allInOne.enabled=true
--set agent.enabled=false
--set collector.enabled=false
--set query.enabled=false"
test-with-elasticsearch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: ./.github/actions/prepare-k8s
- name: Run elasticsearch-chart-testing (install)
run: |
ct install --config ct.yaml --helm-extra-set-args "
--set provisionDataStore.cassandra=false
--set provisionDataStore.elasticsearch=true
--set storage.type=elasticsearch
--set elasticsearch.master.masterOnly=false
--set elasticsearch.master.replicaCount=1
--set elasticsearch.data.replicaCount=0
--set elasticsearch.coordinating.replicaCount=0
--set elasticsearch.ingest.replicaCount=0"

View File

@ -3,35 +3,34 @@ name: Release Charts
on:
push:
branches:
- master
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
# See https://github.com/helm/chart-releaser-action/issues/6
- name: Install Helm
run: |
curl -sSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get
chmod 700 get_helm.sh
./get_helm.sh
helm init --client-only
uses: azure/setup-helm@v1
with:
version: v3.4.1
- name: Add dependency chart repos
run: |
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
helm repo add incubator https://charts.helm.sh/incubator
helm repo add elastic https://helm.elastic.co
helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.0.0-alpha.2
uses: helm/chart-releaser-action@v1.1.0
env:
CR_TOKEN: "${{ secrets.CR_TOKEN }}"
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
# Helm chart automated files
/charts/*/charts
/charts/*/requirements.lock
/charts/*/*.tgz

View File

@ -1,3 +1,3 @@
## Community Code of Conduct
Jaeger follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).
Jaeger follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).

View File

@ -36,7 +36,7 @@ See `git help commit`:
* Must pass [DCO check](#sign-off-your-work)
* Must follow [Charts best practices](https://helm.sh/docs/topics/chart_best_practices/)
* Must pass CI jobs for linting and installing changed charts with the [chart-testing](https://github.com/helm/chart-testing) tool
* Any change to a chart requires a version bump following [semver](https://semver.org/) principles. See [Immutability(#immutability) and [Versioning](#versioning) below
* Any change to a chart requires a version bump following [semver](https://semver.org/) principles. See [Immutability](#immutability) and [Versioning](#versioning) below
Once changes have been merged, the release job will automatically run to package and release changed charts.

View File

@ -1,10 +1,15 @@
# Kubernetes Helm Charts for Jaeger backend
# Jaeger Helm Charts
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![](https://github.com/jaegertracing/helm-charts/workflows/Release%20Charts/badge.svg?branch=master)](https://github.com/jaegertracing/helm-charts/actions)
[![](https://github.com/jaegertracing/helm-charts/workflows/Release%20Charts/badge.svg?branch=main)](https://github.com/jaegertracing/helm-charts/actions)
This functionality is in beta and is subject to change. The code is provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
# 🛑 If you are looking for Helm Chart for Jaeger-v2
it is located in the [v2 branch](https://github.com/jaegertracing/helm-charts/blob/v2/charts/jaeger/README-v2.md).
## Usage
[Helm](https://helm.sh) must be installed to use the charts.
@ -18,6 +23,10 @@ $ helm repo add jaegertracing https://jaegertracing.github.io/helm-charts
You can then run `helm search repo jaegertracing` to see the charts.
See additional documentation:
* [Jaeger chart](./charts/jaeger)
* [Jaeger Operator chart](./charts/jaeger-operator)
## Contributing
We'd love to have you contribute! Please refer to our [contribution guidelines](CONTRIBUTING.md) for details.

View File

@ -0,0 +1,37 @@
The following table shows the compatibility of `Jaeger Operator helm chart` with different components, in this particular case we shows Jaeger Operator, Kubernetes and Strimzi operator compatibility. Cert-manager installed or certificate for webhook service in a secret is required in version 2.29.0+ of the helm chart.
| Chart version | Jaeger Operator | Kubernetes | Strimzi Operator | Cert-Manager |
|---------------------------|-----------------|-----------------|--------------------|--------------|
| 2.57.0 | v1.61.x | v1.19 to v1.29 | v0.32 | v1.6.1+ |
| 2.54.0 | v1.57.x | v1.19 to v1.29 | v0.32 | v1.6.1+ |
| 2.50.0 | v1.52.x | v1.19 to v1.28 | v0.32 | v1.6.1+ |
| 2.49.0 | v1.49.x | v1.19 to v1.28 | v0.32 | v1.6.1+ |
| 2.47.0 | v1.47.x | v1.19 to v1.26 | v0.23 | v1.6.1+ |
| 2.46.0 | v1.46.x | v1.19 to v1.26 | v0.23 | v1.6.1+ |
| 2.45.0 | v1.45.x | v1.19 to v1.26 | v0.23 | v1.6.1+ |
| 2.42.0 | v1.43.x | v1.19 to v1.26 | v0.23 | v1.6.1+ |
| 2.41.0 | v1.42.x | v1.19 to v1.24 | v0.23 | v1.6.1+ |
| (Missing) | | v1.19 to v1.23 | v0.23 | v1.6.1+ |
| (Missing) | v1.41.x | v1.19 to v1.23 | v0.23 | v1.6.1+ |
| (Missing) | v1.40.x | v1.19 to v1.23 | v0.23 | v1.6.1+ |
| 2.37.0 | v1.39.x | v1.19 to v1.24 | v0.23 | v1.6.1+ |
| 2.36.0 | v1.38.x | v1.19 to v1.24 | v0.23 | v1.6.1+ |
| 2.35.0 | v1.37.x | v1.19 to v1.24 | v0.23 | v1.6.1+ |
| 2.34.0 | v1.36.x | v1.19 to v1.24 | v0.23 | v1.6.1+ |
| 2.33.0 | v1.35.x | v1.19 to v1.24 | v0.23 | v1.6.1+ |
| 2.32.0(C), 2.32.1, 2.32.2 | v1.34.x | v1.19 to v1.24 | v0.23 | v1.6.1+ |
| (Missing) | v1.33.x | v1.19 to v1.23 | v0.23 | v1.6.1+ |
| 2.30.0(C), 2.31.0(C) | v1.32.x | v1.19 to v1.21 | v0.23 | v1.6.1+ |
| 2.29.0(C) | v1.31.x | v1.19 to v1.21 | v0.23 | v1.6.1+ |
| 2.28.0 | v1.30.x | v1.19 to v1.21 | v0.23 | |
| 2.27.1 | v1.29.x | v1.19 to v1.21 | v0.23 | |
| 2.27.0 | v1.28.x | v1.19 to v1.21 | v0.23 | |
| 2.26.0 | v1.27.x | v1.19 to v1.21 | v0.23 | |
| (Missing) | v1.26.x | v1.19 to v1.21 | v0.23 | |
| (Missing) | v1.25.x | v1.19 to v1.21 | v0.23 | |
| 2.23.0, 2.24.0, 2.25.0 | v1.24.x | v1.19 to v1.21 | v0.23 | |
| (Missing) | v1.23.x | v1.19 to v1.21 | v0.19, v0.20 | |
| 2.21.* | v1.22.x | v1.18 to v1.20 | v0.19 | |
Legend:
- `(C)` Chart is corrupted. Please do not use it, see [link](https://github.com/jaegertracing/helm-charts/issues/351) and [link](https://github.com/jaegertracing/helm-charts/issues/373)
- `(Missing)` Missing chart version for specified Jaeger Operator version

View File

@ -1,11 +1,12 @@
apiVersion: v1
description: jaeger-operator Helm chart for Kubernetes
name: jaeger-operator
version: 2.14.0
appVersion: 1.17.0
version: 2.57.0
appVersion: 1.61.0
home: https://www.jaegertracing.io/
icon: https://www.jaegertracing.io/img/jaeger-icon-reverse-color.svg
source: https://github.com/jaegertracing/jaeger-operator
sources:
- https://github.com/jaegertracing/jaeger-operator
maintainers:
- email: ctadeu@gmail.com
name: cpanato

View File

@ -1,6 +0,0 @@
approvers:
- cpanato
- batazor
reviewers:
- cpanato
- batazor

View File

@ -14,7 +14,13 @@ This chart bootstraps a jaeger-operator deployment on a [Kubernetes](http://kube
## Prerequisites
- Kubernetes 1.8+ with Beta APIs enabled
- Kubernetes 1.19+
- Helm 3
- cert-manager 1.6.1+ installed, or certificate for webhook service in a secret
## Check compability matrix
See the compatibility matrix [here](./COMPATIBILITY.md).
## Installing the Chart
@ -24,10 +30,10 @@ Add the Jaeger Tracing Helm repository:
$ helm repo add jaegertracing https://jaegertracing.github.io/helm-charts
```
To install the chart with the release name `my-release`:
To install the chart with the release name `my-release` in `observability` namespace:
```console
$ helm install --name my-release jaegertracing/jaeger-operator
$ helm install my-release jaegertracing/jaeger-operator -n observability
```
The command deploys jaeger-operator on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
@ -49,23 +55,30 @@ The command removes all the Kubernetes components associated with the chart and
The following table lists the configurable parameters of the jaeger-operator chart and their default values.
| Parameter | Description | Default |
| :---------------------- | :---------------------------------------------------------------------------------------------------------- | :------------------------------ |
| :-------------------------- | :---------------------------------------------------------------------------------------------------------- |:--------------------------------|
| `serviceExtraLabels` | Additional labels to jaeger-operator service | `{}` |
| `extraLabels` | Additional labels to jaeger-operator deployment | `{}` |
| `image.repository` | Controller container image repository | `jaegertracing/jaeger-operator` |
| `image.tag` | Controller container image tag | `1.17.0` |
| `image.tag` | Controller container image tag | `1.61.0` |
| `image.pullPolicy` | Controller container image pull policy | `IfNotPresent` |
| `jaeger.create` | Jaeger instance will be created | `false` |
| `jaeger.spec` | Jaeger instance specification | `{}` |
| `crd.install` | CustomResourceDefinition will be installed | `true` |
| `rbac.create` | All required roles and rolebindings will be created | `true` |
| `serviceAccount.create` | Service account to use | `true` |
| `rbac.pspEnabled` | Pod security policy for pod will be created and included in rbac role | `false` |
| `rbac.clusterRole` | ClusterRole will be used by operator ServiceAccount | `false` |
| `serviceAccount.name` | Service account name to use. If not set and create is true, a name is generated using the fullname template | `nil` |
| `extraArgs` | Additional command line arguments arguments passed to the operator | `{}` |
| `extraEnv` | Additional environment variables passed to the operator. For example: name: LOG-LEVEL value: debug | `[]` |
| `replicaCount` | Desired number of operator pods | `1` |
| `resources` | K8s pod resources | `None` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Toleration labels for pod assignment | `[]` |
| `topologySpreadConstraints` | Topology Spread Constraints for pod assignment | `[]` |
| `affinity` | Affinity settings for pod assignment | `{}` |
| `securityContext` | Security context for pod | `{}` |
| `containerSecurityContext` | Security context for the container | `{}` |
| `priorityClassName` | Priority class name for the pod | `None` |
Specify each parameter you'd like to override using a YAML file as described above in the [installation](#installing-the-chart) section.
@ -76,6 +89,13 @@ $ helm install jaegertracing/jaeger-operator --name my-release \
--set rbac.create=false
```
To install the chart without creating the CRDs (any files under `chart/crds`) make use of the `--skip-crds` flag. For example,
```console
$ helm install jaegertracing/jaeger-operator --name my-release \
--skip-crds
```
## After the Helm Installation
### Creating a new Jaeger instance

File diff suppressed because it is too large Load Diff

View File

@ -45,4 +45,5 @@ Create chart name and version as used by the chart label.
{{/* Generate basic labels */}}
{{- define "jaeger-operator.labels" }}
app.kubernetes.io/name: {{ include "jaeger-operator.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

View File

@ -0,0 +1,22 @@
{{- if .Values.certs.certificate.create }}
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ default "jaeger-operator-service-cert" .Values.certs.certificate.secretName }}
namespace: {{ .Release.Namespace }}
spec:
dnsNames:
- "{{ default "jaeger-operator-webhook-service" .Values.webhooks.service.name }}.{{ .Release.Namespace }}.svc"
- "{{ default "jaeger-operator-webhook-service" .Values.webhooks.service.name }}.{{ .Release.Namespace }}.svc.cluster.local"
issuerRef:
{{- if .Values.certs.issuer.create }}
kind: Issuer
{{- else }}
kind: {{ .Values.certs.certificate.issuerKind }}
{{- end }}
name: {{ default "selfsigned-issuer" .Values.certs.issuer.name }}
secretName: {{ default "jaeger-operator-service-cert" .Values.certs.certificate.secretName }}
subject:
organizationalUnits:
- "{{ include "jaeger-operator.name" . }}"
{{- end }}

View File

@ -1,6 +0,0 @@
{{- if .Values.crd.install }}
{{- range $path, $bytes := .Files.Glob "crds/*.yaml" }}
{{ $.Files.Get $path }}
---
{{- end }}
{{- end }}

View File

@ -2,10 +2,14 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "jaeger-operator.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{ include "jaeger-operator.labels" . | indent 4 }}
{{- with .Values.extraLabels }}
{{ . | toYaml | indent 4 }}
{{- end }}
spec:
replicas: 1
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{ include "jaeger-operator.labels" . | indent 6 }}
@ -14,6 +18,9 @@ spec:
name: {{ include "jaeger-operator.fullname" . }}
labels:
{{ include "jaeger-operator.labels" . | indent 8 }}
{{- with .Values.extraLabels }}
{{ . | toYaml | indent 8 }}
{{- end }}
spec:
{{- if .Values.serviceAccount.create }}
serviceAccountName: {{ include "jaeger-operator.serviceAccountName" . }}
@ -21,6 +28,9 @@ spec:
{{- with .Values.securityContext }}
securityContext:
{{ toYaml . | indent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
{{- if and .Values.image.imagePullSecrets (not .Values.serviceAccount.create ) }}
imagePullSecrets:
@ -28,14 +38,38 @@ spec:
- name: {{ . }}
{{- end }}
{{- end }}
{{- if .Values.hostNetwork }}
hostNetwork: {{ .Values.hostNetwork }}
{{- end }}
containers:
- name: {{ include "jaeger-operator.fullname" . }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 8383
- containerPort: {{ .Values.metricsPort }}
name: metrics
args: ["start"]
- containerPort: {{ .Values.webhooks.port }}
name: webhook-server
protocol: TCP
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: cert
readOnly: true
args:
- start
- {{ printf "--metrics-port=%v" .Values.metricsPort }}
- {{ printf "--webhook-bind-port=%v" .Values.webhooks.port }}
{{- $replicaCount := int .Values.replicaCount }}
{{- if gt $replicaCount 1 }}
- --leader-elect
{{- end }}
{{- range $key, $value := .Values.extraArgs }}
{{- if $value }}
- --{{ $key }}={{ $value }}
{{- else }}
- --{{ $key }}
{{- end }}
{{- end }}
env:
- name: WATCH_NAMESPACE
{{- if .Values.rbac.clusterRole }}
@ -55,8 +89,20 @@ spec:
fieldPath: metadata.namespace
- name: OPERATOR_NAME
value: {{ include "jaeger-operator.fullname" . | quote }}
{{- if .Values.extraEnv }}
{{- toYaml .Values.extraEnv | nindent 12 }}
{{- end }}
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- with .Values.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
volumes:
- name: cert
secret:
defaultMode: 420
secretName: {{ default "jaeger-operator-service-cert" .Values.certs.certificate.secretName }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
@ -67,5 +113,9 @@ spec:
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{ toYaml . | indent 8 }}
{{- end }}

View File

@ -0,0 +1,9 @@
{{- if .Values.certs.issuer.create }}
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: {{ default "selfsigned-issuer" .Values.certs.issuer.name }}
namespace: {{ .Release.Namespace }}
spec:
selfSigned: {}
{{- end }}

View File

@ -3,6 +3,7 @@ apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
name: {{ include "jaeger-operator.fullname" . }}-jaeger
namespace: {{ default .Release.Namespace .Values.jaeger.namespace }}
{{- with .Values.jaeger.spec }}
spec:
{{ toYaml . | indent 2}}

View File

@ -0,0 +1,57 @@
{{- if and (.Values.webhooks.mutatingWebhook.create) (.Values.webhooks.service.create) }}
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
annotations:
cert-manager.io/inject-ca-from: {{ default .Release.Namespace .Values.certs.certificate.namespace }}/{{ default "jaeger-operator-service-cert" .Values.certs.certificate.secretName }}
labels:
{{ include "jaeger-operator.labels" . | indent 4 }}
name: jaeger-operator-mutating-webhook-configuration
webhooks:
- admissionReviewVersions:
- v1
clientConfig:
service:
name: {{ default "jaeger-operator-webhook-service" .Values.webhooks.service.name }}
namespace: {{ .Release.Namespace }}
path: /mutate-v1-deployment
failurePolicy: Ignore
name: deployment.sidecar-injector.jaegertracing.io
objectSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: NotIn
values:
- {{ include "jaeger-operator.name" . }}
rules:
- apiGroups:
- apps
apiVersions:
- v1
operations:
- CREATE
- UPDATE
resources:
- deployments
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
service:
name: {{ default "jaeger-operator-webhook-service" .Values.webhooks.service.name }}
namespace: {{ .Release.Namespace }}
path: /mutate-jaegertracing-io-v1-jaeger
failurePolicy: Fail
name: mjaeger.kb.io
rules:
- apiGroups:
- jaegertracing.io
apiVersions:
- v1
operations:
- CREATE
- UPDATE
resources:
- jaegers
sideEffects: None
{{- end }}

View File

@ -8,89 +8,169 @@ metadata:
{{ include "jaeger-operator.labels" . | indent 4 }}
rules:
- apiGroups:
- ""
- apps
resources:
- pods
- services
- endpoints
- persistentvolumeclaims
- events
- configmaps
- secrets
- serviceaccounts
- daemonsets
- deployments
- replicasets
- statefulsets
verbs:
- '*'
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
- deployments
- daemonsets
- replicasets
- statefulsets
verbs:
- '*'
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- monitoring.coreos.com
- apps
resources:
- servicemonitors
- deployments/status
verbs:
- get
- patch
- update
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- create
- apiGroups:
- io.jaegertracing
resources:
- '*'
verbs:
- '*'
- apiGroups:
- extensions
resources:
- replicasets
- deployments
- daemonsets
- statefulsets
- ingresses
verbs:
- "*"
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- batch
resources:
- jobs
- cronjobs
- jobs
verbs:
- "*"
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- route.openshift.io
- console.openshift.io
resources:
- routes
- consolelinks
verbs:
- "*"
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- logging.openshift.io
- coordination.k8s.io
resources:
- elasticsearches
- leases
verbs:
- '*'
- create
- get
- list
- update
- apiGroups:
- ""
resources:
- configmaps
- persistentvolumeclaims
- pods
- secrets
- serviceaccounts
- services
- services/finalizers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- namespaces
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- namespaces/status
verbs:
- get
- patch
- update
- apiGroups:
- extensions
resources:
- ingresses
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- image.openshift.io
resources:
- imagestreams
verbs:
- get
- list
- watch
- apiGroups:
- jaegertracing.io
resources:
- '*'
- jaegers
verbs:
- '*'
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- rbac.authorization.k8s.io
- jaegertracing.io
resources:
- clusterrolebindings
- jaegers/finalizers
verbs:
- '*'
- update
- apiGroups:
- apps
- extensions
resourceNames:
- jaeger-operator
- jaegertracing.io
resources:
- deployments/finalizers
- jaegers/status
verbs:
- get
- patch
- update
- apiGroups:
- kafka.strimzi.io
@ -98,7 +178,92 @@ rules:
- kafkas
- kafkausers
verbs:
- '*'
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- logging.openshift.io
resources:
- elasticsearch
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- logging.openshift.io
resources:
- elasticsearches
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingressclasses
verbs:
- list
- watch
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterrolebindings
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- route.openshift.io
resources:
- routes
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
{{- if .Values.rbac.pspEnabled }}
- apiGroups: ['policy']
resources: ['podsecuritypolicies']

View File

@ -6,6 +6,10 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{ include "jaeger-operator.labels" . | indent 4 }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{ toYaml .Values.serviceAccount.annotations | indent 4 }}
{{- end }}
{{- if .Values.image.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.image.imagePullSecrets }}

View File

@ -2,15 +2,47 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "jaeger-operator.fullname" . }}-metrics
namespace: {{ .Release.Namespace }}
labels:
{{ include "jaeger-operator.labels" . | indent 4 }}
{{- with .Values.serviceExtraLabels }}
{{ . | toYaml | indent 4 }}
{{- end }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | indent 4 }}
{{- end }}
spec:
ports:
- name: metrics
port: 8383
port: {{ .Values.metricsPort }}
protocol: TCP
targetPort: 8383
targetPort: {{ .Values.metricsPort }}
{{- if and (eq .Values.service.type "NodePort") (.Values.service.nodePort) }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
selector:
app.kubernetes.io/name: {{ include "jaeger-operator.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
type: ClusterIP
type: {{ .Values.service.type }}
---
{{- if .Values.webhooks.service.create }}
apiVersion: v1
kind: Service
metadata:
labels:
{{ include "jaeger-operator.labels" . | indent 4 }}
name: {{ default "jaeger-operator-webhook-service" .Values.webhooks.service.name }}
namespace: {{ .Release.Namespace }}
{{- if .Values.webhooks.service.annotations }}
annotations:
{{ toYaml .Values.webhooks.service.annotations | indent 4 }}
{{- end }}
spec:
ports:
- port: 443
protocol: TCP
targetPort: {{ .Values.webhooks.port }}
selector:
{{ include "jaeger-operator.labels" . | indent 4 }}
{{- end }}

View File

@ -0,0 +1,29 @@
{{- if and (.Values.webhooks.validatingWebhook.create) (.Values.webhooks.service.create) }}
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
annotations:
cert-manager.io/inject-ca-from: {{ default .Release.Namespace .Values.certs.certificate.namespace }}/{{ default "jaeger-operator-service-cert" .Values.certs.certificate.secretName }}
name: jaeger-operator-validating-webhook-configuration
webhooks:
- admissionReviewVersions:
- v1
clientConfig:
service:
name: {{ default "jaeger-operator-webhook-service" .Values.webhooks.service.name }}
namespace: {{ .Release.Namespace }}
path: /validate-jaegertracing-io-v1-jaeger
failurePolicy: Fail
name: vjaeger.kb.io
rules:
- apiGroups:
- jaegertracing.io
apiVersions:
- v1
operations:
- CREATE
- UPDATE
resources:
- jaegers
sideEffects: None
{{- end }}

View File

@ -1,18 +1,42 @@
# Default values for jaeger-operator.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image:
repository: jaegertracing/jaeger-operator
tag: 1.17.0
tag: 1.61.0
pullPolicy: IfNotPresent
imagePullSecrets: []
crd:
install: true
certs:
issuer:
create: true
name: ""
certificate:
create: true
namespace: ""
secretName: ""
# Specify the cert-manager issuer kind to use an existing cert-manager
# issuer; typically Issuer or ClusterIssuer
# This field will be ignored if issuer.create is true
issuerKind: Issuer
webhooks:
mutatingWebhook:
create: true
validatingWebhook:
create: true
port: 9443
service:
annotations: {}
create: true
name: ""
jaeger:
# Specifies whether Jaeger instance should be created
create: false
# namespace where Jaeger resource should be created default to .Release.Namespace
namespace:
spec: {}
rbac:
@ -21,12 +45,42 @@ rbac:
pspEnabled: false
clusterRole: false
service:
type: ClusterIP
# Specify a specific node port when type is NodePort
# nodePort: 32500
# Annotations for service
annotations: {}
serviceAccount:
# Specifies whether a ServiceAccount should be created
create: true
# The name of the ServiceAccount to use.
# If not set and create is true, a name is generated using the fullname template
name:
# Annotations for serviceAccount
annotations: {}
extraArgs: {}
# Specifies extra command line arguments arguments passed to the operator:
# foo: bar
# Specifies extra environment variables passed to the operator:
extraEnv: []
# Specifies log-level for the operator:
# - name: LOG-LEVEL
# value: debug
serviceExtraLabels: {}
# Specifies extra labels for the operator-metric service:
# foo: bar
extraLabels: {}
# Specifies extra labels for the operator deployment:
# foo: bar
# Specifies desired number of operator pods
replicaCount: 1
resources: {}
# limits:
@ -40,6 +94,17 @@ nodeSelector: {}
tolerations: []
topologySpreadConstraints: []
affinity: {}
securityContext: {}
containerSecurityContext: {}
priorityClassName:
# Specifies weather host network should be used
hostNetwork: false
metricsPort: 8383

15
charts/jaeger/Chart.lock Normal file
View File

@ -0,0 +1,15 @@
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.19.1
digest: sha256:16dad4387f2b392d5034731f997518ff05b77909220ce45ee6dd69664942f2df
generated: "2024-04-11T08:42:48.824851-04:00"

View File

@ -1,23 +1,46 @@
apiVersion: v1
appVersion: 1.17.0
apiVersion: v2
appVersion: 1.53.0
description: A Jaeger Helm chart for Kubernetes
name: jaeger
version: 0.20.0
type: application
version: 3.4.1
# CronJobs require v1.21
kubeVersion: ">= 1.21-0"
keywords:
- jaeger
- opentracing
- tracing
- instrumentation
home: https://jaegertracing.io
icon: https://camo.githubusercontent.com/afa87494e0753b4b1f5719a2f35aa5263859dffb/687474703a2f2f6a61656765722e72656164746865646f63732e696f2f656e2f6c61746573742f696d616765732f6a61656765722d766563746f722e737667
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: pavel.nikolov@fairfaxmedia.com.au
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

View File

@ -1,10 +0,0 @@
approvers:
- dvonthenen
- mikelorant
- naseemkullah
- pavelnikolov
reviewers:
- dvonthenen
- mikelorant
- naseemkullah
- pavelnikolov

View File

@ -14,7 +14,7 @@ Add the Jaeger Tracing Helm repository:
helm repo add jaegertracing https://jaegertracing.github.io/helm-charts
```
To install the chart with the release name `jaeger`, run the following command:
To install a release named `jaeger`:
```bash
helm install jaeger jaegertracing/jaeger
@ -25,106 +25,80 @@ By default, the chart deploys the following:
- Jaeger Agent DaemonSet
- Jaeger Collector Deployment
- Jaeger Query (UI) Deployment
- Cassandra StatefulSet
- Cassandra StatefulSet (subject to change!)
![Jaeger with Default components](https://www.jaegertracing.io/img/architecture-v1.png)
![Jaeger with Default
components](https://www.jaegertracing.io/img/architecture-v1.png)
IMPORTANT NOTE: For testing purposes, the footprint for Cassandra can be reduced significantly in the event resources become constrained (such as running on your local laptop or in a Vagrant environment). You can override the resources required run running this command:
## Configuration
```bash
helm install jaeger jaegertracing/jaeger \
--set cassandra.config.max_heap_size=1024M \
--set cassandra.config.heap_new_size=256M \
--set cassandra.resources.requests.memory=2048Mi \
--set cassandra.resources.requests.cpu=0.4 \
--set cassandra.resources.limits.memory=2048Mi \
--set cassandra.resources.limits.cpu=0.4
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing). To see all configurable options with detailed comments, visit the chart's [values.yaml](https://github.com/jaegertracing/helm-charts/blob/master/charts/jaeger/values.yaml), or run these configuration commands:
```console
$ helm show values jaegertracing/jaeger
```
## Installing the Chart using an Existing Cassandra Cluster
You may also `helm show values` on this chart's [dependencies](#dependencies) for additional options.
If you already have an existing running Cassandra cluster, you can configure the chart as follows to use it as your backing store (make sure you replace `<HOST>`, `<PORT>`, etc with your values):
### Dependencies
```bash
helm install jaeger jaegertracing/jaeger \
--set provisionDataStore.cassandra=false \
--set storage.cassandra.host=<HOST> \
--set storage.cassandra.port=<PORT> \
--set storage.cassandra.user=<USER> \
--set storage.cassandra.password=<PASSWORD>
If installing with a dependency such as Cassandra, Elasticsearch and/or Kafka
their, values can be shown by running:
```console
helm repo add elastic https://helm.elastic.co
helm show values elastic/elasticsearch
```
## Installing the Chart using an Existing Cassandra Cluster with TLS
If you already have an existing running Cassandra cluster with TLS, you can configure the chart as follows to use it as your backing store:
Content of the `values.yaml` file:
```YAML
storage:
type: cassandra
cassandra:
host: <HOST>
port: <PORT>
user: <USER>
password: <PASSWORD>
tls:
enabled: true
secretName: cassandra-tls-secret
provisionDataStore:
cassandra: false
```console
helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
helm show values incubator/cassandra
```
Content of the `jaeger-tls-cassandra-secret.yaml` file:
```YAML
apiVersion: v1
kind: Secret
metadata:
name: cassandra-tls-secret
data:
commonName: <SERVER NAME>
ca-cert.pem: |
-----BEGIN CERTIFICATE-----
<CERT>
-----END CERTIFICATE-----
client-cert.pem: |
-----BEGIN CERTIFICATE-----
<CERT>
-----END CERTIFICATE-----
client-key.pem: |
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
cqlshrc: |
[ssl]
certfile = ~/.cassandra/ca-cert.pem
userkey = ~/.cassandra/client-key.pem
usercert = ~/.cassandra/client-cert.pem
```console
helm repo add bitnami https://charts.bitnami.com/bitnami
helm show values bitnami/kafka
```
```bash
kubectl apply -f jaeger-tls-cassandra-secret.yaml
helm install jaeger jaegertracing/jaeger --values values.yaml
```
Please note, any dependency values must be nested within the key named after the
chart, i.e. `elasticsearch`, `cassandra` and/or `kafka`.
## Installing the Chart using a New ElasticSearch Cluster
## Storage
As per Jaeger documentation, for large scale production deployment the Jaeger
team [recommends Elasticsearch backend over Cassandra](https://www.jaegertracing.io/docs/latest/faq/#what-is-the-recommended-storage-backend),
as such the default backend may change in the future and **it is highly
recommended to explicitly configure storage**.
If you are just starting out with a testing/demo setup, you can also use in-memory storage for a
fast and easy setup experience using the [Jaeger All in One executable](https://www.jaegertracing.io/docs/1.29/getting-started/#all-in-one).
### Elasticsearch configuration
#### Elasticsearch Rollover
If using the [Elasticsearch
Rollover](https://www.jaegertracing.io/docs/latest/deployment/#elasticsearch-rollover)
feature, elasticsearch must already be present and so must be deployed
separately from this chart, if not the rollover init hook won't be able to
complete successfully.
#### Installing the Chart using a New ElasticSearch Cluster
To install the chart with the release name `jaeger` using a new ElasticSearch cluster instead of Cassandra (default), run the following command:
```bash
```console
helm install jaeger jaegertracing/jaeger \
--set provisionDataStore.cassandra=false \
--set provisionDataStore.elasticsearch=true \
--set storage.type=elasticsearch
```
## Installing the Chart using an Existing Elasticsearch Cluster
#### Installing the Chart using an Existing Elasticsearch Cluster
A release can be configured as follows to use an existing ElasticSearch cluster as it as the storage backend:
```bash
```console
helm install jaeger jaegertracing/jaeger \
--set provisionDataStore.cassandra=false \
--set storage.type=elasticsearch \
@ -134,7 +108,7 @@ helm install jaeger jaegertracing/jaeger \
--set storage.elasticsearch.password=<password>
```
## Installing the Chart using an Existing ElasticSearch Cluster with TLS
#### Installing the Chart using an Existing ElasticSearch Cluster with TLS
If you already have an existing running ElasticSearch cluster with TLS, you can configure the chart as follows to use it as your backing store:
@ -184,175 +158,295 @@ spark:
```
Generate configmap jaeger-tls:
```bash
```console
keytool -import -trustcacerts -keystore trust.store -storepass changeit -alias es-root -file es.pem
kubectl create configmap jaeger-tls --from-file=trust.store --from-file=es.pem
```
```bash
```console
helm install jaeger jaegertracing/jaeger --values jaeger-values.yaml
```
## Installing the Chart with Ingester enabled
### Cassandra configuration
#### Installing the Chart using an Existing Cassandra Cluster
If you already have an existing running Cassandra cluster, you can configure the chart as follows to use it as your backing store (make sure you replace `<HOST>`, `<PORT>`, etc with your values):
```console
helm install jaeger jaegertracing/jaeger \
--set provisionDataStore.cassandra=false \
--set storage.cassandra.host=<HOST> \
--set storage.cassandra.port=<PORT> \
--set storage.cassandra.user=<USER> \
--set storage.cassandra.password=<PASSWORD>
```
#### Installing the Chart using an Existing Cassandra Cluster with TLS
If you already have an existing running Cassandra cluster with TLS, you can configure the chart as follows to use it as your backing store:
Content of the `values.yaml` file:
```YAML
storage:
type: cassandra
cassandra:
host: <HOST>
port: <PORT>
user: <USER>
password: <PASSWORD>
tls:
enabled: true
secretName: cassandra-tls-secret
provisionDataStore:
cassandra: false
```
Content of the `jaeger-tls-cassandra-secret.yaml` file:
```YAML
apiVersion: v1
kind: Secret
metadata:
name: cassandra-tls-secret
data:
commonName: <SERVER NAME>
ca-cert.pem: |
-----BEGIN CERTIFICATE-----
<CERT>
-----END CERTIFICATE-----
client-cert.pem: |
-----BEGIN CERTIFICATE-----
<CERT>
-----END CERTIFICATE-----
client-key.pem: |
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
cqlshrc: |
[ssl]
certfile = ~/.cassandra/ca-cert.pem
userkey = ~/.cassandra/client-key.pem
usercert = ~/.cassandra/client-cert.pem
```
```console
kubectl apply -f jaeger-tls-cassandra-secret.yaml
helm install jaeger jaegertracing/jaeger --values values.yaml
```
### Ingester Configuration
#### Installing the Chart with Ingester enabled
The architecture illustrated below can be achieved by enabling the ingester component. When enabled, Cassandra or Elasticsearch (depending on the configured values) now becomes the ingester's storage backend, whereas Kafka becomes the storage backend of the collector service.
![Jaeger with Ingester](https://www.jaegertracing.io/img/architecture-v2.png)
## Installing the Chart with Ingester enabled using a New Kafka Cluster
#### Installing the Chart with Ingester enabled using a New Kafka Cluster
To provision a new Kafka cluster along with jaeger-ingester:
```bash
```console
helm install jaeger jaegertracing/jaeger \
--set provisionDataStore.kafka=true \
--set ingester.enabled=true
```
## Installing the Chart with Ingester using an existing Kafka Cluster
#### Installing the Chart with Ingester using an existing Kafka Cluster
You can use an exisiting Kafka cluster with jaeger too
You can use an existing Kafka cluster with jaeger too
```bash
```console
helm install jaeger jaegertracing/jaeger \
--set ingester.enabled=true \
--set storage.kafka.brokers={<BROKER1:PORT>,<BROKER2:PORT>} \
--set storage.kafka.topic=<TOPIC>
```
## Configuration
### Other Storage Configuration
The following table lists the configurable parameters of the Jaeger chart and their default values.
If you are using grpc-plugin based storage, you can set environment
variables that are needed by the plugin.
| Parameter | Description | Default |
|-----------|-------------|---------|
| `<component>.nodeSelector` | Node selector | {} |
| `<component>.tolerations` | Node tolerations | [] |
| `<component.affinity` | Affinity | {} |
| `<component>.podSecurityContext` | Pod security context | {} |
| `<component>.securityContext` | Container security context | {} |
| `<component>.serviceAccount.create` | Create service account | `true` |
| `<component>.serviceAccount.name` | The name of the ServiceAccount to use. If not set and create is true, a name is generated using the fullname template | `` |
| `agent.annotations` | Annotations for Agent | `nil` |
| `agent.cmdlineParams` |Additional command line parameters| `nil` |
| `agent.dnsPolicy` | Configure DNS policy for agents | `ClusterFirst` |
| `agent.service.annotations` | Annotations for Agent SVC | `nil` |
| `agent.service.binaryPort` | jaeger.thrift over binary thrift | `6832` |
| `agent.service.compactPort` | jaeger.thrift over compact thrift| `6831` |
| `agent.image` | Image for Jaeger Agent | `jaegertracing/jaeger-agent` |
| `agent.podAnnotations` | Annotations for Agent pod | `nil` |
| `agent.pullPolicy` | Agent image pullPolicy | `IfNotPresent` |
| `agent.service.loadBalancerSourceRanges` | list of IP CIDRs allowed access to load balancer (if supported) | `[]` |
| `agent.service.annotations` | Annotations for Agent SVC | `nil` |
| `agent.service.binaryPort` | jaeger.thrift over binary thrift | `6832` |
| `agent.service.compactPort` | jaeger.thrift over compact thrift | `6831` |
| `agent.service.zipkinThriftPort` | zipkin.thrift over compact thrift | `5775` |
| `agent.extraConfigmapMounts` | Additional agent configMap mounts | `[]` |
| `agent.extraSecretMounts` | Additional agent secret mounts | `[]` |
| `agent.useHostNetwork` | Enable hostNetwork for agents | `false` |
| `collector.autoscaling.enabled` | Enable horizontal pod autoscaling | `false` |
| `collector.autoscaling.minReplicas` | Minimum replicas | 2 |
| `collector.autoscaling.maxReplicas` | Maximum replicas | 10 |
| `collector.autoscaling.targetCPUUtilizationPercentage` | Target CPU utilization | 80 |
| `collector.autoscaling.targetMemoryUtilizationPercentage` | Target memory utilization | `nil` |
| `collector.cmdlineParams` | Additional command line parameters | `nil` |
| `collector.podAnnotations` | Annotations for Collector pod | `nil` |
| `collector.service.httpPort` | Client port for HTTP thrift | `14268` |
| `collector.service.annotations` | Annotations for Collector SVC | `nil` |
| `collector.image` | Image for jaeger collector | `jaegertracing/jaeger-collector` |
| `collector.pullPolicy` | Collector image pullPolicy | `IfNotPresent` |
| `collector.service.annotations` | Annotations for Collector SVC | `nil` |
| `collector.service.httpPort` | Client port for HTTP thrift | `14268` |
| `collector.service.loadBalancerSourceRanges` | list of IP CIDRs allowed access to load balancer (if supported) | `[]` |
| `collector.service.tchannelPort` | Jaeger Agent port for thrift| `14267` |
| `collector.service.type` | Service type | `ClusterIP` |
| `collector.service.zipkinPort` | Zipkin port for JSON/thrift HTTP | `nil` |
| `collector.extraConfigmapMounts` | Additional collector configMap mounts | `[]` |
| `collector.extraSecretMounts` | Additional collector secret mounts | `[]` |
| `collector.samplingConfig` | [Sampling strategies json file](https://www.jaegertracing.io/docs/latest/sampling/#collector-sampling-configuration) | `nil` |
| `ingester.enabled` | Enable ingester component, collectors will write to Kafka | `false` |
| `ingester.autoscaling.enabled` | Enable horizontal pod autoscaling | `false` |
| `ingester.autoscaling.minReplicas` | Minimum replicas | 2 |
| `ingester.autoscaling.maxReplicas` | Maximum replicas | 10 |
| `ingester.autoscaling.targetCPUUtilizationPercentage` | Target CPU utilization | 80 |
| `ingester.autoscaling.targetMemoryUtilizationPercentage` | Target memory utilization | `nil` |
| `ingester.cmdlineParams` | Additional command line parameters | `nil` |
| `ingester.podAnnotations` | Annotations for Ingester pod | `nil` |
| `ingester.service.annotations` | Annotations for Ingester SVC | `nil` |
| `ingester.image` | Image for jaeger Ingester | `jaegertracing/jaeger-ingester` |
| `ingester.pullPolicy` | Ingester image pullPolicy | `IfNotPresent` |
| `ingester.service.annotations` | Annotations for Ingester SVC | `nil` |
| `ingester.service.loadBalancerSourceRanges` | list of IP CIDRs allowed access to load balancer (if supported) | `[]` |
| `ingester.service.type` | Service type | `ClusterIP` |
| `ingester.extraConfigmapMounts` | Additional Ingester configMap mounts | `[]` |
| `ingester.extraSecretMounts` | Additional Ingester secret mounts | `[]` |
| `fullnameOverride` | Override full name | `nil` |
| `hotrod.enabled` | Enables the Hotrod demo app | `false` |
| `hotrod.service.loadBalancerSourceRanges` | list of IP CIDRs allowed access to load balancer (if supported) | `[]` |
| `nameOverride` | Override name| `nil` |
| `provisionDataStore.cassandra` | Provision Cassandra Data Store| `true` |
| `provisionDataStore.elasticsearch` | Provision Elasticsearch Data Store | `false` |
| `provisionDataStore.kafka` | Provision Kafka Data Store | `false` |
| `query.agentSidecar.enabled` | Enable agent sidecare for query deployment | `true` |
| `query.service.annotations` | Annotations for Query SVC | `nil` |
| `query.cmdlineParams` | Additional command line parameters | `nil` |
| `query.image` | Image for Jaeger Query UI | `jaegertracing/jaeger-query` |
| `query.ingress.enabled` | Allow external traffic access | `false` |
| `query.ingress.annotations` | Configure annotations for Ingress | `{}` |
| `query.ingress.hosts` | Configure host for Ingress | `nil` |
| `query.ingress.tls` | Configure tls for Ingress | `nil` |
| `query.podAnnotations` | Annotations for Query pod | `nil` |
| `query.pullPolicy` | Query UI image pullPolicy | `IfNotPresent` |
| `query.service.loadBalancerSourceRanges` | list of IP CIDRs allowed access to load balancer (if supported) | `[]` |
| `query.service.port` | External accessible port | `80` |
| `query.service.type` | Service type | `ClusterIP` |
| `query.basePath` | Base path of Query UI, used for ingress as well (if it is enabled) | `/` |
| `query.extraConfigmapMounts` | Additional query configMap mounts | `[]` |
| `schema.annotations` | Annotations for the schema job| `nil` |
| `schema.extraConfigmapMounts` | Additional cassandra schema job configMap mounts | `[]` |
| `schema.image` | Image to setup cassandra schema | `jaegertracing/jaeger-cassandra-schema` |
| `schema.mode` | Schema mode (prod or test) | `prod` |
| `schema.pullPolicy` | Schema image pullPolicy | `IfNotPresent` |
| `schema.activeDeadlineSeconds` | Deadline in seconds for cassandra schema creation job to complete | `120` |
| `schema.traceTtl` | Time to live for trace data in seconds | `nil` |
| `schema.keyspace` | Set explicit keyspace name | `nil` |
| `schema.dependenciesTtl` | Time to live for dependencies data in seconds | `nil` |
| `spark.enabled` | Enables the dependencies job| `false` |
| `spark.image` | Image for the dependencies job| `jaegertracing/spark-dependencies` |
| `spark.pullPolicy` | Image pull policy of the deps image | `Always` |
| `spark.schedule` | Schedule of the cron job | `"49 23 * * *"` |
| `spark.successfulJobsHistoryLimit` | Cron job successfulJobsHistoryLimit | `5` |
| `spark.failedJobsHistoryLimit` | Cron job failedJobsHistoryLimit | `5` |
| `spark.tag` | Tag of the dependencies job image | `latest` |
| `spark.extraConfigmapMounts` | Additional spark configMap mounts | `[]` |
| `spark.extraSecretMounts` | Additional spark secret mounts | `[]` |
| `storage.cassandra.existingSecret` | Name of existing password secret object (for password authentication | `nil`
| `storage.cassandra.host` | Provisioned cassandra host | `cassandra` |
| `storage.cassandra.keyspace` | Schema name for cassandra | `jaeger_v1_test` |
| `storage.cassandra.password` | Provisioned cassandra password (ignored if storage.cassandra.existingSecret set) | `password` |
| `storage.cassandra.port` | Provisioned cassandra port | `9042` |
| `storage.cassandra.tls.enabled` | Provisioned cassandra TLS connection enabled | `false` |
| `storage.cassandra.tls.secretName` | Provisioned cassandra TLS connection existing secret name (possible keys in secret: `ca-cert.pem`, `client-key.pem`, `client-cert.pem`, `cqlshrc`, `commonName`) | `` |
| `storage.cassandra.usePassword` | Use password | `true` |
| `storage.cassandra.user` | Provisioned cassandra username | `user` |
| `storage.elasticsearch.existingSecret` | Name of existing password secret object (for password authentication | `nil` |
| `storage.elasticsearch.host` | Provisioned elasticsearch host| `elasticsearch` |
| `storage.elasticsearch.password` | Provisioned elasticsearch password (ignored if storage.elasticsearch.existingSecret set | `changeme` |
| `storage.elasticsearch.port` | Provisioned elasticsearch port| `9200` |
| `storage.elasticsearch.scheme` | Provisioned elasticsearch scheme | `http` |
| `storage.elasticsearch.usePassword` | Use password | `true` |
| `storage.elasticsearch.user` | Provisioned elasticsearch user| `elastic` |
| `storage.elasticsearch.indexPrefix` | Index Prefix for elasticsearch | `nil` |
| `storage.elasticsearch.nodesWanOnly` | Only access specified es host | `false` |
| `storage.kafka.brokers` | Broker List for Kafka with port | `kafka:9092` |
| `storage.kafka.topic` | Topic name for Kafka | `jaeger_v1_test` |
| `storage.type` | Storage type (ES or Cassandra)| `cassandra` |
| `tag` | Image tag/version | `1.17.0` |
As as example if using the [jaeger-mongodb](https://github.com/mongodb-labs/jaeger-mongodb)
plugin you can set the `MONGO_URL` as follows...
For more information about some of the tunable parameters that Cassandra provides, please visit the helm chart for [cassandra](https://github.com/kubernetes/charts/tree/master/incubator/cassandra) and the official [website](http://cassandra.apache.org/) at apache.org.
```YAML
storage:
type: grpc-plugin
grpcPlugin:
extraEnv:
- name: MONGO_URL
valueFrom:
secretKeyRef:
key: MONGO_URL
name: jaeger-secrets
```
For more information about some of the tunable parameters that Jaeger provides, please visit the official [Jaeger repo](https://github.com/uber/jaeger) at GitHub.com.
### All in One In-Memory Configuration
### Pending enhancements
#### Installing the Chart using the All in One executable and in-memory storage
- [ ] Sidecar deployment support
To install the chart with the release name `jaeger` using in-memory storage and the All in One
executable, configure the chart as follows:
Content of the `values.yaml` file:
```yaml
provisionDataStore:
cassandra: false
allInOne:
enabled: true
storage:
type: memory
agent:
enabled: false
collector:
enabled: false
query:
enabled: false
```
It's possible to specify resources, extra environment variables, and extra secrets for the all in one deployment:
```yaml
allInOne:
extraEnv:
- name: QUERY_BASE_PATH
value: /jaeger
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 256m
memory: 128Mi
extraSecretMounts:
- name: jaeger-tls
mountPath: /tls
subPath: ""
secretName: jaeger-tls
readOnly: true
```
```bash
helm install jaeger jaegertracing/jaeger --values values.yaml
```
## oAuth2 Sidecar
If extra protection of the Jaeger UI is needed, then the oAuth2 sidecar can be enabled in the Jaeger Query. The oAuth2
sidecar acts as a security proxy in front of the Jaeger Query service and enforces user authentication before reaching
the Jaeger UI. This method can work with any valid provider including Keycloak, Azure, Google, GitHub, and more.
Offical docs [here](https://oauth2-proxy.github.io/oauth2-proxy/docs/behaviour)
Content of the `jaeger-values.yaml` file:
```YAML
query:
enabled: true
oAuthSidecar:
enabled: true
resources: {}
image:
registry: quay.io
repository: oauth2-proxy/oauth2-proxy
tag: v7.6.0
pullPolicy: IfNotPresent
containerPort: 4180
args:
- --config
- /etc/oauth2-proxy/oauth2-proxy.cfg
- --client-secret
- "$(client-secret)"
extraEnv:
- name: client-secret
valueFrom:
secretKeyRef:
name: client-secret
key: client-secret-key
extraConfigmapMounts: []
extraSecretMounts: []
config: |-
provider = "oidc"
https_address = ":4180"
upstreams = ["http://localhost:16686"]
redirect_url = "https://jaeger-svc-domain/oauth2/callback"
client_id = "jaeger-query"
oidc_issuer_url = "https://keycloak-svc-domain/auth/realms/Default"
cookie_secure = "true"
cookie_secret = ""
email_domains = "*"
oidc_groups_claim = "groups"
user_id_claim = "preferred_username"
skip_provider_button = "true"
```
## Installing extra kubernetes objects
If additional kubernetes objects need to be installed alongside this chart, set the `extraObjects` array to contain
the yaml describing these objects. The values in the array are treated as a template to allow the use of variable
substitution and function calls as in the example below.
Content of the `jaeger-values.yaml` file:
```YAML
extraObjects:
- apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: "{{ .Release.Name }}-someRoleBinding"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: someRole
subjects:
- kind: ServiceAccount
name: "{{ include \"jaeger.esLookback.serviceAccountName\" . }}"
```
## Configuring the hotrod example application to send traces to the OpenTelemetry collector
If the `hotrod` example application is enabled it will export traces to Jaeger
via the Jaeger exporter. To switch this to another collector and/or protocol,
such as an OpenTelemetry OTLP Collector, see the example below.
The primary use case of sending the traces to the collector instead of directly
to Jaeger is to verify traces can get back to Jaeger or another distributed
tracing store and verify that pipeline with the pre-instrumented hotrod
application.
**NOTE: This will not install or setup the OpenTelemetry collector. To setup an example OpenTelemetry Collector, see the [OpenTelemetry helm
charts](https://github.com/open-telemetry/opentelemetry-helm-charts/tree/main/charts/opentelemetry-collector).**
Content of the `jaeger-values.yaml` file:
```YAML
hotrod:
enabled: true
# Switch from the jaeger protocol to OTLP
extraArgs:
- --otel-exporter=otlp
# Set the address of the OpenTelemetry collector endpoint
extraEnv:
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://my-otel-collector-opentelemetry-collector:4318
```
## Updating to Kafka to Kraft Mode
In the Kafka Helm Chart version 24.0.0 major refactors were done to support Kraft mode. More information can be found [here](https://github.com/bitnami/charts/tree/main/bitnami/kafka#to-2400).
#### Upgrading from Kraft mode
If you are upgrading from Kraft mode, follow the instructions [here](https://github.com/bitnami/charts/tree/main/bitnami/kafka#upgrading-from-zookeeper-mode).
#### Upgrading from Zookeeper mode
If you are upgrading from Zookeeper mode, follow the instructions [here](https://github.com/bitnami/charts/tree/main/bitnami/kafka#upgrading-from-zookeeper-mode).
After you complete the steps above, follow the instructions [here](https://github.com/bitnami/charts/tree/main/bitnami/kafka#migrating-from-zookeeper-early-access) to finally migrate from Zookeeper.

View File

@ -1,13 +0,0 @@
dependencies:
- name: cassandra
version: ^0.13.1
repository: https://kubernetes-charts-incubator.storage.googleapis.com/
condition: provisionDataStore.cassandra
- name: elasticsearch
version: ^7.5.1
repository: https://helm.elastic.co
condition: provisionDataStore.elasticsearch
- name: kafka
version: ^0.20.6
repository: https://kubernetes-charts-incubator.storage.googleapis.com/
condition: provisionDataStore.kafka

View File

@ -1,3 +1,12 @@
###################################################################
### IMPORTANT: Ensure that storage is explicitly configured ###
### Default storage options are subject to change. ###
### ###
### IMPORTANT: The use of <component>.env: {...} is deprecated. ###
### Please use <component>.extraEnv: [] instead. ###
###################################################################
You can log into the Jaeger Query UI here:
{{- if contains "NodePort" .Values.query.service.type }}

View File

@ -73,6 +73,39 @@ Create the name of the spark service account to use
{{- end -}}
{{- end -}}
{{/*
Create the name of the esIndexCleaner service account to use
*/}}
{{- define "jaeger.esIndexCleaner.serviceAccountName" -}}
{{- if .Values.esIndexCleaner.serviceAccount.create -}}
{{ default (printf "%s-es-index-cleaner" (include "jaeger.fullname" .)) .Values.esIndexCleaner.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.esIndexCleaner.serviceAccount.name }}
{{- end -}}
{{- end -}}
{{/*
Create the name of the esRollover service account to use
*/}}
{{- define "jaeger.esRollover.serviceAccountName" -}}
{{- if .Values.esRollover.serviceAccount.create -}}
{{ default (printf "%s-es-rollover" (include "jaeger.fullname" .)) .Values.esRollover.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.esRollover.serviceAccount.name }}
{{- end -}}
{{- end -}}
{{/*
Create the name of the esLookback service account to use
*/}}
{{- define "jaeger.esLookback.serviceAccountName" -}}
{{- if .Values.esLookback.serviceAccount.create -}}
{{ default (printf "%s-es-lookback" (include "jaeger.fullname" .)) .Values.esLookback.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.esLookback.serviceAccount.name }}
{{- end -}}
{{- end -}}
{{/*
Create the name of the hotrod service account to use
*/}}
@ -117,6 +150,28 @@ Create the name of the collector service account to use
{{- end -}}
{{- end -}}
{{/*
Create the collector ingress host
*/}}
{{- define "jaeger.collector.ingressHost" -}}
{{- if (kindIs "string" .) }}
{{- . }}
{{- else }}
{{- .host }}
{{- end }}
{{- end -}}
{{/*
Create the collector ingress servicePort
*/}}
{{- define "jaeger.collector.ingressServicePort" -}}
{{- if (kindIs "string" .context) }}
{{- .defaultServicePort }}
{{- else }}
{{- .context.servicePort }}
{{- end }}
{{- end -}}
{{/*
Create the name of the ingester service account to use
*/}}
@ -213,7 +268,11 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
*/}}
{{- define "elasticsearch.client.url" -}}
{{- $port := .Values.storage.elasticsearch.port | toString -}}
{{- printf "%s://%s:%s" .Values.storage.elasticsearch.scheme .Values.storage.elasticsearch.host $port }}
{{- $host := .Values.storage.elasticsearch.host }}
{{- if .Values.provisionDataStore.elasticsearch }}
{{- $host = printf "%s-elasticsearch" .Release.Name }}
{{- end }}
{{- printf "%s://%s:%s" .Values.storage.elasticsearch.scheme $host $port }}
{{- end -}}
{{- define "jaeger.hotrod.tracing.host" -}}
@ -237,3 +296,442 @@ Configure list of IP CIDRs allowed access to load balancer (if supported)
{{- $local := dict "first" true -}}
{{- range $k, $v := . -}}{{- if not $local.first -}},{{- end -}}{{- $v -}}{{- $_ := set $local "first" false -}}{{- end -}}
{{- end -}}
{{/*
Cassandra related environment variables
*/}}
{{- define "cassandra.env" -}}
- name: CASSANDRA_SERVERS
value: {{ include "cassandra.host" . }}
- name: CASSANDRA_PORT
value: {{ .Values.storage.cassandra.port | quote }}
{{ if .Values.storage.cassandra.tls.enabled }}
- name: CASSANDRA_TLS_ENABLED
value: "true"
- name: CASSANDRA_TLS_SERVER_NAME
valueFrom:
secretKeyRef:
name: {{ .Values.storage.cassandra.tls.secretName }}
key: commonName
- name: CASSANDRA_TLS_KEY
value: "/cassandra-tls/client-key.pem"
- name: CASSANDRA_TLS_CERT
value: "/cassandra-tls/client-cert.pem"
- name: CASSANDRA_TLS_CA
value: "/cassandra-tls/ca-cert.pem"
{{- end }}
{{- if .Values.storage.cassandra.keyspace }}
- name: CASSANDRA_KEYSPACE
value: {{ .Values.storage.cassandra.keyspace }}
{{- end }}
- name: CASSANDRA_USERNAME
value: {{ .Values.storage.cassandra.user }}
- name: CASSANDRA_PASSWORD
valueFrom:
secretKeyRef:
name: {{ if .Values.storage.cassandra.existingSecret }}{{ .Values.storage.cassandra.existingSecret }}{{- else }}{{ include "jaeger.fullname" . }}-cassandra{{- end }}
key: password
{{- range $key, $value := .Values.storage.cassandra.env }}
- name: {{ $key | quote }}
value: {{ $value | quote }}
{{ end -}}
{{- if .Values.storage.cassandra.extraEnv }}
{{ toYaml .Values.storage.cassandra.extraEnv }}
{{- end }}
{{- end -}}
{{/*
Elasticsearch related environment variables
*/}}
{{- define "elasticsearch.env" -}}
- name: ES_SERVER_URLS
value: {{ include "elasticsearch.client.url" . }}
{{- if not .Values.storage.elasticsearch.anonymous }}
- name: ES_USERNAME
value: {{ .Values.storage.elasticsearch.user }}
{{- end }}
{{- if .Values.storage.elasticsearch.usePassword }}
- name: ES_PASSWORD
valueFrom:
secretKeyRef:
name: {{ if .Values.storage.elasticsearch.existingSecret }}{{ .Values.storage.elasticsearch.existingSecret }}{{- else }}{{ include "jaeger.fullname" . }}-elasticsearch{{- end }}
key: {{ default "password" .Values.storage.elasticsearch.existingSecretKey }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: ES_TLS_ENABLED
value: "true"
- name: ES_TLS_CA
value: {{ .Values.storage.elasticsearch.tls.ca }}
{{- end }}
{{- if .Values.storage.elasticsearch.indexPrefix }}
- name: ES_INDEX_PREFIX
value: {{ .Values.storage.elasticsearch.indexPrefix }}
{{- end }}
{{- range $key, $value := .Values.storage.elasticsearch.env }}
- name: {{ $key | quote }}
value: {{ $value | quote }}
{{ end -}}
{{- if .Values.storage.elasticsearch.extraEnv }}
{{ toYaml .Values.storage.elasticsearch.extraEnv }}
{{- end }}
{{- end -}}
{{/*
grpcPlugin related environment variables
*/}}
{{- define "grpcPlugin.env" -}}
{{- if .Values.storage.grpcPlugin.extraEnv }}
{{- toYaml .Values.storage.grpcPlugin.extraEnv }}
{{- end }}
{{- end -}}
{{/*
badger related environment variables
*/}}
{{- define "badger.env" -}}
- name: BADGER_EPHEMERAL
value: {{ .Values.storage.badger.ephemeral | quote }}
{{- if not .Values.storage.badger.ephemeral }}
- name: BADGER_DIRECTORY_VALUE
value: {{ print .Values.storage.badger.persistence.mountPath "/badger/data" | quote }}
- name: BADGER_DIRECTORY_KEY
value: {{ print .Values.storage.badger.persistence.mountPath "/badger/key" | quote }}
{{- end }}
{{- if .Values.storage.badger.extraEnv }}
{{- toYaml .Values.storage.badger.extraEnv }}
{{- end }}
{{- end -}}
{{/*
memory related environment variables
*/}}
{{- define "memory.env" -}}
{{- if .Values.storage.memory.extraEnv }}
{{- toYaml .Values.storage.memory.extraEnv }}
{{- end }}
{{- end -}}
{{/*
Cassandra, Elasticsearch, or grpc-plugin, badger, memory related environment variables depending on which is used
*/}}
{{- define "storage.env" -}}
{{- if eq .Values.storage.type "cassandra" -}}
{{ include "cassandra.env" . }}
{{- else if eq .Values.storage.type "elasticsearch" -}}
{{ include "elasticsearch.env" . }}
{{- else if or (eq .Values.storage.type "grpc-plugin") (eq .Values.storage.type "grpc") -}}
{{ include "grpcPlugin.env" . }}
{{- else if eq .Values.storage.type "badger" -}}
{{ include "badger.env" . }}
{{- else if eq .Values.storage.type "memory" -}}
{{ include "memory.env" . }}
{{- end -}}
{{- end -}}
{{/*
Cassandra related command line options
*/}}
{{- define "cassandra.cmdArgs" -}}
{{- range $key, $value := .Values.storage.cassandra.cmdlineParams -}}
{{- if $value }}
- --{{ $key }}={{ $value }}
{{- else }}
- --{{ $key }}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Elasticsearch related command line options
*/}}
{{- define "elasticsearch.cmdArgs" -}}
{{- range $key, $value := .Values.storage.elasticsearch.cmdlineParams -}}
{{- if $value }}
- --{{ $key }}={{ $value }}
{{- else }}
- --{{ $key }}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Cassandra or Elasticsearch related command line options depending on which is used
*/}}
{{- define "storage.cmdArgs" -}}
{{- if eq .Values.storage.type "cassandra" -}}
{{- include "cassandra.cmdArgs" . -}}
{{- else if eq .Values.storage.type "elasticsearch" -}}
{{- include "elasticsearch.cmdArgs" . -}}
{{- end -}}
{{- end -}}
{{/*
Add extra argument to the command line options
Usage:
{{ include "extra.cmdArgs" ( dict "cmdlineParams" .Values.collector.cmdlineParams ) | nindent 10 }}
*/}}
{{- define "extra.cmdArgs" -}}
{{- range $key, $value := .cmdlineParams -}}
{{- if $value }}
- --{{ $key }}={{ $value }}
{{- else }}
- --{{ $key }}
{{- end }}
{{- end -}}
{{- end -}}
{{/*
Provides a basic ingress network policy
*/}}
{{- define "jaeger.ingress.networkPolicy" -}}
apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }}
kind: NetworkPolicy
metadata:
name: {{ printf "%s-ingress" .Name }}
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/component: {{ .Component }}
{{- include "jaeger.labels" . | nindent 4 }}
spec:
podSelector:
matchLabels:
app.kubernetes.io/component: {{ .Component }}
policyTypes:
- Ingress
ingress:
{{- if or .ComponentValues.networkPolicy.ingressRules.namespaceSelector .ComponentValues.networkPolicy.ingressRules.podSelector }}
- from:
{{- if .ComponentValues.networkPolicy.ingressRules.namespaceSelector }}
- namespaceSelector:
matchLabels: {{- include "common.tplvalues.render" (dict "value" .ComponentValues.networkPolicy.ingressRules.namespaceSelector "context" $) | nindent 10 }}
{{- end }}
{{- if .ComponentValues.networkPolicy.ingressRules.podSelector }}
- podSelector:
matchLabels: {{- include "common.tplvalues.render" (dict "value" .ComponentValues.networkPolicy.ingressRules.podSelector "context" $) | nindent 10 }}
{{- end }}
{{- end }}
{{- if .ComponentValues.networkPolicy.ingressRules.customRules }}
{{- include "common.tplvalues.render" (dict "value" .ComponentValues.networkPolicy.ingressRules.customRules "context" $) | nindent 2 }}
{{- end }}
{{- end -}}
{{/*
Provides a basic egress network policy
*/}}
{{- define "jaeger.egress.networkPolicy" -}}
apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }}
kind: NetworkPolicy
metadata:
name: {{ printf "%s-egress" .Name }}
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/component: {{ .Component }}
{{- include "jaeger.labels" . | nindent 4 }}
spec:
podSelector:
matchLabels:
app.kubernetes.io/component: {{ .Component }}
policyTypes:
- Egress
egress:
{{- if or .ComponentValues.networkPolicy.egressRules.namespaceSelector .ComponentValues.networkPolicy.egressRules.podSelector }}
- to:
{{- if .ComponentValues.networkPolicy.egressRules.namespaceSelector }}
- namespaceSelector:
matchLabels: {{- include "common.tplvalues.render" (dict "value" .ComponentValues.networkPolicy.egressRules.namespaceSelector "context" $) | nindent 10 }}
{{- end }}
{{- if .ComponentValues.networkPolicy.egressRules.podSelector }}
- podSelector:
matchLabels: {{- include "common.tplvalues.render" (dict "value" .ComponentValues.networkPolicy.egressRules.podSelector "context" $) | nindent 10 }}
{{- end }}
{{- end }}
{{- if .ComponentValues.networkPolicy.egressRules.customRules }}
{{- include "common.tplvalues.render" (dict "value" .ComponentValues.networkPolicy.egressRules.customRules "context" $) | nindent 2 }}
{{- end }}
{{- end -}}
{{/*
Create image name value
If not tag is provided, it defaults to .Chart.AppVersion.
( dict "imageRoot" .Values.path.to.image "context" $ )
*/}}
{{- define "renderImage" -}}
{{- $image := merge .imageRoot (dict "tag" .context.Chart.AppVersion) -}}
{{- include "common.images.image" (dict "imageRoot" $image "global" .context.Values.global) -}}
{{- end -}}
{{/*
Create image name for all in one image
*/}}
{{- define "allInOne.image" -}}
{{- include "renderImage" ( dict "imageRoot" .Values.allInOne.image "context" $ ) -}}
{{- end -}}
{{/*
Create pull secrets for all in one image
*/}}
{{- define "allInOne.imagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.allInOne.image) "context" $) -}}
{{- end }}
{{/*
Create image name for schema image
*/}}
{{- define "schema.image" -}}
{{- include "renderImage" ( dict "imageRoot" .Values.schema.image "context" $ ) -}}
{{- end -}}
{{/*
Create pull secrets for schema image
*/}}
{{- define "schema.imagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.schema.image) "context" $) -}}
{{- end }}
{{/*
Create image name for ingester image
*/}}
{{- define "ingester.image" -}}
{{- include "renderImage" ( dict "imageRoot" .Values.ingester.image "context" $ ) -}}
{{- end -}}
{{/*
Create pull secrets for ingester image
*/}}
{{- define "ingester.imagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.ingester.image) "context" $) -}}
{{- end }}
{{/*
Create image name for agent image
*/}}
{{- define "agent.image" -}}
{{- include "renderImage" ( dict "imageRoot" .Values.agent.image "context" $ ) -}}
{{- end -}}
{{/*
Create pull secrets for agent image
*/}}
{{- define "agent.imagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.agent.image) "context" $) -}}
{{- end }}
{{/*
Create image name for collector image
*/}}
{{- define "collector.image" -}}
{{- include "renderImage" ( dict "imageRoot" .Values.collector.image "context" $ ) -}}
{{- end -}}
{{/*
Create pull secrets for collector image
*/}}
{{- define "collector.imagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.collector.image) "context" $) -}}
{{- end }}
{{/*
Create image name for query image
*/}}
{{- define "query.image" -}}
{{- include "renderImage" ( dict "imageRoot" .Values.query.image "context" $ ) -}}
{{- end -}}
{{/*
Create pull secrets for query image
*/}}
{{- define "query.imagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.query.image .Values.query.oAuthSidecar.image) "context" $) -}}
{{- end }}
{{/*
Create image name for oAuthSidecar image
*/}}
{{- define "oAuthSidecar.image" -}}
{{- include "common.images.image" (dict "imageRoot" .Values.query.oAuthSidecar.image "global" .Values.global) -}}
{{- end -}}
{{/*
Create image name for spark image
*/}}
{{- define "spark.image" -}}
{{- include "common.images.image" (dict "imageRoot" .Values.spark.image "global" .Values.global) -}}
{{- end -}}
{{/*
Create pull secrets for spark image
*/}}
{{- define "spark.imagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.spark.image) "context" $) -}}
{{- end }}
{{/*
Create image name for esIndexCleaner image
*/}}
{{- define "esIndexCleaner.image" -}}
{{- include "renderImage" ( dict "imageRoot" .Values.esIndexCleaner.image "context" $ ) -}}
{{- end -}}
{{/*
Create pull secrets for esIndexCleaner image
*/}}
{{- define "esIndexCleaner.imagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.esIndexCleaner.image) "context" $) -}}
{{- end }}
{{/*
Create image name for esRollover image
*/}}
{{- define "esRollover.image" -}}
{{- include "renderImage" ( dict "imageRoot" .Values.esRollover.image "context" $ ) -}}
{{- end -}}
{{/*
Create pull secrets for esRollover image
*/}}
{{- define "esRollover.imagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.esRollover.image) "context" $) -}}
{{- end }}
{{/*
Create image name for esLookback image
*/}}
{{- define "esLookback.image" -}}
{{- include "renderImage" ( dict "imageRoot" .Values.esLookback.image "context" $ ) -}}
{{- end -}}
{{/*
Create pull secrets for esLookback image
*/}}
{{- define "esLookback.imagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.esLookback.image) "context" $) -}}
{{- end }}
{{/*
Create image name for hotrod image
*/}}
{{- define "hotrod.image" -}}
{{- include "renderImage" ( dict "imageRoot" .Values.hotrod.image "context" $ ) -}}
{{- end -}}
{{/*
Define curl image declaration
*/}}
{{- define "curl.image" -}}
{{- $image := "curlimages/curl" -}}
{{- if .Values.global.imageRegistry -}}
{{ .Values.global.imageRegistry }}/{{ $image }}
{{- else -}}
{{ $image }}
{{- end -}}
{{- end -}}
{{/*
Create pull secrets for hotrod image
*/}}
{{- define "hotrod.imagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.hotrod.image) "context" $) -}}
{{- end }}

View File

@ -8,47 +8,63 @@ metadata:
app.kubernetes.io/component: agent
{{- if .Values.agent.annotations }}
annotations:
{{ toYaml .Values.agent.annotations | indent 4 }}
{{- toYaml .Values.agent.annotations | nindent 4 }}
{{- end }}
spec:
selector:
matchLabels:
{{- include "jaeger.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: agent
{{- with .Values.agent.daemonset.updateStrategy }}
updateStrategy:
{{- toYaml . | nindent 4 }}
{{- end }}
template:
metadata:
{{- if .Values.agent.podAnnotations }}
annotations:
{{ toYaml .Values.agent.podAnnotations | indent 8 }}
{{- toYaml .Values.agent.podAnnotations | nindent 8 }}
{{- end }}
labels:
{{- include "jaeger.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: agent
{{- if .Values.agent.podLabels }}
{{ toYaml .Values.agent.podLabels | indent 8 }}
{{- toYaml .Values.agent.podLabels | nindent 8 }}
{{- end }}
spec:
securityContext:
{{ toYaml .Values.agent.podSecurityContext | indent 8 }}
{{- toYaml .Values.agent.podSecurityContext | nindent 8 }}
{{- if .Values.agent.useHostNetwork }}
hostNetwork: true
{{- end }}
dnsPolicy: {{ .Values.agent.dnsPolicy }}
{{- with .Values.agent.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
serviceAccountName: {{ template "jaeger.agent.serviceAccountName" . }}
{{- include "agent.imagePullSecrets" . | nindent 6 }}
{{- if .Values.agent.initContainers }}
initContainers:
{{- toYaml .Values.agent.initContainers | nindent 8 }}
{{- end}}
containers:
- name: {{ template "jaeger.agent.name" . }}
securityContext:
{{ toYaml .Values.agent.securityContext | indent 10 }}
image: {{ .Values.agent.image }}:{{ .Values.tag }}
imagePullPolicy: {{ .Values.agent.pullPolicy }}
{{- toYaml .Values.agent.securityContext | nindent 10 }}
image: {{ include "agent.image" . }}
imagePullPolicy: {{ .Values.agent.image.pullPolicy }}
args:
{{ include "extra.cmdArgs" ( dict "cmdlineParams" .Values.agent.cmdlineParams ) | nindent 10 }}
env:
{{- if .Values.agent.extraEnv }}
{{- toYaml .Values.agent.extraEnv | nindent 10 }}
{{- end }}
{{- if not (hasKey .Values.agent.cmdlineParams "reporter.grpc.host-port") }}
- name: REPORTER_GRPC_HOST_PORT
value: {{ include "jaeger.collector.name" . }}:{{ .Values.collector.service.grpcPort }}
value: {{ include "jaeger.collector.name" . }}:{{ .Values.collector.service.grpc.port }}
{{- end }}
{{- range $key, $value := .Values.agent.cmdlineParams }}
- name: {{ $key | replace "." "_" | replace "-" "_" | upper | quote }}
value: {{ $value | quote }}
{{- with .Values.agent.envFrom }}
envFrom: {{- toYaml . | nindent 10 }}
{{- end }}
ports:
- name: zipkin-compact
@ -87,7 +103,7 @@ spec:
path: /
port: admin
resources:
{{ toYaml .Values.agent.resources | indent 10 }}
{{- toYaml .Values.agent.resources | nindent 10 }}
volumeMounts:
{{- range .Values.agent.extraConfigmapMounts }}
- name: {{ .name }}

View File

@ -6,4 +6,9 @@ metadata:
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: agent
{{- with .Values.agent.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.agent.serviceAccount.automountServiceAccountToken }}
{{- end -}}

View File

@ -0,0 +1,44 @@
{{- if and (.Values.agent.enabled) (.Values.agent.serviceMonitor.enabled)}}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ template "jaeger.agent.name" . }}
{{- if .Values.agent.serviceMonitor.namespace }}
namespace: {{ .Values.agent.serviceMonitor.namespace }}
{{- end }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: agent
{{- if .Values.agent.serviceMonitor.additionalLabels }}
{{- toYaml .Values.agent.serviceMonitor.additionalLabels | nindent 4 }}
{{- end }}
{{- if .Values.agent.serviceMonitor.annotations }}
annotations:
{{- toYaml .Values.agent.serviceMonitor.annotations | nindent 4 }}
{{- end }}
spec:
endpoints:
- port: admin
path: /metrics
{{- if .Values.agent.serviceMonitor.interval }}
interval: {{ .Values.agent.serviceMonitor.interval }}
{{- end }}
{{- if .Values.agent.serviceMonitor.scrapeTimeout }}
scrapeTimeout: {{ .Values.agent.serviceMonitor.scrapeTimeout }}
{{- end }}
{{- if .Values.agent.serviceMonitor.relabelings }}
relabelings:
{{- toYaml .Values.agent.serviceMonitor.relabelings | nindent 8 }}
{{- end }}
{{- if .Values.agent.serviceMonitor.metricRelabelings }}
metricRelabelings:
{{- toYaml .Values.agent.serviceMonitor.metricRelabelings | nindent 8 }}
{{- end }}
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
selector:
matchLabels:
app.kubernetes.io/component: agent
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

View File

@ -8,7 +8,7 @@ metadata:
app.kubernetes.io/component: agent
{{- if .Values.agent.service.annotations }}
annotations:
{{ toYaml .Values.agent.service.annotations | indent 4 }}
{{- toYaml .Values.agent.service.annotations | nindent 4 }}
{{- end }}
spec:
ports:
@ -28,6 +28,10 @@ spec:
port: {{ .Values.agent.service.samplingPort }}
protocol: TCP
targetPort: http
- name: admin
port: 14271
protocol: TCP
targetPort: admin
type: {{ .Values.agent.service.type }}
selector:
{{- include "jaeger.selectorLabels" . | nindent 4 }}

View File

@ -0,0 +1,30 @@
{{- if .Values.allInOne.enabled -}}
apiVersion: v1
kind: Service
metadata:
name: {{ template "jaeger.agent.name" . }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: service-agent
spec:
clusterIP: None
ports:
- name: zk-compact-trft
port: 5775
protocol: UDP
targetPort: 0
- name: config-rest
port: 5778
targetPort: 0
- name: jg-compact-trft
port: 6831
protocol: UDP
targetPort: 0
- name: jg-binary-trft
port: 6832
protocol: UDP
targetPort: 0
selector:
{{- include "jaeger.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: all-in-one
{{- end -}}

View File

@ -0,0 +1,48 @@
{{- if .Values.allInOne.enabled -}}
apiVersion: v1
kind: Service
metadata:
name: {{ template "jaeger.collector.name" . }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: service-collector
spec:
clusterIP: {{ .Values.allInOne.service.headless | ternary "None" "null" }}
ports:
- name: http-zipkin
port: 9411
targetPort: 0
{{- if semverCompare ">=1.20" .Capabilities.KubeVersion.Version }}
appProtocol: http
{{- end }}
- name: grpc-http
port: 14250
targetPort: 0
{{- if semverCompare ">=1.20" .Capabilities.KubeVersion.Version }}
appProtocol: grpc
{{- end }}
- name: c-tchan-trft
port: 14267
targetPort: 0
- name: http-c-binary-trft
port: 14268
targetPort: 0
{{- if semverCompare ">=1.20" .Capabilities.KubeVersion.Version }}
appProtocol: http
{{- end }}
- name: {{ .Values.allInOne.service.collector.otlp.grpc.name }}
port: 4317
targetPort: 0
{{- if semverCompare ">=1.20" .Capabilities.KubeVersion.Version }}
appProtocol: grpc
{{- end }}
- name: {{ .Values.allInOne.service.collector.otlp.http.name }}
port: 4318
targetPort: 0
{{- if semverCompare ">=1.20" .Capabilities.KubeVersion.Version }}
appProtocol: http
{{- end }}
selector:
{{- include "jaeger.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: all-in-one
{{- end -}}

View File

@ -0,0 +1,12 @@
{{- if .Values.allInOne.samplingConfig }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "jaeger.fullname" . }}-sampling-strategies
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: all-in-one
data:
strategies.json: |-
{{ tpl .Values.allInOne.samplingConfig . | indent 4 }}
{{- end }}

View File

@ -0,0 +1,157 @@
{{- if .Values.allInOne.enabled -}}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "jaeger.fullname" . }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: all-in-one
prometheus.io/port: "14269"
prometheus.io/scrape: "true"
spec:
{{- if hasKey .Values.allInOne "replicas" }}
replicas: {{ .Values.allInOne.replicas }}
{{- end }}
strategy:
type: Recreate
selector:
matchLabels:
{{- include "jaeger.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: all-in-one
template:
metadata:
labels:
{{- include "jaeger.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: all-in-one
{{- if .Values.allInOne.podLabels }}
{{- toYaml .Values.allInOne.podLabels | nindent 8 }}
{{- end }}
annotations:
prometheus.io/port: "14269"
prometheus.io/scrape: "true"
spec:
{{- include "allInOne.imagePullSecrets" . | nindent 6 }}
containers:
- env:
{{- if .Values.allInOne.extraEnv }}
{{- toYaml .Values.allInOne.extraEnv | nindent 12 }}
{{- end }}
- name: SPAN_STORAGE_TYPE
value: {{ .Values.storage.type }}
{{- include "storage.env" . | nindent 12 }}
- name: COLLECTOR_ZIPKIN_HOST_PORT
value: :9411
- name: JAEGER_DISABLED
value: "false"
- name: COLLECTOR_OTLP_ENABLED
value: "true"
{{- if .Values.allInOne.samplingConfig }}
- name: SAMPLING_STRATEGIES_FILE
value: /etc/conf/strategies.json
{{- end }}
{{- with .Values.allInOne.envFrom }}
envFrom: {{- toYaml . | nindent 12 }}
{{- end }}
securityContext:
{{- toYaml .Values.allInOne.securityContext | nindent 12 }}
image: {{ include "allInOne.image" . }}
imagePullPolicy: {{ .Values.allInOne.image.pullPolicy }}
name: jaeger
args:
{{- range $arg := .Values.allInOne.args }}
- "{{ tpl $arg $ }}"
{{- end }}
ports:
- containerPort: 5775
protocol: UDP
- containerPort: 6831
protocol: UDP
- containerPort: 6832
protocol: UDP
- containerPort: 5778
protocol: TCP
- containerPort: 16686
protocol: TCP
- containerPort: 16685
protocol: TCP
- containerPort: 9411
protocol: TCP
- containerPort: 4317
protocol: TCP
- containerPort: 4318
protocol: TCP
livenessProbe:
failureThreshold: 5
httpGet:
path: /
port: 14269
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 15
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
failureThreshold: 3
httpGet:
path: /
port: 14269
scheme: HTTP
initialDelaySeconds: 1
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
{{- with .Values.allInOne.resources }}
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
{{- if not .Values.storage.badger.ephemeral }}
- name: badger-data
mountPath: {{ .Values.storage.badger.persistence.mountPath }}
{{- end }}
{{- if .Values.allInOne.samplingConfig}}
- name: strategies
mountPath: /etc/conf/
{{- end }}
{{- range .Values.allInOne.extraSecretMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
securityContext:
{{- toYaml .Values.allInOne.podSecurityContext | nindent 8 }}
serviceAccountName: {{ template "jaeger.fullname" . }}
volumes:
{{- if not .Values.storage.badger.ephemeral }}
- name: badger-data
persistentVolumeClaim:
claimName: {{ .Values.storage.badger.persistence.useExistingPvcName | required "Using badger persistence it is required to set an existing PVC" }}
{{- end }}
{{- if .Values.allInOne.samplingConfig}}
- name: strategies
configMap:
name: {{ include "jaeger.fullname" . }}-sampling-strategies
{{- end }}
{{- range .Values.allInOne.extraSecretMounts }}
- name: {{ .name }}
secret:
secretName: {{ .secretName }}
{{- end }}
{{- with .Values.allInOne.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.allInOne.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.allInOne.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.allInOne.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,31 @@
{{- if and (.Values.allInOne.enabled) (.Values.allInOne.ingress.enabled) -}}
{{- $ingressSupportsIngressClassName := eq (include "common.ingress.supportsIngressClassname" .) "true" }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "jaeger.query.name" . }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: all-in-one
{{- if .Values.allInOne.ingress.annotations }}
annotations:
{{- toYaml .Values.allInOne.ingress.annotations | nindent 4 }}
{{- end }}
spec:
{{- if and $ingressSupportsIngressClassName .Values.allInOne.ingress.ingressClassName }}
ingressClassName: {{ .Values.allInOne.ingress.ingressClassName }}
{{- end }}
rules:
{{- range $host := .Values.allInOne.ingress.hosts }}
- host: {{ $host }}
http:
paths:
- path: /
pathType: {{ default "ImplementationSpecific" $.Values.allInOne.ingress.pathType }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "jaeger.query.name" $) "servicePort" 16686 "context" $) | nindent 14 }}
{{- end -}}
{{- if .Values.allInOne.ingress.tls }}
tls:
{{- toYaml .Values.allInOne.ingress.tls | nindent 4 }}
{{- end -}}
{{- end -}}

View File

@ -0,0 +1,21 @@
{{- if .Values.allInOne.enabled -}}
apiVersion: v1
kind: Service
metadata:
name: {{ template "jaeger.query.name" . }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: service-query
spec:
clusterIP: None
ports:
- name: http-query
port: 16686
targetPort: 16686
- name: grpc-query
port: 16685
targetPort: 16685
selector:
{{- include "jaeger.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: all-in-one
{{- end -}}

View File

@ -0,0 +1,14 @@
{{- if .Values.allInOne.enabled -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "jaeger.fullname" . }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: all-in-one
{{- with .Values.allInOne.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.allInOne.serviceAccount.automountServiceAccountToken }}
{{- end -}}

View File

@ -1,5 +1,6 @@
{{- if .Values.collector.enabled -}}
{{- if eq .Values.storage.type "cassandra" -}}
{{- if .Values.storage.cassandra.schemaJobEnabled -}}
apiVersion: batch/v1
kind: Job
metadata:
@ -9,57 +10,55 @@ metadata:
app.kubernetes.io/component: cassandra-schema
{{- if .Values.schema.annotations }}
annotations:
{{ toYaml .Values.schema.annotations | indent 4 }}
{{- toYaml .Values.schema.annotations | nindent 4 }}
{{- end }}
spec:
activeDeadlineSeconds: {{ .Values.schema.activeDeadlineSeconds }}
template:
metadata:
name: {{ include "jaeger.fullname" . }}-cassandra-schema
{{- if .Values.schema.podAnnotations }}
annotations:
{{- toYaml .Values.schema.podAnnotations | nindent 8 }}
{{- end }}
{{- if .Values.schema.podLabels }}
labels:
{{ toYaml .Values.schema.podLabels | indent 8 }}
{{- toYaml .Values.schema.podLabels | nindent 8 }}
{{- end }}
spec:
securityContext:
{{- toYaml .Values.schema.podSecurityContext | nindent 8 }}
serviceAccountName: {{ template "jaeger.cassandraSchema.serviceAccountName" . }}
{{- include "schema.imagePullSecrets" . | nindent 6 }}
containers:
- name: {{ include "jaeger.fullname" . }}-cassandra-schema
image: {{ .Values.schema.image }}:{{ .Values.tag }}
imagePullPolicy: {{ .Values.schema.pullPolicy }}
image: {{ include "schema.image" . }}
imagePullPolicy: {{ .Values.schema.image.pullPolicy }}
securityContext:
{{- toYaml .Values.schema.securityContext | nindent 10 }}
env:
{{- if .Values.schema.extraEnv }}
{{- toYaml .Values.schema.extraEnv | nindent 10 }}
{{- end }}
{{ range $key, $value := .Values.schema.env }}
- name: {{ $key | quote }}
value: {{ $value | quote }}
{{ end }}
{{- include "cassandra.env" . | nindent 10 }}
- name: CQLSH_HOST
value: {{ template "cassandra.host" . }}
{{ if .Values.storage.cassandra.tls.enabled }}
- name: CQLSH_SSL
value: "--ssl"
{{- end }}
- name: MODE
value: {{ .Values.schema.mode | quote }}
- name: DATACENTER
value: {{ .Values.cassandra.config.dc_name | quote }}
- name: CASSANDRA_PORT
value: {{ .Values.storage.cassandra.port | quote }}
- name: CASSANDRA_USERNAME
value: {{ .Values.storage.cassandra.user }}
- name: CASSANDRA_PASSWORD
valueFrom:
secretKeyRef:
name: {{ if .Values.storage.cassandra.existingSecret }}{{ .Values.storage.cassandra.existingSecret }}{{- else }}{{ include "jaeger.fullname" . }}-cassandra{{- end }}
key: password
{{- if .Values.storage.cassandra.keyspace }}
- name: KEYSPACE
value: {{ .Values.storage.cassandra.keyspace | quote }}
{{- end }}
{{- if .Values.schema.traceTtl }}
- name: TRACE_TTL
value: {{ .Values.schema.traceTtl | quote }}
{{- end }}
{{- if .Values.schema.dependenciesTtl }}
- name: DEPENDENCIES_TTL
value: {{ .Values.schema.dependenciesTtl | quote }}
value: {{ .Values.storage.cassandra.keyspace }}
{{- end }}
resources:
{{ toYaml .Values.schema.resources | indent 10 }}
{{- toYaml .Values.schema.resources | nindent 10 }}
volumeMounts:
{{- range .Values.schema.extraConfigmapMounts }}
- name: {{ .name }}
@ -92,5 +91,19 @@ spec:
configMap:
name: {{ .configMap }}
{{- end }}
{{- if .Values.storage.cassandra.tls.enabled }}
- name: {{ .Values.storage.cassandra.tls.secretName }}
secret:
secretName: {{ .Values.storage.cassandra.tls.secretName }}
{{- end }}
{{- with .Values.schema.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.schema.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end -}}
{{- end -}}
{{- end -}}

View File

@ -6,4 +6,5 @@ metadata:
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: cassandra-schema
automountServiceAccountToken: {{ .Values.schema.serviceAccount.automountServiceAccountToken }}
{{- end -}}

View File

@ -8,7 +8,7 @@ metadata:
app.kubernetes.io/component: collector
{{- if .Values.collector.annotations }}
annotations:
{{ toYaml .Values.collector.annotations | indent 4 }}
{{- toYaml .Values.collector.annotations | nindent 4 }}
{{- end }}
spec:
{{- if not .Values.collector.autoscaling.enabled }}
@ -18,122 +18,127 @@ spec:
matchLabels:
{{- include "jaeger.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: collector
strategy:
type: Recreate
template:
metadata:
annotations:
checksum/config-env: {{ include (print $.Template.BasePath "/collector-configmap.yaml") . | sha256sum }}
{{- if .Values.collector.podAnnotations }}
{{ toYaml .Values.collector.podAnnotations | indent 8 }}
{{- toYaml .Values.collector.podAnnotations | nindent 8 }}
{{- end }}
labels:
{{- include "jaeger.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: collector
{{- if .Values.collector.podLabels }}
{{ toYaml .Values.collector.podLabels | indent 8 }}
{{- toYaml .Values.collector.podLabels | nindent 8 }}
{{- end }}
spec:
{{- if .Values.provisionDataStore.elasticsearch }}
initContainers:
- name: elasticsearch-checker
image: {{ include "curl.image" . }}
command:
- sh
- "-c"
- |
url="{{ include "elasticsearch.client.url" . }}"
until [ "$(curl -s -o /dev/null -w '%{http_code}' "$url/_cluster/health")" = "200" ]; do
echo "Waiting for Elasticsearch at $url"
sleep 5
done
{{- end}}
{{- with .Values.collector.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
securityContext:
{{ toYaml .Values.collector.podSecurityContext | indent 8 }}
{{- toYaml .Values.collector.podSecurityContext | nindent 8 }}
serviceAccountName: {{ template "jaeger.collector.serviceAccountName" . }}
{{- include "collector.imagePullSecrets" . | nindent 6 }}
{{- if .Values.collector.initContainers }}
initContainers:
{{- toYaml .Values.collector.initContainers | nindent 8 }}
{{- end}}
containers:
- name: {{ template "jaeger.collector.name" . }}
securityContext:
{{ toYaml .Values.collector.securityContext | indent 10 }}
image: {{ .Values.collector.image }}:{{ .Values.tag }}
imagePullPolicy: {{ .Values.collector.pullPolicy }}
env:
{{- range $key, $value := .Values.collector.cmdlineParams }}
- name: {{ $key | replace "." "_" | replace "-" "_" | upper | quote }}
value: {{ $value | quote }}
{{- toYaml .Values.collector.securityContext | nindent 10 }}
image: {{ include "collector.image" . }}
imagePullPolicy: {{ .Values.collector.image.pullPolicy }}
args:
{{ include "extra.cmdArgs" ( dict "cmdlineParams" .Values.collector.cmdlineParams ) | nindent 10 }}
{{- if not .Values.ingester.enabled -}}
{{- include "storage.cmdArgs" . | nindent 10 }}
{{- end }}
env:
{{- if .Values.collector.extraEnv }}
{{- toYaml .Values.collector.extraEnv | nindent 10 }}
{{- end }}
{{- if .Values.collector.service.zipkin }}
- name: COLLECTOR_ZIPKIN_HOST_PORT
value: {{ .Values.collector.service.zipkin.port | quote }}
{{- end }}
{{- if or .Values.collector.service.otlp.grpc .Values.collector.service.otlp.http }}
- name: COLLECTOR_OTLP_ENABLED
value: "true"
{{- if ne (default 4317 .Values.collector.service.otlp.grpc.port | toString ) "4317" }}
- name: COLLECTOR_OTLP_GRPC_HOST_PORT
value: {{ .Values.collector.service.otlp.grpc.port | quote }}
{{- end }}
{{- if ne (default 4318 .Values.collector.service.otlp.http.port | toString) "4318" }}
- name: COLLECTOR_OTLP_HTTP_HOST_PORT
value: {{ .Values.collector.service.otlp.http.port | quote }}
{{- end }}
{{- if .Values.collector.service.zipkinPort }}
- name: COLLECTOR_ZIPKIN_HTTP_PORT
value: {{ .Values.collector.service.zipkinPort | quote }}
{{- end }}
{{- if .Values.ingester.enabled }}
- name: SPAN_STORAGE_TYPE
value: kafka
{{- range $key, $value := .Values.storage.kafka.env }}
- name: {{ $key | quote }}
value: {{ $value | quote }}
{{- end }}
{{- if .Values.storage.kafka.extraEnv }}
{{- toYaml .Values.storage.kafka.extraEnv | nindent 10 }}
{{- end }}
- name: KAFKA_PRODUCER_BROKERS
value: {{ include "helm-toolkit.utils.joinListWithComma" .Values.storage.kafka.brokers }}
value: {{ tpl (include "helm-toolkit.utils.joinListWithComma" .Values.storage.kafka.brokers) . }}
- name: KAFKA_PRODUCER_TOPIC
value: {{ .Values.storage.kafka.topic }}
- name: KAFKA_PRODUCER_AUTHENTICATION
value: {{ .Values.storage.kafka.authentication }}
{{ else }}
- name: SPAN_STORAGE_TYPE
value: {{ .Values.storage.type }}
{{- if eq .Values.storage.type "cassandra" }}
- name: CASSANDRA_SERVERS
value: {{ template "cassandra.host" . }}
- name: CASSANDRA_PORT
value: {{ .Values.storage.cassandra.port | quote }}
{{ if .Values.storage.cassandra.tls.enabled }}
- name: CASSANDRA_TLS
value: "true"
- name: CASSANDRA_TLS_SERVER_NAME
valueFrom:
secretKeyRef:
name: {{ .Values.storage.cassandra.tls.secretName }}
key: commonName
- name: CASSANDRA_TLS_KEY
value: "/cassandra-tls/client-key.pem"
- name: CASSANDRA_TLS_CERT
value: "/cassandra-tls/client-cert.pem"
- name: CASSANDRA_TLS_CA
value: "/cassandra-tls/ca-cert.pem"
{{- end }}
{{- if .Values.storage.cassandra.keyspace }}
- name: CASSANDRA_KEYSPACE
value: {{ .Values.storage.cassandra.keyspace }}
{{- end }}
- name: CASSANDRA_USERNAME
value: {{ .Values.storage.cassandra.user }}
- name: CASSANDRA_PASSWORD
valueFrom:
secretKeyRef:
name: {{ if .Values.storage.cassandra.existingSecret }}{{ .Values.storage.cassandra.existingSecret }}{{- else }}{{ include "jaeger.fullname" . }}-cassandra{{- end }}
key: password
{{- end }}
{{- if eq .Values.storage.type "elasticsearch" }}
{{- if .Values.storage.elasticsearch.usePassword }}
- name: ES_PASSWORD
valueFrom:
secretKeyRef:
name: {{ if .Values.storage.elasticsearch.existingSecret }}{{ .Values.storage.elasticsearch.existingSecret }}{{- else }}{{ include "jaeger.fullname" . }}-elasticsearch{{- end }}
key: password
{{- end }}
- name: ES_SERVER_URLS
value: {{ template "elasticsearch.client.url" . }}
- name: ES_USERNAME
value: {{ .Values.storage.elasticsearch.user }}
{{- if .Values.storage.elasticsearch.indexPrefix }}
- name: ES_INDEX_PREFIX
value: {{ .Values.storage.elasticsearch.indexPrefix }}
{{- end }}
{{- end }}
{{- include "storage.env" . | nindent 10 }}
{{- end }}
{{- if .Values.collector.samplingConfig}}
- name: SAMPLING_STRATEGIES_FILE
value: /etc/conf/strategies.json
{{- end }}
{{- with .Values.collector.envFrom }}
envFrom: {{- toYaml . | nindent 10 }}
{{- end }}
ports:
- containerPort: {{ .Values.collector.service.grpcPort }}
- containerPort: {{ .Values.collector.service.grpc.port }}
name: grpc
protocol: TCP
- containerPort: {{ .Values.collector.service.tchannelPort }}
name: tchannel
protocol: TCP
- containerPort: {{ .Values.collector.service.httpPort }}
- containerPort: {{ .Values.collector.service.http.port }}
name: http
protocol: TCP
- containerPort: 14269
name: admin
protocol: TCP
{{- if .Values.collector.service.zipkinPort }}
- containerPort: {{ .Values.collector.service.zipkinPort }}
{{- if .Values.collector.service.zipkin }}
- containerPort: {{ .Values.collector.service.zipkin.port }}
name: zipkin
protocol: TCP
{{- end }}
{{- if or .Values.collector.service.otlp.grpc .Values.collector.service.otlp.http }}
- containerPort: {{ default 4317 .Values.collector.service.otlp.grpc.port }}
name: {{ .Values.collector.service.otlp.grpc.name }}
protocol: TCP
- containerPort: {{ default 4318 .Values.collector.service.otlp.http.port }}
name: {{ .Values.collector.service.otlp.http.name }}
protocol: TCP
{{- end }}
readinessProbe:
httpGet:
path: /
@ -143,7 +148,7 @@ spec:
path: /
port: admin
resources:
{{ toYaml .Values.collector.resources | indent 10 }}
{{- toYaml .Values.collector.resources | nindent 10 }}
volumeMounts:
{{- range .Values.collector.extraConfigmapMounts }}
- name: {{ .name }}
@ -171,6 +176,12 @@ spec:
subPath: "client-key.pem"
readOnly: true
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
mountPath: {{ .Values.storage.elasticsearch.tls.mountPath }}
subPath: {{ .Values.storage.elasticsearch.tls.subPath }}
readOnly: true
{{- end }}
{{- if .Values.collector.samplingConfig}}
- name: strategies
mountPath: /etc/conf/
@ -193,6 +204,16 @@ spec:
configMap:
name: {{ include "jaeger.fullname" . }}-sampling-strategies
{{- end }}
{{- if .Values.storage.cassandra.tls.enabled }}
- name: {{ .Values.storage.cassandra.tls.secretName }}
secret:
secretName: {{ .Values.storage.cassandra.tls.secretName }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
secret:
secretName: {{ .Values.storage.elasticsearch.tls.secretName }}
{{- end }}
{{- with .Values.collector.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
@ -201,6 +222,10 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.collector.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.collector.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}

View File

@ -1,5 +1,5 @@
{{- if .Values.collector.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
{{- if and .Values.collector.enabled .Values.collector.autoscaling.enabled }}
apiVersion: {{ include "common.capabilities.hpa.apiVersion" ( dict "context" $ ) }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ template "jaeger.collector.name" . }}
@ -8,20 +8,36 @@ metadata:
app.kubernetes.io/component: collector
spec:
scaleTargetRef:
apiVersion: apps/v1
apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
kind: Deployment
name: {{ template "jaeger.collector.name" . }}
minReplicas: {{ .Values.collector.autoscaling.minReplicas }}
maxReplicas: {{ .Values.collector.autoscaling.maxReplicas }}
metrics:
- type: Resource
resource:
name: cpu
targetAverageUtilization: {{ .Values.collector.autoscaling.targetCPUUtilizationPercentage | default 80 }}
{{- if .Values.collector.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
{{- if eq "autoscaling/v2" (include "common.capabilities.hpa.apiVersion" ( dict "context" $ )) }}
target:
averageUtilization: {{ .Values.collector.autoscaling.targetMemoryUtilizationPercentage }}
type: Utilization
{{- else }}
targetAverageUtilization: {{ .Values.collector.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- end }}
- type: Resource
resource:
name: cpu
{{- if eq "autoscaling/v2" (include "common.capabilities.hpa.apiVersion" ( dict "context" $ )) }}
target:
averageUtilization: {{ .Values.collector.autoscaling.targetCPUUtilizationPercentage | default 80 }}
type: Utilization
{{- else }}
targetAverageUtilization: {{ .Values.collector.autoscaling.targetCPUUtilizationPercentage | default 80 }}
{{- end }}
{{- with .Values.collector.autoscaling.behavior }}
behavior:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View File

@ -0,0 +1,38 @@
{{- if .Values.collector.ingress.enabled -}}
{{- $ingressSupportsIngressClassName := eq (include "common.ingress.supportsIngressClassname" .) "true" }}
{{- $defaultServicePort := .Values.collector.service.http.port -}}
{{- $basePath := .Values.collector.basePath -}}
apiVersion: {{ include "common.capabilities.ingress.apiVersion" $ }}
kind: Ingress
metadata:
name: {{ template "jaeger.collector.name" . }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
{{- if .Values.collector.ingress.labels }}
{{- toYaml .Values.collector.ingress.labels | nindent 4 }}
{{- end }}
app.kubernetes.io/component: collector
{{- if .Values.collector.ingress.annotations }}
annotations:
{{- toYaml .Values.collector.ingress.annotations | nindent 4 }}
{{- end }}
spec:
{{- if and $ingressSupportsIngressClassName .Values.collector.ingress.ingressClassName }}
ingressClassName: {{ .Values.collector.ingress.ingressClassName }}
{{- end }}
rules:
{{- range .Values.collector.ingress.hosts }}
- host: {{ include "jaeger.collector.ingressHost" . | quote }}
http:
paths:
- path: {{ $basePath }}
pathType: {{ default "ImplementationSpecific" $.Values.collector.ingress.pathType }}
{{- $servicePortString := (include "jaeger.collector.ingressServicePort" (dict "defaultServicePort" $defaultServicePort "context" .)) }}
{{- $servicePort := default $servicePortString ($servicePortString | float64) }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "jaeger.collector.name" $) "servicePort" $servicePort "context" $) | nindent 14 }}
{{- end -}}
{{- if .Values.collector.ingress.tls }}
tls:
{{- toYaml .Values.collector.ingress.tls | nindent 4 }}
{{- end -}}
{{- end -}}

View File

@ -0,0 +1,5 @@
{{- if and .Values.networkPolicy.enabled .Values.collector.networkPolicy.enabled .Values.collector.networkPolicy.egressRules }}
{{- $extraVals := dict "Name" (include "jaeger.collector.name" .) "Component" "collector" "ComponentValues" .Values.collector -}}
{{- $npVals := merge $extraVals . -}}
{{ include "jaeger.egress.networkPolicy" $npVals }}
{{- end }}

View File

@ -0,0 +1,5 @@
{{- if and .Values.networkPolicy.enabled .Values.collector.networkPolicy.enabled .Values.collector.networkPolicy.ingressRules -}}
{{- $extraVals := dict "Name" (include "jaeger.collector.name" .) "Component" "collector" "ComponentValues" .Values.collector -}}
{{- $npVals := merge $extraVals . -}}
{{ include "jaeger.ingress.networkPolicy" $npVals }}
{{- end -}}

View File

@ -6,4 +6,9 @@ metadata:
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: collector
{{- with .Values.collector.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.collector.serviceAccount.automountServiceAccountToken }}
{{- end -}}

View File

@ -0,0 +1,44 @@
{{- if and (.Values.collector.enabled) (.Values.collector.serviceMonitor.enabled)}}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ template "jaeger.collector.name" . }}
{{- if .Values.collector.serviceMonitor.namespace }}
namespace: {{ .Values.collector.serviceMonitor.namespace }}
{{- end }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: collector
{{- if .Values.collector.serviceMonitor.additionalLabels }}
{{- toYaml .Values.collector.serviceMonitor.additionalLabels | nindent 4 }}
{{- end }}
{{- if .Values.collector.serviceMonitor.annotations }}
annotations:
{{- toYaml .Values.collector.serviceMonitor.annotations | nindent 4 }}
{{- end }}
spec:
endpoints:
- port: admin
path: /metrics
{{- if .Values.collector.serviceMonitor.interval }}
interval: {{ .Values.collector.serviceMonitor.interval }}
{{- end }}
{{- if .Values.collector.serviceMonitor.scrapeTimeout }}
scrapeTimeout: {{ .Values.collector.serviceMonitor.scrapeTimeout }}
{{- end }}
{{- if .Values.collector.serviceMonitor.relabelings }}
relabelings:
{{- toYaml .Values.collector.serviceMonitor.relabelings | nindent 8 }}
{{- end }}
{{- if .Values.collector.serviceMonitor.metricRelabelings }}
metricRelabelings:
{{- toYaml .Values.collector.serviceMonitor.metricRelabelings | nindent 8 }}
{{- end }}
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
selector:
matchLabels:
app.kubernetes.io/component: collector
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

View File

@ -8,31 +8,70 @@ metadata:
app.kubernetes.io/component: collector
{{- if .Values.collector.service.annotations }}
annotations:
{{ toYaml .Values.collector.service.annotations | indent 4 }}
{{- toYaml .Values.collector.service.annotations | nindent 4 }}
{{- end }}
spec:
ports:
- name: grpc
port: {{ .Values.collector.service.grpcPort }}
port: {{ .Values.collector.service.grpc.port }}
{{- if and (eq .Values.collector.service.type "NodePort") (.Values.collector.service.grpc.nodePort) }}
nodePort: {{ .Values.collector.service.grpc.nodePort }}
{{- end }}
protocol: TCP
targetPort: grpc
- name: tchannel
port: {{ .Values.collector.service.tchannelPort }}
protocol: TCP
targetPort: tchannel
{{- if semverCompare ">=1.20" .Capabilities.KubeVersion.Version }}
appProtocol: grpc
{{- end }}
- name: http
port: {{ .Values.collector.service.httpPort }}
port: {{ .Values.collector.service.http.port }}
{{- if and (eq .Values.collector.service.type "NodePort") (.Values.collector.service.http.nodePort) }}
nodePort: {{ .Values.collector.service.http.nodePort }}
{{- end }}
protocol: TCP
targetPort: http
{{- if .Values.collector.service.zipkinPort }}
{{- if semverCompare ">=1.20" .Capabilities.KubeVersion.Version }}
appProtocol: http
{{- end }}
{{- if .Values.collector.service.zipkin }}
- name: zipkin
port: {{ .Values.collector.service.zipkinPort }}
port: {{ .Values.collector.service.zipkin.port }}
{{- if and (eq .Values.collector.service.type "NodePort") (.Values.collector.service.zipkin.nodePort) }}
nodePort: {{ .Values.collector.service.zipkin.nodePort }}
{{- end }}
protocol: TCP
targetPort: zipkin
{{- if semverCompare ">=1.20" .Capabilities.KubeVersion.Version }}
appProtocol: http
{{- end }}
{{- end }}
{{- if or .Values.collector.service.otlp.grpc .Values.collector.service.otlp.http }}
- name: {{ .Values.collector.service.otlp.grpc.name }}
port: {{ default 4317 .Values.collector.service.otlp.grpc.port }}
{{- if and (eq .Values.collector.service.type "NodePort") (.Values.collector.service.otlp.grpc.nodePort) }}
nodePort: {{ .Values.collector.service.otlp.grpc.nodePort }}
{{- end }}
protocol: TCP
targetPort: {{ .Values.collector.service.otlp.grpc.name }}
- name: {{ .Values.collector.service.otlp.http.name }}
port: {{ default 4318 .Values.collector.service.otlp.http.port }}
{{- if and (eq .Values.collector.service.type "NodePort") (.Values.collector.service.otlp.http.nodePort) }}
nodePort: {{ .Values.collector.service.otlp.http.nodePort }}
{{- end }}
protocol: TCP
targetPort: {{ .Values.collector.service.otlp.http.name }}
{{- end }}
- name: {{ .Values.collector.service.admin.name }}
port: 14269
targetPort: {{ .Values.collector.service.admin.targetPort }}
selector:
{{- include "jaeger.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: collector
{{- if and (eq .Values.collector.service.type "ClusterIP") .Values.collector.service.clusterIP }}
clusterIP: {{ .Values.collector.service.clusterIP }}
{{- end }}
type: {{ .Values.collector.service.type }}
{{- if and (eq .Values.collector.service.type "LoadBalancer") .Values.collector.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.collector.service.loadBalancerIP }}
{{- end -}}
{{- template "loadBalancerSourceRanges" .Values.collector }}
{{- end -}}

View File

@ -5,6 +5,11 @@ metadata:
name: {{ include "jaeger.fullname" . }}-elasticsearch
labels:
{{- include "jaeger.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-weight": "-1"
"helm.sh/hook-delete-policy": before-hook-creation
"helm.sh/resource-policy": keep
type: Opaque
data:
password: {{ .Values.storage.elasticsearch.password | b64enc | quote }}

View File

@ -0,0 +1,109 @@
{{- if .Values.esIndexCleaner.enabled -}}
apiVersion: {{ include "common.capabilities.cronjob.apiVersion" $ }}
kind: CronJob
metadata:
name: {{ include "jaeger.fullname" . }}-es-index-cleaner
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: es-index-cleaner
{{- if .Values.esIndexCleaner.annotations }}
annotations:
{{- toYaml .Values.esIndexCleaner.annotations | nindent 4 }}
{{- end }}
spec:
concurrencyPolicy: {{ .Values.esIndexCleaner.concurrencyPolicy }}
schedule: {{ .Values.esIndexCleaner.schedule | quote }}
successfulJobsHistoryLimit: {{ .Values.esIndexCleaner.successfulJobsHistoryLimit }}
failedJobsHistoryLimit: {{ .Values.esIndexCleaner.failedJobsHistoryLimit }}
suspend: false
jobTemplate:
spec:
{{- if .Values.esIndexCleaner.activeDeadlineSeconds }}
activeDeadlineSeconds: {{ .Values.esIndexCleaner.activeDeadlineSeconds }}
{{- end }}
{{- if .Values.esIndexCleaner.ttlSecondsAfterFinished }}
ttlSecondsAfterFinished: {{ .Values.esIndexCleaner.ttlSecondsAfterFinished }}
{{- end }}
template:
metadata:
{{- if .Values.esIndexCleaner.podAnnotations }}
annotations:
{{- toYaml .Values.esIndexCleaner.podAnnotations | nindent 12 }}
{{- end }}
labels:
{{- include "jaeger.selectorLabels" . | nindent 12 }}
app.kubernetes.io/component: es-index-cleaner
{{- if .Values.esIndexCleaner.podLabels }}
{{- toYaml .Values.esIndexCleaner.podLabels | nindent 12 }}
{{- end }}
spec:
serviceAccountName: {{ template "jaeger.esIndexCleaner.serviceAccountName" . }}
{{- include "esIndexCleaner.imagePullSecrets" . | nindent 10 }}
securityContext:
{{- toYaml .Values.esIndexCleaner.podSecurityContext | nindent 12 }}
containers:
- name: {{ include "jaeger.fullname" . }}-es-index-cleaner
securityContext:
{{- toYaml .Values.esIndexCleaner.securityContext | nindent 14 }}
image: {{ include "esIndexCleaner.image" . }}
imagePullPolicy: {{ .Values.esIndexCleaner.image.pullPolicy }}
args:
- {{ .Values.esIndexCleaner.numberOfDays | quote }}
- {{ include "elasticsearch.client.url" . }}
{{ include "extra.cmdArgs" ( dict "cmdlineParams" .Values.esIndexCleaner.cmdlineParams ) | nindent 14 }}
env:
{{- if .Values.esIndexCleaner.extraEnv }}
{{- toYaml .Values.esIndexCleaner.extraEnv | nindent 14 }}
{{- end }}
{{ include "elasticsearch.env" . | nindent 14 }}
resources:
{{- toYaml .Values.esIndexCleaner.resources | nindent 14 }}
volumeMounts:
{{- range .Values.esIndexCleaner.extraConfigmapMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- range .Values.esIndexCleaner.extraSecretMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
mountPath: {{ .Values.storage.elasticsearch.tls.mountPath }}
subPath: {{ .Values.storage.elasticsearch.tls.subPath }}
readOnly: true
{{- end }}
restartPolicy: OnFailure
{{- with .Values.esIndexCleaner.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.esIndexCleaner.affinity }}
affinity:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.esIndexCleaner.tolerations }}
tolerations:
{{- toYaml . | nindent 12 }}
{{- end }}
volumes:
{{- range .Values.esIndexCleaner.extraConfigmapMounts }}
- name: {{ .name }}
configMap:
name: {{ .configMap }}
{{- end }}
{{- range .Values.esIndexCleaner.extraSecretMounts }}
- name: {{ .name }}
secret:
secretName: {{ .secretName }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
secret:
secretName: {{ .Values.storage.elasticsearch.tls.secretName }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,14 @@
{{- if and .Values.esIndexCleaner.enabled .Values.esIndexCleaner.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "jaeger.esIndexCleaner.serviceAccountName" . }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: es-index-cleaner
{{- with .Values.esIndexCleaner.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.esIndexCleaner.serviceAccount.automountServiceAccountToken }}
{{- end -}}

View File

@ -0,0 +1,110 @@
{{- if .Values.esLookback.enabled -}}
apiVersion: {{ include "common.capabilities.cronjob.apiVersion" $ }}
kind: CronJob
metadata:
name: {{ include "jaeger.fullname" . }}-es-lookback
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: es-lookback
{{- if .Values.esLookback.annotations }}
annotations:
{{- toYaml .Values.esLookback.annotations | nindent 4 }}
{{- end }}
spec:
concurrencyPolicy: {{ .Values.esLookback.concurrencyPolicy }}
schedule: {{ .Values.esLookback.schedule | quote }}
successfulJobsHistoryLimit: {{ .Values.esLookback.successfulJobsHistoryLimit }}
failedJobsHistoryLimit: {{ .Values.esLookback.failedJobsHistoryLimit }}
suspend: false
jobTemplate:
spec:
{{- if .Values.esLookback.activeDeadlineSeconds }}
activeDeadlineSeconds: {{ .Values.esLookback.activeDeadlineSeconds }}
{{- end }}
{{- if .Values.esLookback.ttlSecondsAfterFinished }}
ttlSecondsAfterFinished: {{ .Values.esLookback.ttlSecondsAfterFinished }}
{{- end }}
template:
metadata:
{{- if .Values.esLookback.podAnnotations }}
annotations:
{{- toYaml .Values.esLookback.podAnnotations | nindent 12 }}
{{- end }}
labels:
{{- include "jaeger.selectorLabels" . | nindent 12 }}
app.kubernetes.io/component: es-lookback
{{- if .Values.esLookback.podLabels }}
{{- toYaml .Values.esLookback.podLabels | nindent 12 }}
{{- end }}
spec:
serviceAccountName: {{ template "jaeger.esLookback.serviceAccountName" . }}
{{- include "esLookback.imagePullSecrets" . | nindent 10 }}
securityContext:
{{- toYaml .Values.esLookback.podSecurityContext | nindent 12 }}
restartPolicy: OnFailure
{{- with .Values.esLookback.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.esLookback.affinity }}
affinity:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.esLookback.tolerations }}
tolerations:
{{- toYaml . | nindent 12 }}
{{- end }}
containers:
- name: {{ include "jaeger.fullname" . }}-es-lookback
securityContext:
{{- toYaml .Values.esLookback.securityContext | nindent 14 }}
image: {{ include "esLookback.image" . }}
imagePullPolicy: {{ .Values.esLookback.image.pullPolicy }}
args:
- lookback
- {{ include "elasticsearch.client.url" . }}
{{ include "extra.cmdArgs" ( dict "cmdlineParams" .Values.esLookback.cmdlineParams ) | nindent 14 }}
env:
{{ include "elasticsearch.env" . | nindent 14 }}
{{- if .Values.esLookback.extraEnv }}
{{- toYaml .Values.esLookback.extraEnv | nindent 14 }}
{{- end }}
resources:
{{- toYaml .Values.esLookback.resources | nindent 14 }}
volumeMounts:
{{- range .Values.esLookback.extraConfigmapMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- range .Values.esLookback.extraSecretMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
mountPath: {{ .Values.storage.elasticsearch.tls.mountPath }}
subPath: {{ .Values.storage.elasticsearch.tls.subPath }}
readOnly: true
{{- end }}
volumes:
{{- range .Values.esLookback.extraConfigmapMounts }}
- name: {{ .name }}
configMap:
name: {{ .configMap }}
{{- end }}
{{- range .Values.esLookback.extraSecretMounts }}
- name: {{ .name }}
secret:
secretName: {{ .secretName }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
secret:
secretName: {{ .Values.storage.elasticsearch.tls.secretName }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,14 @@
{{- if and .Values.esLookback.enabled .Values.esLookback.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "jaeger.esLookback.serviceAccountName" . }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: es-lookback
{{- with .Values.esLookback.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.esLookback.serviceAccount.automountServiceAccountToken }}
{{- end -}}

View File

@ -0,0 +1,110 @@
{{- if .Values.esRollover.enabled -}}
apiVersion: {{ include "common.capabilities.cronjob.apiVersion" $ }}
kind: CronJob
metadata:
name: {{ include "jaeger.fullname" . }}-es-rollover
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: es-rollover
{{- if .Values.esRollover.annotations }}
annotations:
{{- toYaml .Values.esRollover.annotations | nindent 4 }}
{{- end }}
spec:
concurrencyPolicy: {{ .Values.esRollover.concurrencyPolicy }}
schedule: {{ .Values.esRollover.schedule | quote }}
successfulJobsHistoryLimit: {{ .Values.esRollover.successfulJobsHistoryLimit }}
failedJobsHistoryLimit: {{ .Values.esRollover.failedJobsHistoryLimit }}
suspend: false
jobTemplate:
spec:
{{- if .Values.esRollover.activeDeadlineSeconds }}
activeDeadlineSeconds: {{ .Values.esRollover.activeDeadlineSeconds }}
{{- end }}
{{- if .Values.esRollover.ttlSecondsAfterFinished }}
ttlSecondsAfterFinished: {{ .Values.esRollover.ttlSecondsAfterFinished }}
{{- end }}
template:
metadata:
{{- if .Values.esRollover.podAnnotations }}
annotations:
{{- toYaml .Values.esRollover.podAnnotations | nindent 12 }}
{{- end }}
labels:
{{- include "jaeger.selectorLabels" . | nindent 12 }}
app.kubernetes.io/component: es-rollover
{{- if .Values.esRollover.podLabels }}
{{- toYaml .Values.esRollover.podLabels | nindent 12 }}
{{- end }}
spec:
serviceAccountName: {{ template "jaeger.esRollover.serviceAccountName" . }}
{{- include "esRollover.imagePullSecrets" . | nindent 10 }}
securityContext:
{{- toYaml .Values.esRollover.podSecurityContext | nindent 12 }}
restartPolicy: OnFailure
{{- with .Values.esRollover.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.esRollover.affinity }}
affinity:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.esRollover.tolerations }}
tolerations:
{{- toYaml . | nindent 12 }}
{{- end }}
containers:
- name: {{ include "jaeger.fullname" . }}-es-rollover
securityContext:
{{- toYaml .Values.esRollover.securityContext | nindent 14 }}
image: {{ include "esRollover.image" . }}
imagePullPolicy: {{ .Values.esRollover.image.pullPolicy }}
args:
- rollover
- {{ include "elasticsearch.client.url" . }}
{{ include "extra.cmdArgs" ( dict "cmdlineParams" .Values.esRollover.cmdlineParams ) | nindent 14 }}
env:
{{ include "elasticsearch.env" . | nindent 14 }}
{{- if .Values.esRollover.extraEnv }}
{{- toYaml .Values.esRollover.extraEnv | nindent 14 }}
{{- end }}
resources:
{{- toYaml .Values.esRollover.resources | nindent 14 }}
volumeMounts:
{{- range .Values.esRollover.extraConfigmapMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- range .Values.esRollover.extraSecretMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
mountPath: {{ .Values.storage.elasticsearch.tls.mountPath }}
subPath: {{ .Values.storage.elasticsearch.tls.subPath }}
readOnly: true
{{- end }}
volumes:
{{- range .Values.esRollover.extraConfigmapMounts }}
- name: {{ .name }}
configMap:
name: {{ .configMap }}
{{- end }}
{{- range .Values.esRollover.extraSecretMounts }}
- name: {{ .name }}
secret:
secretName: {{ .secretName }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
secret:
secretName: {{ .Values.storage.elasticsearch.tls.secretName }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,99 @@
{{- if .Values.esRollover.enabled -}}
apiVersion: batch/v1
kind: Job
metadata:
name: {{ include "jaeger.fullname" . }}-es-rollover-init
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: es-rollover-init
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
{{- if .Values.esRollover.initHook.annotations }}
{{- toYaml .Values.esRollover.initHook.annotations | nindent 4 }}
{{- end }}
spec:
{{- if .Values.esRollover.initHook.activeDeadlineSeconds }}
activeDeadlineSeconds: {{ .Values.esRollover.initHook.activeDeadlineSeconds }}
{{- end }}
{{- with .Values.esRollover.initHook.ttlSecondsAfterFinished }}
ttlSecondsAfterFinished: {{ . }}
{{- end }}
template:
metadata:
{{- with .Values.esRollover.initHook.podAnnotations }}
annotations: {{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "jaeger.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: es-rollover-init
{{- if .Values.esRollover.initHook.podLabels }}
{{- toYaml .Values.esRollover.initHook.podLabels | nindent 10 }}
{{- end }}
spec:
serviceAccountName: {{ template "jaeger.esRollover.serviceAccountName" . }}
{{- include "esRollover.imagePullSecrets" . | nindent 6 }}
securityContext: {{- toYaml .Values.esRollover.podSecurityContext | nindent 8 }}
restartPolicy: OnFailure
{{- with .Values.esRollover.nodeSelector }}
nodeSelector: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.esRollover.affinity }}
affinity: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.esRollover.tolerations }}
tolerations: {{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "jaeger.fullname" . }}-es-rollover-init
securityContext: {{- toYaml .Values.esRollover.securityContext | nindent 12 }}
image: {{ include "esRollover.image" . }}
imagePullPolicy: {{ .Values.esRollover.image.pullPolicy }}
args:
- init
- {{ include "elasticsearch.client.url" . }}
{{ include "extra.cmdArgs" ( dict "cmdlineParams" .Values.esRollover.cmdlineParams ) | nindent 12 }}
env:
{{ include "elasticsearch.env" . | nindent 12 }}
{{- with .Values.esRollover.initHook.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
resources: {{- toYaml .Values.esRollover.resources | nindent 12 }}
volumeMounts:
{{- range .Values.esRollover.extraConfigmapMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- range .Values.esRollover.extraSecretMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
mountPath: {{ .Values.storage.elasticsearch.tls.mountPath }}
subPath: {{ .Values.storage.elasticsearch.tls.subPath }}
readOnly: true
{{- end }}
volumes:
{{- range .Values.esRollover.extraConfigmapMounts }}
- name: {{ .name }}
configMap:
name: {{ .configMap }}
{{- end }}
{{- range .Values.esRollover.extraSecretMounts }}
- name: {{ .name }}
secret:
secretName: {{ .secretName }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
secret:
secretName: {{ .Values.storage.elasticsearch.tls.secretName }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,15 @@
{{- if and .Values.esRollover.enabled .Values.esRollover.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "jaeger.esRollover.serviceAccountName" . }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: es-index-rollover
annotations:
"helm.sh/hook": pre-install,pre-upgrade
# Must be created before the rollover init hook
"helm.sh/hook-weight": "-10"
"helm.sh/hook-delete-policy": before-hook-creation
automountServiceAccountToken: {{ .Values.esRollover.serviceAccount.automountServiceAccountToken }}
{{- end -}}

View File

@ -0,0 +1,4 @@
{{- range .Values.extraObjects }}
---
{{ tpl (. | toYaml) $ }}
{{- end }}

View File

@ -19,19 +19,28 @@ spec:
app.kubernetes.io/component: hotrod
spec:
securityContext:
{{ toYaml .Values.hotrod.podSecurityContext | indent 8 }}
{{- toYaml .Values.hotrod.podSecurityContext | nindent 8 }}
serviceAccountName: {{ template "jaeger.hotrod.serviceAccountName" . }}
{{- include "hotrod.imagePullSecrets" . | nindent 6 }}
containers:
- name: {{ include "jaeger.fullname" . }}-hotrod
securityContext:
{{ toYaml .Values.hotrod.securityContext | indent 12 }}
image: {{ .Values.hotrod.image.repository }}:{{ .Values.tag }}
{{- toYaml .Values.hotrod.securityContext | nindent 12 }}
image: {{ include "hotrod.image" . }}
imagePullPolicy: {{ .Values.hotrod.image.pullPolicy }}
args:
{{- toYaml .Values.hotrod.args | nindent 12 }}
{{- with .Values.hotrod.extraArgs }}
{{- toYaml . | nindent 12 }}
{{- end }}
env:
- name: JAEGER_AGENT_HOST
value: {{ template "jaeger.hotrod.tracing.host" . }}
- name: JAEGER_AGENT_PORT
value: {{ .Values.hotrod.tracing.port | quote }}
{{- if .Values.hotrod.extraEnv }}
{{- toYaml .Values.hotrod.extraEnv | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: 8080
@ -45,7 +54,7 @@ spec:
path: /
port: http
resources:
{{ toYaml .Values.hotrod.resources | indent 12 }}
{{- toYaml .Values.hotrod.resources | nindent 12 }}
{{- with .Values.hotrod.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View File

@ -1,8 +1,9 @@
{{- if .Values.hotrod.enabled -}}
{{- if .Values.hotrod.ingress.enabled -}}
{{- $ingressSupportsIngressClassName := eq (include "common.ingress.supportsIngressClassname" .) "true" }}
{{- $serviceName := include "jaeger.fullname" . -}}
{{- $servicePort := .Values.hotrod.service.port -}}
apiVersion: extensions/v1beta1
apiVersion: {{ include "common.capabilities.ingress.apiVersion" $ }}
kind: Ingress
metadata:
name: {{ include "jaeger.fullname" . }}-hotrod
@ -11,22 +12,24 @@ metadata:
app.kubernetes.io/component: hotrod
{{- if .Values.hotrod.ingress.annotations }}
annotations:
{{ toYaml .Values.hotrod.ingress.annotations | indent 4 }}
{{- toYaml .Values.hotrod.ingress.annotations | nindent 4 }}
{{- end }}
spec:
{{- if and $ingressSupportsIngressClassName .Values.hotrod.ingress.ingressClassName }}
ingressClassName: {{ .Values.hotrod.ingress.ingressClassName }}
{{- end }}
rules:
{{- range $host := .Values.hotrod.ingress.hosts }}
- host: {{ $host }}
- host: {{ $host | quote}}
http:
paths:
- path: /
backend:
serviceName: {{ $serviceName }}-hotrod
servicePort: {{ $servicePort }}
pathType: {{ default "ImplementationSpecific" $.Values.hotrod.ingress.pathType }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (printf "%s-hotrod" $serviceName) "servicePort" $servicePort "context" $) | nindent 14 }}
{{- end -}}
{{- if .Values.hotrod.ingress.tls }}
tls:
{{ toYaml .Values.hotrod.ingress.tls | indent 4 }}
{{- toYaml .Values.hotrod.ingress.tls | nindent 4 }}
{{- end -}}
{{- end -}}
{{- end -}}

View File

@ -6,4 +6,9 @@ metadata:
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: hotrod
{{- with .Values.hotrod.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.hotrod.serviceAccount.automountServiceAccountToken }}
{{- end -}}

View File

@ -8,7 +8,7 @@ metadata:
app.kubernetes.io/component: hotrod
{{- if .Values.hotrod.service.annotations }}
annotations:
{{ toYaml .Values.hotrod.service.annotations | indent 4 }}
{{- toYaml .Values.hotrod.service.annotations | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.hotrod.service.type }}

View File

@ -8,7 +8,7 @@ metadata:
app.kubernetes.io/component: ingester
{{- if .Values.ingester.annotations }}
annotations:
{{ toYaml .Values.ingester.annotations | indent 4 }}
{{- toYaml .Values.ingester.annotations | nindent 4 }}
{{- end }}
spec:
{{- if not .Values.ingester.autoscaling.enabled }}
@ -18,92 +18,73 @@ spec:
matchLabels:
{{- include "jaeger.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: ingester
strategy:
type: Recreate
template:
metadata:
annotations:
{{- if .Values.ingester.podAnnotations }}
{{ toYaml .Values.ingester.podAnnotations | indent 8 }}
{{- toYaml .Values.ingester.podAnnotations | nindent 8 }}
{{- end }}
labels:
{{- include "jaeger.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: ingester
{{- if .Values.ingester.podLabels }}
{{ toYaml .Values.ingester.podLabels | indent 8 }}
{{- toYaml .Values.ingester.podLabels | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ include "jaeger.ingester.serviceAccountName" . }}
securityContext:
{{ toYaml .Values.ingester.podSecurityContext | indent 8 }}
{{- toYaml .Values.ingester.podSecurityContext | nindent 8 }}
{{- include "ingester.imagePullSecrets" . | nindent 6 }}
{{- with .Values.ingester.nodeSelector }}
nodeSelector:
{{ toYaml .Values.ingester.nodeSelector | indent 8 }}
{{- if .Values.ingester.tolerations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.ingester.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.ingester.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.ingester.tolerations }}
tolerations:
{{ toYaml .Values.ingester.tolerations | indent 8 }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.ingester.initContainers }}
initContainers:
{{- toYaml .Values.ingester.initContainers | nindent 8 }}
{{- end}}
containers:
- name: {{ include "jaeger.fullname" . }}-ingester
securityContext:
{{ toYaml .Values.ingester.securityContext | indent 10 }}
image: {{ .Values.ingester.image }}:{{ .Values.tag }}
imagePullPolicy: {{ .Values.ingester.pullPolicy }}
{{- toYaml .Values.ingester.securityContext | nindent 10 }}
image: {{ include "ingester.image" . }}
imagePullPolicy: {{ .Values.ingester.image.pullPolicy }}
args:
{{ include "extra.cmdArgs" ( dict "cmdlineParams" .Values.ingester.cmdlineParams ) | nindent 10 }}
{{- include "storage.cmdArgs" . | nindent 10 }}
env:
{{- range $key, $value := .Values.ingester.cmdlineParams }}
- name: {{ $key | replace "." "_" | replace "-" "_" | upper | quote }}
value: {{ $value | quote }}
{{- if .Values.ingester.extraEnv }}
{{- toYaml .Values.ingester.extraEnv | nindent 10 }}
{{- end }}
- name: SPAN_STORAGE_TYPE
value: {{ .Values.storage.type }}
{{- include "storage.env" . | nindent 10 }}
{{ if .Values.storage.kafka.brokers }}
- name: KAFKA_CONSUMER_BROKERS
value: {{ include "helm-toolkit.utils.joinListWithComma" .Values.storage.kafka.brokers }}
value: {{ tpl (include "helm-toolkit.utils.joinListWithComma" .Values.storage.kafka.brokers) . }}
{{- end }}
{{ if .Values.storage.kafka.topic }}
- name: KAFKA_CONSUMER_TOPIC
value: {{ .Values.storage.kafka.topic }}
{{- if eq .Values.storage.type "cassandra" }}
- name: CASSANDRA_SERVERS
value: {{ .Values.storage.cassandra.host | quote }}
- name: CASSANDRA_PORT
value: {{ .Values.storage.cassandra.port | quote }}
{{ if .Values.storage.cassandra.tls.enabled }}
- name: CASSANDRA_TLS
value: "true"
- name: CASSANDRA_TLS_SERVER_NAME
valueFrom:
secretKeyRef:
name: {{ .Values.storage.cassandra.tls.secretName }}
key: commonName
- name: CASSANDRA_TLS_KEY
value: "/cassandra-tls/client-key.pem"
- name: CASSANDRA_TLS_CERT
value: "/cassandra-tls/client-cert.pem"
- name: CASSANDRA_TLS_CA
value: "/cassandra-tls/ca-cert.pem"
{{- end }}
- name: CASSANDRA_KEYSPACE
value: {{ .Values.storage.cassandra.keyspace | quote }}
- name: CASSANDRA_USERNAME
value: {{ .Values.storage.cassandra.user }}
- name: CASSANDRA_PASSWORD
valueFrom:
secretKeyRef:
name: {{ if .Values.storage.cassandra.existingSecret }}{{ .Values.storage.cassandra.existingSecret }}{{- else }}{{ include "jaeger.fullname" . }}-cassandra{{- end }}
key: password
{{- end }}
{{- if eq .Values.storage.type "elasticsearch" }}
{{- if .Values.storage.elasticsearch.usePassword }}
- name: ES_PASSWORD
valueFrom:
secretKeyRef:
name: {{ if .Values.storage.elasticsearch.existingSecret }}{{ .Values.storage.elasticsearch.existingSecret }}{{- else }}{{ include "jaeger.fullname" . }}-elasticsearch{{- end }}
key: password
{{- end }}
- name: ES_SERVER_URLS
value: {{ template "elasticsearch.client.url" . }}
- name: ES_USERNAME
value: {{ .Values.storage.elasticsearch.user }}
{{- if .Values.storage.elasticsearch.indexPrefix }}
- name: ES_INDEX_PREFIX
value: {{ .Values.storage.elasticsearch.indexPrefix }}
{{ if .Values.storage.kafka.authentication }}
- name: KAFKA_CONSUMER_AUTHENTICATION
value: {{ .Values.storage.kafka.authentication }}
{{- end }}
{{- with .Values.ingester.envFrom }}
envFrom: {{- toYaml . | nindent 10 }}
{{- end }}
ports:
- containerPort: 14270
@ -118,7 +99,7 @@ spec:
path: /
port: admin
resources:
{{ toYaml .Values.ingester.resources | indent 10 }}
{{- toYaml .Values.ingester.resources | nindent 10 }}
volumeMounts:
{{- range .Values.ingester.extraConfigmapMounts }}
- name: {{ .name }}
@ -159,4 +140,9 @@ spec:
secret:
secretName: {{ .secretName }}
{{- end }}
{{- if .Values.storage.cassandra.tls.enabled }}
- name: {{ .Values.storage.cassandra.tls.secretName }}
secret:
secretName: {{ .Values.storage.cassandra.tls.secretName }}
{{- end }}
{{- end -}}

View File

@ -1,5 +1,5 @@
{{- if .Values.ingester.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
{{- if and .Values.ingester.enabled .Values.ingester.autoscaling.enabled }}
apiVersion: {{ include "common.capabilities.hpa.apiVersion" ( dict "context" $ ) }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ template "jaeger.ingester.name" . }}
@ -8,20 +8,36 @@ metadata:
app.kubernetes.io/component: ingester
spec:
scaleTargetRef:
apiVersion: apps/v1
apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
kind: Deployment
name: {{ template "jaeger.ingester.name" . }}
minReplicas: {{ .Values.ingester.autoscaling.minReplicas }}
maxReplicas: {{ .Values.ingester.autoscaling.maxReplicas }}
metrics:
- type: Resource
resource:
name: cpu
targetAverageUtilization: {{ .Values.ingester.autoscaling.targetCPUUtilizationPercentage | default 80 }}
{{- if .Values.ingester.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
{{- if eq "autoscaling/v2" (include "common.capabilities.hpa.apiVersion" ( dict "context" $ )) }}
target:
averageUtilization: {{ .Values.ingester.autoscaling.targetMemoryUtilizationPercentage }}
type: Utilization
{{- else }}
targetAverageUtilization: {{ .Values.ingester.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- end }}
- type: Resource
resource:
name: cpu
{{- if eq "autoscaling/v2" (include "common.capabilities.hpa.apiVersion" ( dict "context" $ )) }}
target:
averageUtilization: {{ .Values.ingester.autoscaling.targetCPUUtilizationPercentage | default 80 }}
type: Utilization
{{- else }}
targetAverageUtilization: {{ .Values.ingester.autoscaling.targetCPUUtilizationPercentage | default 80 }}
{{- end }}
{{- with .Values.ingester.autoscaling.behavior }}
behavior:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View File

@ -6,4 +6,9 @@ metadata:
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: ingester
{{- with .Values.ingester.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.ingester.serviceAccount.automountServiceAccountToken }}
{{- end -}}

View File

@ -0,0 +1,44 @@
{{- if and (.Values.ingester.enabled) (.Values.ingester.serviceMonitor.enabled)}}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ template "jaeger.ingester.name" . }}
{{- if .Values.ingester.serviceMonitor.namespace }}
namespace: {{ .Values.ingester.serviceMonitor.namespace }}
{{- end }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: ingester
{{- if .Values.ingester.serviceMonitor.additionalLabels }}
{{- toYaml .Values.ingester.serviceMonitor.additionalLabels | nindent 4 }}
{{- end }}
{{- if .Values.ingester.serviceMonitor.annotations }}
annotations:
{{- toYaml .Values.ingester.serviceMonitor.annotations | nindent 4 }}
{{- end }}
spec:
endpoints:
- port: admin
path: /metrics
{{- if .Values.ingester.serviceMonitor.interval }}
interval: {{ .Values.ingester.serviceMonitor.interval }}
{{- end }}
{{- if .Values.ingester.serviceMonitor.scrapeTimeout }}
scrapeTimeout: {{ .Values.ingester.serviceMonitor.scrapeTimeout }}
{{- end }}
{{- if .Values.ingester.serviceMonitor.relabelings }}
relabelings:
{{- toYaml .Values.ingester.serviceMonitor.relabelings | nindent 8 }}
{{- end }}
{{- if .Values.ingester.serviceMonitor.metricRelabelings }}
metricRelabelings:
{{- toYaml .Values.ingester.serviceMonitor.metricRelabelings | nindent 8 }}
{{- end }}
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
selector:
matchLabels:
app.kubernetes.io/component: ingester
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

View File

@ -0,0 +1,23 @@
{{- if .Values.ingester.enabled -}}
apiVersion: v1
kind: Service
metadata:
name: {{ template "jaeger.ingester.name" . }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: ingester
{{- if .Values.ingester.service.annotations }}
annotations:
{{- toYaml .Values.ingester.service.annotations | nindent 4 }}
{{- end }}
spec:
ports:
- name: admin
port: 14270
targetPort: admin
selector:
{{- include "jaeger.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: ingester
type: {{ .Values.ingester.service.type }}
{{- template "loadBalancerSourceRanges" .Values.ingester }}
{{- end -}}

View File

@ -0,0 +1,12 @@
{{- if and .Values.query.oAuthSidecar.enabled .Values.query.oAuthSidecar.config}}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "jaeger.fullname" . }}-oauth-configuration
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: query
data:
oauth2-proxy.cfg: |-
{{ tpl .Values.query.oAuthSidecar.config . | indent 4 }}
{{- end }}

View File

@ -0,0 +1,12 @@
{{- if .Values.query.config }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "jaeger.fullname" . }}-ui-configuration
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: query
data:
query-ui-config.json: |-
{{ tpl .Values.query.config . | indent 4 }}
{{- end }}

View File

@ -8,7 +8,7 @@ metadata:
app.kubernetes.io/component: query
{{- if .Values.query.annotations }}
annotations:
{{ toYaml .Values.query.annotations | indent 4 }}
{{- toYaml .Values.query.annotations | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.query.replicaCount }}
@ -16,102 +16,101 @@ spec:
matchLabels:
{{- include "jaeger.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: query
strategy:
type: Recreate
template:
metadata:
{{- if .Values.query.podAnnotations }}
{{- if or .Values.query.config .Values.query.podAnnotations }}
annotations:
{{ toYaml .Values.query.podAnnotations | indent 8 }}
{{- if .Values.query.config }}
checksum/ui-config: {{ include (print $.Template.BasePath "/query-configmap.yaml") . | sha256sum }}
{{- end }}
{{- if and .Values.query.oAuthSidecar.enabled .Values.query.oAuthSidecar.config }}
checksum/oauth2-config: {{ sha256sum .Values.query.oAuthSidecar.config }}
{{- end }}
{{- if .Values.query.podAnnotations }}
{{- toYaml .Values.query.podAnnotations | nindent 8 }}
{{- end }}
{{- end }}
labels:
{{- include "jaeger.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: query
{{- if .Values.query.podLabels }}
{{ toYaml .Values.query.podLabels | indent 8 }}
{{- toYaml .Values.query.podLabels | nindent 8 }}
{{- end }}
spec:
{{- with .Values.query.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
securityContext:
{{ toYaml .Values.query.podSecurityContext | indent 8 }}
{{- toYaml .Values.query.podSecurityContext | nindent 8 }}
serviceAccountName: {{ template "jaeger.query.serviceAccountName" . }}
{{- include "query.imagePullSecrets" . | nindent 6 }}
{{- if or .Values.query.initContainers .Values.provisionDataStore.elasticsearch }}
initContainers:
{{- if .Values.query.initContainers }}
{{- toYaml .Values.query.initContainers | nindent 8 }}
{{- end }}
{{- if .Values.provisionDataStore.elasticsearch }}
- name: elasticsearch-checker
image: {{ include "curl.image" . }}
command:
- sh
- "-c"
- |
url="{{ include "elasticsearch.client.url" . }}"
until [ "$(curl -s -o /dev/null -w '%{http_code}' "$url/_cluster/health")" = "200" ]; do
echo "waiting for Elasticsearch at $url"
sleep 5
done
{{- end }}
{{- end }}
containers:
- name: {{ template "jaeger.query.name" . }}
securityContext:
{{ toYaml .Values.query.securityContext | indent 10 }}
image: {{ .Values.query.image }}:{{ .Values.tag }}
imagePullPolicy: {{ .Values.query.pullPolicy }}
{{- toYaml .Values.query.securityContext | nindent 10 }}
image: {{ include "query.image" . }}
imagePullPolicy: {{ .Values.query.image.pullPolicy }}
args:
{{ include "extra.cmdArgs" ( dict "cmdlineParams" .Values.query.cmdlineParams ) | nindent 10 }}
{{- include "storage.cmdArgs" . | nindent 10 }}
env:
{{- range $key, $value := .Values.query.cmdlineParams }}
- name: {{ $key | replace "." "_" | replace "-" "_" | upper | quote }}
value: {{ $value | quote }}
{{- if .Values.query.extraEnv }}
{{- toYaml .Values.query.extraEnv | nindent 10 }}
{{- end }}
- name: SPAN_STORAGE_TYPE
value: {{ .Values.storage.type }}
{{- if eq .Values.storage.type "cassandra" }}
- name: CASSANDRA_SERVERS
value: {{ template "cassandra.host" . }}
- name: CASSANDRA_PORT
value: {{ .Values.storage.cassandra.port | quote }}
{{ if .Values.storage.cassandra.tls.enabled }}
- name: CASSANDRA_TLS
value: "true"
- name: CASSANDRA_TLS_SERVER_NAME
valueFrom:
secretKeyRef:
name: {{ .Values.storage.cassandra.tls.secretName }}
key: commonName
- name: CASSANDRA_TLS_KEY
value: "/cassandra-tls/client-key.pem"
- name: CASSANDRA_TLS_CERT
value: "/cassandra-tls/client-cert.pem"
- name: CASSANDRA_TLS_CA
value: "/cassandra-tls/ca-cert.pem"
{{- end }}
{{- if .Values.storage.cassandra.keyspace }}
- name: CASSANDRA_KEYSPACE
value: {{ .Values.storage.cassandra.keyspace | quote }}
{{- end }}
- name: CASSANDRA_USERNAME
value: {{ .Values.storage.cassandra.user }}
- name: CASSANDRA_PASSWORD
valueFrom:
secretKeyRef:
name: {{ if .Values.storage.cassandra.existingSecret }}{{ .Values.storage.cassandra.existingSecret }}{{- else }}{{ include "jaeger.fullname" . }}-cassandra{{- end }}
key: password
{{- end }}
{{- if eq .Values.storage.type "elasticsearch" }}
{{- if .Values.storage.elasticsearch.usePassword }}
- name: ES_PASSWORD
valueFrom:
secretKeyRef:
name: {{ if .Values.storage.elasticsearch.existingSecret }}{{ .Values.storage.elasticsearch.existingSecret }}{{- else }}{{ include "jaeger.fullname" . }}-elasticsearch{{- end }}
key: password
{{- end }}
- name: ES_SERVER_URLS
value: {{ template "elasticsearch.client.url" . }}
- name: ES_USERNAME
value: {{ .Values.storage.elasticsearch.user }}
{{- if .Values.storage.elasticsearch.indexPrefix }}
- name: ES_INDEX_PREFIX
value: {{ .Values.storage.elasticsearch.indexPrefix }}
{{- end }}
{{- end }}
{{- include "storage.env" . | nindent 10 }}
{{- if .Values.query.basePath }}
- name: QUERY_BASE_PATH
value: {{ .Values.query.basePath | quote }}
{{- end }}
- name: JAEGER_AGENT_PORT
value: "6831"
{{- if .Values.query.config}}
- name: QUERY_UI_CONFIG
value: /etc/conf/query-ui-config.json
{{- end }}
{{- with .Values.query.envFrom }}
envFrom: {{- toYaml . | nindent 10 }}
{{- end }}
ports:
- name: query
containerPort: 16686
protocol: TCP
- name: grpc
containerPort: 16685
protocol: TCP
- name: admin
containerPort: 16687
protocol: TCP
resources:
{{ toYaml .Values.query.resources | indent 10 }}
{{- toYaml .Values.query.resources | nindent 10 }}
volumeMounts:
{{- range .Values.query.extraSecretMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- range .Values.query.extraConfigmapMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
@ -132,6 +131,16 @@ spec:
subPath: "client-key.pem"
readOnly: true
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
mountPath: {{ .Values.storage.elasticsearch.tls.mountPath }}
subPath: {{ .Values.storage.elasticsearch.tls.subPath }}
readOnly: true
{{- end }}
{{- if .Values.query.config}}
- name: ui-configuration
mountPath: /etc/conf/
{{- end }}
livenessProbe:
httpGet:
path: /
@ -140,25 +149,76 @@ spec:
httpGet:
path: /
port: admin
{{- if .Values.query.oAuthSidecar.enabled }}
- name: {{ template "jaeger.agent.name" . }}-oauth2-sidecar
securityContext:
{{- toYaml .Values.query.securityContext | nindent 10 }}
image: {{ include "oAuthSidecar.image" . }}
imagePullPolicy: {{ .Values.query.oAuthSidecar.image.pullPolicy }}
args:
{{- range .Values.query.oAuthSidecar.args }}
- {{ . }}
{{- end }}
{{- if .Values.query.oAuthSidecar.extraEnv }}
env:
{{- toYaml .Values.query.oAuthSidecar.extraEnv | nindent 10 }}
{{- end }}
volumeMounts:
{{- range .Values.query.oAuthSidecar.extraConfigmapMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- range .Values.query.oAuthSidecar.extraSecretMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- if .Values.query.oAuthSidecar.config}}
- name: jaeger-oauth-configuration
mountPath: /etc/oauth2-proxy
{{- end }}
ports:
- containerPort: {{ .Values.query.oAuthSidecar.containerPort }}
name: oauth-proxy
resources:
{{- toYaml .Values.query.oAuthSidecar.resources | nindent 10 }}
{{- if .Values.query.oAuthSidecar.livenessProbe }}
livenessProbe:
{{- toYaml .Values.query.oAuthSidecar.livenessProbe | nindent 10 }}
{{- end }}
{{- if .Values.query.oAuthSidecar.readinessProbe }}
readinessProbe:
{{- toYaml .Values.query.oAuthSidecar.readinessProbe | nindent 10 }}
{{- end }}
{{- end }}
{{- if .Values.query.agentSidecar.enabled }}
- name: {{ template "jaeger.agent.name" . }}-sidecar
securityContext:
{{ toYaml .Values.query.securityContext | indent 10 }}
image: {{ .Values.agent.image }}:{{ .Values.tag }}
imagePullPolicy: {{ .Values.agent.pullPolicy }}
{{- toYaml .Values.query.securityContext | nindent 10 }}
image: {{ include "agent.image" . }}
imagePullPolicy: {{ .Values.agent.image.pullPolicy }}
args:
{{- range $key, $value := .Values.agent.cmdlineParams }}
{{- if $value }}
- --{{ $key }}={{ $value }}
{{- else }}
- --{{ $key }}
{{- end }}
{{- end }}
env:
{{- if not (hasKey .Values.agent.cmdlineParams "reporter.grpc.host-port") }}
- name: REPORTER_GRPC_HOST_PORT
value: {{ include "jaeger.collector.name" . }}:{{ .Values.collector.service.grpcPort }}
{{- end }}
{{- range $key, $value := .Values.agent.cmdlineParams }}
- name: {{ $key | replace "." "_" | replace "-" "_" | upper | quote }}
value: {{ $value | quote }}
value: {{ include "jaeger.collector.name" . }}:{{ .Values.collector.service.grpc.port }}
{{- end }}
ports:
- name: admin
containerPort: 14271
protocol: TCP
resources:
{{- toYaml .Values.query.agentSidecar.resources | nindent 10 }}
volumeMounts:
{{- range .Values.agent.extraConfigmapMounts }}
- name: {{ .name }}
@ -180,6 +240,9 @@ spec:
httpGet:
path: /
port: admin
{{- end }}
{{- if .Values.query.sidecars }}
{{- tpl (toYaml .Values.query.sidecars) . | nindent 6 }}
{{- end }}
dnsPolicy: {{ .Values.query.dnsPolicy }}
restartPolicy: Always
@ -189,6 +252,44 @@ spec:
configMap:
name: {{ .configMap }}
{{- end }}
{{- range .Values.query.extraSecretMounts }}
- name: {{ .name }}
secret:
secretName: {{ .secretName }}
{{- end }}
{{- if .Values.query.config}}
- name: ui-configuration
configMap:
name: {{ include "jaeger.fullname" . }}-ui-configuration
{{- end }}
{{- if .Values.storage.cassandra.tls.enabled }}
- name: {{ .Values.storage.cassandra.tls.secretName }}
secret:
secretName: {{ .Values.storage.cassandra.tls.secretName }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
secret:
secretName: {{ .Values.storage.elasticsearch.tls.secretName }}
{{- end }}
{{- if .Values.query.oAuthSidecar.enabled }}
{{- range .Values.query.oAuthSidecar.extraConfigmapMounts }}
- name: {{ .name }}
configMap:
name: {{ .configMap }}
{{- end }}
{{- range .Values.query.oAuthSidecar.extraSecretMounts }}
- name: {{ .name }}
secret:
secretName: {{ .secretName }}
{{- end }}
{{- if .Values.query.oAuthSidecar.config }}
- name: jaeger-oauth-configuration
configMap:
name: {{ include "jaeger.fullname" . }}-oauth-configuration
{{- end }}
{{- end }}
{{- if .Values.query.agentSidecar.enabled }}
{{- range .Values.agent.extraSecretMounts }}
- name: {{ .name }}
secret:
@ -199,6 +300,10 @@ spec:
configMap:
name: {{ .configMap }}
{{- end }}
{{- end }}
{{- if .Values.query.extraVolumes }}
{{- tpl (toYaml .Values.query.extraVolumes) . | nindent 8 }}
{{- end }}
{{- with .Values.query.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
@ -207,6 +312,10 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.query.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.query.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}

View File

@ -1,30 +1,41 @@
{{- if .Values.query.ingress.enabled -}}
{{- $ingressSupportsIngressClassName := eq (include "common.ingress.supportsIngressClassname" .) "true" }}
{{- $servicePort := .Values.query.service.port -}}
{{- $basePath := .Values.query.basePath -}}
apiVersion: extensions/v1beta1
apiVersion: {{ include "common.capabilities.ingress.apiVersion" $ }}
kind: Ingress
metadata:
name: {{ template "jaeger.query.name" . }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
{{- if .Values.query.ingress.labels }}
{{- toYaml .Values.query.ingress.labels | nindent 4 }}
{{- end }}
app.kubernetes.io/component: query
{{- if .Values.query.ingress.annotations }}
annotations:
{{ toYaml .Values.query.ingress.annotations | indent 4 }}
{{- toYaml .Values.query.ingress.annotations | nindent 4 }}
{{- end }}
spec:
{{- if and $ingressSupportsIngressClassName .Values.query.ingress.ingressClassName }}
ingressClassName: {{ .Values.query.ingress.ingressClassName }}
{{- end }}
rules:
{{- range $host := .Values.query.ingress.hosts }}
- host: {{ $host }}
- host: {{ $host | quote }}
http:
paths:
- path: {{ $basePath }}
backend:
serviceName: {{ template "jaeger.query.name" $ }}
servicePort: {{ $servicePort }}
pathType: {{ default "ImplementationSpecific" $.Values.query.ingress.pathType }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "jaeger.query.name" $) "servicePort" $servicePort "context" $) | nindent 14 }}
{{- end -}}
{{- if .Values.query.ingress.health.exposed }}
- path: /health
pathType: {{ default "ImplementationSpecific" $.Values.query.ingress.pathType }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "jaeger.query.name" $) "servicePort" 16687 "context" $) | nindent 14 }}
{{- end -}}
{{- if .Values.query.ingress.tls }}
tls:
{{ toYaml .Values.query.ingress.tls | indent 4 }}
{{- toYaml .Values.query.ingress.tls | nindent 4 }}
{{- end -}}
{{- end -}}

View File

@ -0,0 +1,5 @@
{{- if and .Values.networkPolicy.enabled .Values.query.networkPolicy.enabled .Values.query.networkPolicy.egressRules }}
{{- $extraVals := dict "Name" (include "jaeger.query.name" .) "Component" "query" "ComponentValues" .Values.query -}}
{{- $npVals := merge $extraVals . -}}
{{ include "jaeger.egress.networkPolicy" $npVals }}
{{- end }}

View File

@ -0,0 +1,5 @@
{{- if and .Values.networkPolicy.enabled .Values.query.networkPolicy.enabled .Values.query.networkPolicy.ingressRules }}
{{- $extraVals := dict "Name" (include "jaeger.query.name" .) "Component" "query" "ComponentValues" .Values.query -}}
{{- $npVals := merge $extraVals . -}}
{{ include "jaeger.ingress.networkPolicy" $npVals }}
{{- end }}

View File

@ -6,4 +6,9 @@ metadata:
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: query
{{- with .Values.query.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.query.serviceAccount.automountServiceAccountToken }}
{{- end -}}

View File

@ -0,0 +1,44 @@
{{- if and (.Values.query.enabled) (.Values.query.serviceMonitor.enabled)}}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ template "jaeger.query.name" . }}
{{- if .Values.query.serviceMonitor.namespace }}
namespace: {{ .Values.query.serviceMonitor.namespace }}
{{- end }}
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: query
{{- if .Values.query.serviceMonitor.additionalLabels }}
{{- toYaml .Values.query.serviceMonitor.additionalLabels | nindent 4 }}
{{- end }}
{{- if .Values.query.serviceMonitor.annotations }}
annotations:
{{- toYaml .Values.query.serviceMonitor.annotations | nindent 4 }}
{{- end }}
spec:
endpoints:
- port: admin
path: /metrics
{{- if .Values.query.serviceMonitor.interval }}
interval: {{ .Values.query.serviceMonitor.interval }}
{{- end }}
{{- if .Values.query.serviceMonitor.scrapeTimeout }}
scrapeTimeout: {{ .Values.query.serviceMonitor.scrapeTimeout }}
{{- end }}
{{- if .Values.query.serviceMonitor.relabelings }}
relabelings:
{{- toYaml .Values.query.serviceMonitor.relabelings | nindent 8 }}
{{- end }}
{{- if .Values.query.serviceMonitor.metricRelabelings }}
metricRelabelings:
{{- toYaml .Values.query.serviceMonitor.metricRelabelings | nindent 8 }}
{{- end }}
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
selector:
matchLabels:
app.kubernetes.io/component: query
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

View File

@ -8,14 +8,25 @@ metadata:
app.kubernetes.io/component: query
{{- if .Values.query.service.annotations }}
annotations:
{{ toYaml .Values.query.service.annotations | indent 4 }}
{{- toYaml .Values.query.service.annotations | nindent 4 }}
{{- end }}
spec:
ports:
- name: query
port: {{ .Values.query.service.port }}
protocol: TCP
targetPort: query
targetPort: {{ default (ternary "oauth-proxy" "query" .Values.query.oAuthSidecar.enabled) .Values.query.service.targetPort }}
{{- if and (eq .Values.query.service.type "NodePort") (.Values.query.service.nodePort) }}
nodePort: {{ .Values.query.service.nodePort }}
{{- end }}
- name: grpc
port: 16685
protocol: TCP
targetPort: grpc
- name: {{ .Values.query.service.admin.name }}
port: 16687
protocol: TCP
targetPort: {{ .Values.query.service.admin.targetPort }}
selector:
{{- include "jaeger.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: query

View File

@ -1,5 +1,5 @@
{{- if .Values.spark.enabled -}}
apiVersion: batch/v1beta1
apiVersion: {{ include "common.capabilities.cronjob.apiVersion" $ }}
kind: CronJob
metadata:
name: {{ include "jaeger.fullname" . }}-spark
@ -8,67 +8,63 @@ metadata:
app.kubernetes.io/component: spark
{{- if .Values.spark.annotations }}
annotations:
{{ toYaml .Values.spark.annotations | indent 4 }}
{{- toYaml .Values.spark.annotations | nindent 4 }}
{{- end }}
spec:
schedule: {{ .Values.spark.schedule | quote }}
successfulJobsHistoryLimit: {{ .Values.spark.successfulJobsHistoryLimit }}
failedJobsHistoryLimit: {{ .Values.spark.failedJobsHistoryLimit }}
concurrencyPolicy: {{ .Values.spark.concurrencyPolicy }}
jobTemplate:
spec:
{{- if .Values.spark.activeDeadlineSeconds }}
activeDeadlineSeconds: {{ .Values.spark.activeDeadlineSeconds }}
{{- end}}
{{- if .Values.spark.ttlSecondsAfterFinished }}
ttlSecondsAfterFinished: {{ .Values.spark.ttlSecondsAfterFinished }}
{{- end }}
template:
metadata:
{{- if .Values.spark.podAnnotations }}
annotations:
{{- toYaml .Values.spark.podAnnotations | nindent 12 }}
{{- end }}
labels:
{{- include "jaeger.selectorLabels" . | nindent 12 }}
app.kubernetes.io/component: spark
{{- if .Values.spark.podLabels }}
{{ toYaml .Values.spark.podLabels | indent 12 }}
{{- toYaml .Values.spark.podLabels | nindent 12 }}
{{- end }}
spec:
serviceAccountName: {{ template "jaeger.spark.serviceAccountName" . }}
{{- include "spark.imagePullSecrets" . | nindent 10 }}
securityContext:
{{- toYaml .Values.spark.podSecurityContext | nindent 12 }}
containers:
- name: {{ include "jaeger.fullname" . }}-spark
image: {{ .Values.spark.image }}:{{ .Values.spark.tag }}
imagePullPolicy: {{ .Values.spark.pullPolicy }}
image: {{ include "spark.image" . }}
imagePullPolicy: {{ .Values.spark.image.pullPolicy }}
args:
{{ include "extra.cmdArgs" ( dict "cmdlineParams" .Values.spark.cmdlineParams ) | nindent 14 }}
env:
{{- range $key, $value := .Values.spark.cmdlineParams }}
- name: {{ $key | replace "." "_" | replace "-" "_" | upper | quote }}
value: {{ $value | quote }}
{{- end }}
- name: STORAGE
value: {{ .Values.storage.type }}
{{- include "storage.env" . | nindent 14 }}
{{- if .Values.spark.extraEnv }}
{{- toYaml .Values.spark.extraEnv | nindent 14 }}
{{- end }}
{{- if eq .Values.storage.type "cassandra" }}
- name: CASSANDRA_CONTACT_POINTS
value: {{ template "cassandra.contact_points" . }}
- name: CASSANDRA_KEYSPACE
value: {{ .Values.storage.cassandra.keyspace }}
{{- if .Values.storage.cassandra.usePassword }}
- name: CASSANDRA_PASSWORD
valueFrom:
secretKeyRef:
name: {{ if .Values.storage.cassandra.existingSecret }}{{ .Values.storage.cassandra.existingSecret }}{{- else }}{{ include "jaeger.fullname" . }}-cassandra{{- end }}
key: password
{{- end }}
- name: CASSANDRA_USERNAME
value: {{ .Values.storage.cassandra.user }}
value: {{ include "cassandra.contact_points" . }}
{{- end }}
{{- if eq .Values.storage.type "elasticsearch" }}
- name: ES_NODES
value: {{ template "elasticsearch.client.url" . }}
value: {{ include "elasticsearch.client.url" . }}
- name: ES_NODES_WAN_ONLY
value: {{ .Values.storage.elasticsearch.nodesWanOnly | quote }}
{{- if .Values.storage.elasticsearch.usePassword }}
- name: ES_PASSWORD
valueFrom:
secretKeyRef:
name: {{ if .Values.storage.elasticsearch.existingSecret }}{{ .Values.storage.elasticsearch.existingSecret }}{{- else }}{{ include "jaeger.fullname" . }}-elasticsearch{{- end }}
key: password
{{- end }}
- name: ES_USERNAME
value: {{ .Values.storage.elasticsearch.user }}
{{- end }}
resources:
{{ toYaml .Values.spark.resources | indent 14 }}
{{- toYaml .Values.spark.resources | nindent 14 }}
volumeMounts:
{{- range .Values.spark.extraConfigmapMounts }}
- name: {{ .name }}
@ -82,6 +78,8 @@ spec:
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
securityContext:
{{- toYaml .Values.spark.securityContext | nindent 14 }}
restartPolicy: OnFailure
volumes:
{{- range .Values.spark.extraConfigmapMounts }}

View File

@ -6,4 +6,9 @@ metadata:
labels:
{{- include "jaeger.labels" . | nindent 4 }}
app.kubernetes.io/component: spark
{{- with .Values.spark.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.spark.serviceAccount.automountServiceAccountToken }}
{{- end -}}

View File

@ -2,22 +2,109 @@
# This is a YAML-formatted file.
# Jaeger values are grouped by component. Cassandra values override subchart values
global:
imageRegistry:
provisionDataStore:
cassandra: true
elasticsearch: false
kafka: false
tag: 1.17.0
networkPolicy:
enabled: false
# Overrides the image tag where default is the chart appVersion.
tag: ""
nameOverride: ""
fullnameOverride: ""
allInOne:
enabled: false
replicas: 1
image:
registry: ""
repository: jaegertracing/all-in-one
tag: ""
digest: ""
pullPolicy: IfNotPresent
pullSecrets: []
extraEnv: []
extraSecretMounts:
[]
# - name: jaeger-tls
# mountPath: /tls
# subPath: ""
# secretName: jaeger-tls
# readOnly: true
# command line arguments / CLI flags
# See https://www.jaegertracing.io/docs/cli/
args: []
# samplingConfig: |-
# {
# "default_strategy": {
# "type": "probabilistic",
# "param": 1
# }
# }
serviceAccount:
annotations: {}
automountServiceAccountToken: true
service:
headless: true
collector:
otlp:
grpc:
name: otlp-grpc
http:
name: otlp-http
ingress:
enabled: false
# For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
# See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
# ingressClassName: nginx
annotations: {}
labels: {}
# Used to create an Ingress record.
# hosts:
# - chart-example.local
# annotations:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# labels:
# app: jaeger
# tls:
# # Secrets must be manually created in the namespace.
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
pathType:
# resources:
# limits:
# cpu: 500m
# memory: 512Mi
# requests:
# cpu: 256m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
topologySpreadContraints: []
podSecurityContext:
runAsUser: 10001
runAsGroup: 10001
fsGroup: 10001
securityContext: {}
storage:
# allowed values (cassandra, elasticsearch)
# allowed values (cassandra, elasticsearch, grpc-plugin, badger, memory)
type: cassandra
cassandra:
host: cassandra
port: 9042
# Change this value to false if you want to avoid starting the
# -cassandra-schema Job
schemaJobEnabled: true
tls:
enabled: false
secretName: cassandra-tls-secret
@ -27,21 +114,76 @@ storage:
keyspace: jaeger_v1_test
## Use existing secret (ignores previous password)
# existingSecret:
## Cassandra related env vars to be configured on the concerned components
extraEnv:
[]
# - name: CASSANDRA_SERVERS
# value: cassandra
# - name: CASSANDRA_PORT
# value: "9042"
# - name: CASSANDRA_KEYSPACE
# value: jaeger_v1_test
# - name: CASSANDRA_TLS_ENABLED
# value: "false"
## Cassandra related cmd line opts to be configured on the concerned components
cmdlineParams:
{}
# cassandra.servers: cassandra
# cassandra.port: 9042
# cassandra.keyspace: jaeger_v1_test
# cassandra.tls.enabled: "false"
elasticsearch:
scheme: http
host: elasticsearch-master
port: 9200
anonymous: false
user: elastic
usePassword: true
password: changeme
# indexPrefix: test
## Use existing secret (ignores previous password)
# existingSecret:
# existingSecretKey:
nodesWanOnly: false
extraEnv: []
## ES related env vars to be configured on the concerned components
# - name: ES_SERVER_URLS
# value: http://elasticsearch-master:9200
# - name: ES_USERNAME
# value: elastic
# - name: ES_INDEX_PREFIX
# value: test
## ES related cmd line opts to be configured on the concerned components
cmdlineParams:
{}
# es.server-urls: http://elasticsearch-master:9200
# es.username: elastic
# es.index-prefix: test
tls:
enabled: false
secretName: es-tls-secret
# The mount properties of the secret
mountPath: /es-tls/ca-cert.pem
subPath: ca-cert.pem
# How ES_TLS_CA variable will be set in the various components
ca: /es-tls/ca-cert.pem
kafka:
brokers:
- kafka:9092
topic: jaeger_v1_test
authentication: none
extraEnv: []
grpcPlugin:
extraEnv: []
badger:
ephemeral: true
persistence:
mountPath: /mnt/data
useExistingPvcName: ""
extraEnv: []
memory:
extraEnv: []
# Begin: Override values on the Cassandra subchart to customize for Jaeger
cassandra:
@ -58,26 +200,48 @@ cassandra:
# Begin: Override values on the Kafka subchart to customize for Jaeger
kafka:
replicas: 1
configurationOverrides:
"auto.create.topics.enable": true
zookeeper:
replicaCount: 1
listeners:
client:
protocol: PLAINTEXT
controller:
protocol: PLAINTEXT
interbroker:
protocol: PLAINTEXT
external:
protocol: PLAINTEXT
controller:
replicaCount: 3
extraConfig: |
auto.create.topics.enable=true
# Zookeeper has been deprecated by Kafka in favor of Kraft Mode: https://developer.confluent.io/learn/kraft/
# Documentation for upgrading Kafka and keeping Zookeeper: https://github.com/bitnami/charts/tree/main/bitnami/kafka#upgrading-from-zookeeper-mode
# Documentation for migrating away from Zookeeper to Kraft Mode: https://github.com/bitnami/charts/tree/main/bitnami/kafka#migrating-from-zookeeper-early-access
# zookeeper:
# enabled: false
# replicaCount: 1
# serviceAccount:
# create: true
# End: Override values on the Kafka subchart to customize for Jaeger
# Begin: Default values for the various components of Jaeger
# This chart has been based on the Kubernetes integration found in the following repo:
# https://github.com/jaegertracing/jaeger-kubernetes/blob/master/production/jaeger-production-template.yml
# https://github.com/jaegertracing/jaeger-kubernetes/blob/main/production/jaeger-production-template.yml
#
# This is the jaeger-cassandra-schema Job which sets up the Cassandra schema for
# use by Jaeger
schema:
annotations: {}
image: jaegertracing/jaeger-cassandra-schema
tolerations: []
image:
registry: ""
repository: jaegertracing/jaeger-cassandra-schema
tag: ""
digest: ""
pullPolicy: IfNotPresent
# Acceptable values are test and prod. Default is for production use.
mode: prod
resources: {}
pullSecrets: []
resources:
{}
# limits:
# cpu: 500m
# memory: 512Mi
@ -86,26 +250,78 @@ schema:
# memory: 128Mi
serviceAccount:
create: true
# Explicitly mounts the API credentials for the Service Account
automountServiceAccountToken: true
name:
## Additional pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podAnnotations: {}
podLabels: {}
securityContext: {}
podSecurityContext: {}
nodeSelector: {}
## Deadline for cassandra schema creation job
activeDeadlineSeconds: 300
# traceTtl: 172800
# dependenciesTtl: 0
extraEnv:
[]
# - name: MODE
# value: prod
# - name: TRACE_TTL
# value: "172800"
# - name: DEPENDENCIES_TTL
# value: "0"
# For configurable values of the elasticsearch if provisioned, please see:
# https://github.com/elastic/helm-charts/tree/master/elasticsearch#configuration
# https://github.com/bitnami/charts/tree/main/bitnami/elasticsearch
elasticsearch: {}
# Example that uses no auth:
# elasticsearch:
# fullnameOverride: "elasticsearch"
# image:
# registry: ""
# repository: docker.io/bitnami/elasticsearch
# tag: ""
# master:
# masterOnly: false
# replicaCount: 3
# extraEnvVars:
# - name: ES_JAVA_OPTS
# value: "-Xmx20g -Xms20g"
# persistence:
# enabled: true
# storageClass: managed-premium
# accessModes: [ "ReadWriteOnce" ]
# size: 100gb
# extraConfig:
# cluster.max_shards_per_node: 3000
# sysctlImage:
# registry: ""
# repository: docker.io/bitnami/os-shell
# tag: 12-debian-12-r18
# volumePermissions:
# enabled: true
# image:
# registry: ""
# repository: docker.io/bitnami/os-shell
# tag: 12-debian-12-r18
# data:
# replicaCount: 0
# coordinating:
# replicaCount: 0
# ingest:
# replicaCount: 0
ingester:
enabled: false
podSecurityContext: {}
securityContext: {}
annotations: {}
image: jaegertracing/jaeger-ingester
image:
registry: ""
repository: jaegertracing/jaeger-ingester
tag: ""
digest: ""
pullPolicy: IfNotPresent
pullSecrets: []
dnsPolicy: ClusterFirst
cmdlineParams: {}
replicaCount: 1
@ -113,6 +329,7 @@ ingester:
enabled: false
minReplicas: 2
maxReplicas: 10
behavior: {}
# targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
service:
@ -120,7 +337,8 @@ ingester:
# List of IP ranges that are allowed to access the load balancer (if supported)
loadBalancerSourceRanges: []
type: ClusterIP
resources: {}
resources:
{}
# limits:
# cpu: 1
# memory: 1Gi
@ -129,27 +347,54 @@ ingester:
# memory: 512Mi
serviceAccount:
create: true
# Explicitly mounts the API credentials for the Service Account
automountServiceAccountToken: false
annotations: {}
name:
nodeSelector: {}
tolerations: []
affinity: {}
topologySpreadContraints: []
podAnnotations: {}
## Additional pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}
extraSecretMounts: []
extraConfigmapMounts: []
extraEnv: []
envFrom: []
initContainers: []
serviceMonitor:
enabled: false
additionalLabels: {}
# https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
relabelings: []
# -- ServiceMonitor metric relabel configs to apply to samples before ingestion
# https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint
metricRelabelings: []
agent:
podSecurityContext: {}
securityContext: {}
enabled: true
annotations: {}
image: jaegertracing/jaeger-agent
image:
registry: ""
repository: jaegertracing/jaeger-agent
tag: ""
digest: ""
pullPolicy: IfNotPresent
pullSecrets: []
cmdlineParams: {}
extraEnv: []
daemonset:
useHostPort: false
updateStrategy:
{}
# type: RollingUpdate
# rollingUpdate:
# maxUnavailable: 1
service:
annotations: {}
# List of IP ranges that are allowed to access the load balancer (if supported)
@ -163,7 +408,8 @@ agent:
binaryPort: 6832
# samplingPort: (HTTP) serve configs, sampling strategies
samplingPort: 5778
resources: {}
resources:
{}
# limits:
# cpu: 500m
# memory: 512Mi
@ -172,7 +418,10 @@ agent:
# memory: 128Mi
serviceAccount:
create: true
# Explicitly mounts the API credentials for the Service Account
automountServiceAccountToken: false
name:
annotations: {}
nodeSelector: {}
tolerations: []
affinity: {}
@ -192,38 +441,109 @@ agent:
# subPath: ""
# configMap: jaeger-config
# readOnly: true
envFrom: []
useHostNetwork: false
dnsPolicy: ClusterFirst
priorityClassName: ""
initContainers: []
serviceMonitor:
enabled: false
additionalLabels: {}
# https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
relabelings: []
# -- ServiceMonitor metric relabel configs to apply to samples before ingestion
# https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint
metricRelabelings: []
collector:
podSecurityContext: {}
securityContext: {}
enabled: true
annotations: {}
image: jaegertracing/jaeger-collector
image:
registry: ""
repository: jaegertracing/jaeger-collector
tag: ""
digest: ""
pullPolicy: IfNotPresent
pullSecrets: []
dnsPolicy: ClusterFirst
extraEnv: []
envFrom: []
cmdlineParams: {}
basePath: /
replicaCount: 1
autoscaling:
enabled: false
minReplicas: 2
maxReplicas: 10
behavior: {}
# targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
service:
annotations: {}
# The IP to be used by the load balancer (if supported)
loadBalancerIP: ""
# List of IP ranges that are allowed to access the load balancer (if supported)
loadBalancerSourceRanges: []
type: ClusterIP
grpcPort: 14250
# tchannelPort: used by jaeger-agent to send spans in jaeger.thrift format
tchannelPort: 14267
# Cluster IP address to assign to service. Set to None to make service headless
clusterIP: ""
grpc:
port: 14250
# nodePort:
# httpPort: can accept spans directly from clients in jaeger.thrift format
httpPort: 14268
http:
port: 14268
# nodePort:
# can accept Zipkin spans in JSON or Thrift
# zipkinPort: 9411
resources: {}
zipkin:
{}
# port: 9411
# nodePort:
otlp:
grpc:
{}
# name: otlp-grpc
# port: 4317
# nodePort:
http:
{}
# name: otlp-http
# port: 4318
# nodePort:
admin:
name: admin
targetPort: admin
ingress:
enabled: false
# For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
# See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
# ingressClassName: nginx
annotations: {}
labels: {}
# Used to create an Ingress record.
# The 'hosts' variable accepts two formats:
# hosts:
# - chart-example.local
# or:
# hosts:
# - host: chart-example.local
# servicePort: grpc
# annotations:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# labels:
# app: jaeger-collector
# tls:
# Secrets must be manually created in the namespace.
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
pathType:
resources:
{}
# limits:
# cpu: 1
# memory: 1Gi
@ -232,10 +552,14 @@ collector:
# memory: 512Mi
serviceAccount:
create: true
# Explicitly mounts the API credentials for the Service Account
automountServiceAccountToken: false
name:
annotations: {}
nodeSelector: {}
tolerations: []
affinity: {}
topologySpreadContraints: []
podAnnotations: {}
## Additional pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
@ -283,18 +607,88 @@ collector:
# "param": 1
# }
# }
priorityClassName: ""
serviceMonitor:
enabled: false
additionalLabels: {}
# https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
relabelings: []
# -- ServiceMonitor metric relabel configs to apply to samples before ingestion
# https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint
metricRelabelings: []
initContainers: []
networkPolicy:
enabled: false
# ingressRules:
# namespaceSelector: {}
# podSelector: {}
# customRules: []
# egressRules:
# namespaceSelector: {}
# podSelector: {}
# customRules: []
query:
enabled: true
basePath: /
initContainers: []
oAuthSidecar:
enabled: false
resources:
{}
# limits:
# cpu: 500m
# memory: 512Mi
# requests:
# cpu: 256m
# memory: 128Mi
image:
registry: quay.io
repository: oauth2-proxy/oauth2-proxy
tag: v7.6.0
digest: ""
pullPolicy: IfNotPresent
pullSecrets: []
containerPort: 4180
args: []
extraEnv: []
extraConfigmapMounts: []
extraSecretMounts: []
# config: |-
# provider = "oidc"
# https_address = ":4180"
# upstreams = ["http://localhost:16686"]
# redirect_url = "https://jaeger-svc-domain/oauth2/callback"
# client_id = "jaeger-query"
# oidc_issuer_url = "https://keycloak-svc-domain/auth/realms/Default"
# cookie_secure = "true"
# email_domains = "*"
# oidc_groups_claim = "groups"
# user_id_claim = "preferred_username"
# skip_provider_button = "true"
podSecurityContext: {}
securityContext: {}
agentSidecar:
enabled: true
# resources:
# limits:
# cpu: 500m
# memory: 512Mi
# requests:
# cpu: 256m
# memory: 128Mi
annotations: {}
image: jaegertracing/jaeger-query
image:
registry: ""
repository: jaegertracing/jaeger-query
tag: ""
digest: ""
pullPolicy: IfNotPresent
pullSecrets: []
dnsPolicy: ClusterFirst
cmdlineParams: {}
extraEnv: []
envFrom: []
replicaCount: 1
service:
annotations: {}
@ -302,21 +696,38 @@ query:
# List of IP ranges that are allowed to access the load balancer (if supported)
loadBalancerSourceRanges: []
port: 80
# Specify a custom target port (e.g. port of auth proxy)
# targetPort: 8080
# Specify a specific node port when type is NodePort
# nodePort: 32500
admin:
name: admin
targetPort: admin
ingress:
enabled: false
# For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
# See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
# ingressClassName: nginx
annotations: {}
labels: {}
# Used to create an Ingress record.
# hosts:
# - chart-example.local
# annotations:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# labels:
# app: jaeger-query
# tls:
# Secrets must be manually created in the namespace.
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
pathType:
health:
exposed: false
resources:
{}
# limits:
# cpu: 500m
# memory: 512Mi
@ -325,10 +736,14 @@ query:
# memory: 128Mi
serviceAccount:
create: true
# Explicitly mounts the API credentials for the Service Account
automountServiceAccountToken: false
name:
annotations: {}
nodeSelector: {}
tolerations: []
affinity: {}
topologySpreadContraints: []
podAnnotations: {}
## Additional pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
@ -339,18 +754,65 @@ query:
# subPath: ""
# configMap: jaeger-config
# readOnly: true
extraVolumes: []
sidecars: []
## - name: your-image-name
## image: your-image
## ports:
## - name: portname
## containerPort: 1234
priorityClassName: ""
serviceMonitor:
enabled: false
additionalLabels: {}
# https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
relabelings: []
# -- ServiceMonitor metric relabel configs to apply to samples before ingestion
# https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint
metricRelabelings: []
# config: |-
# {
# "dependencies": {
# "dagMaxNumServices": 200,
# "menuEnabled": true
# },
# "archiveEnabled": true,
# "tracking": {
# "gaID": "UA-000000-2",
# "trackErrors": true
# }
# }
networkPolicy:
enabled: false
# ingressRules:
# namespaceSelector: {}
# podSelector: {}
# customRules: []
# egressRules:
# namespaceSelector: {}
# podSelector: {}
# customRules: []
spark:
enabled: false
securityContext: {}
podSecurityContext: {}
annotations: {}
image: jaegertracing/spark-dependencies
image:
registry: ""
repository: jaegertracing/spark-dependencies
tag: latest
pullPolicy: Always
digest: ""
pullPolicy: IfNotPresent
pullSecrets: []
cmdlineParams: {}
extraEnv: []
schedule: "49 23 * * *"
successfulJobsHistoryLimit: 5
failedJobsHistoryLimit: 5
resources: {}
concurrencyPolicy: Forbid
resources:
{}
# limits:
# cpu: 500m
# memory: 512Mi
@ -359,15 +821,171 @@ spark:
# memory: 128Mi
serviceAccount:
create: true
annotations: {}
# Explicitly mounts the API credentials for the Service Account
automountServiceAccountToken: false
name:
nodeSelector: {}
tolerations: []
affinity: {}
extraSecretMounts: []
extraConfigmapMounts: []
podAnnotations: {}
## Additional pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}
# ttlSecondsAfterFinished: 120
esIndexCleaner:
enabled: false
securityContext:
runAsUser: 1000
podSecurityContext:
runAsUser: 1000
annotations: {}
image:
registry: ""
repository: jaegertracing/jaeger-es-index-cleaner
tag: ""
digest: ""
pullPolicy: IfNotPresent
pullSecrets: []
cmdlineParams: {}
extraEnv:
[]
# - name: ROLLOVER
# value: 'true'
schedule: "55 23 * * *"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
concurrencyPolicy: Forbid
resources:
{}
# limits:
# cpu: 500m
# memory: 512Mi
# requests:
# cpu: 256m
# memory: 128Mi
numberOfDays: 7
serviceAccount:
create: true
annotations: {}
# Explicitly mounts the API credentials for the Service Account
automountServiceAccountToken: false
name:
nodeSelector: {}
tolerations: []
affinity: {}
extraSecretMounts: []
extraConfigmapMounts: []
podAnnotations: {}
## Additional pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}
# ttlSecondsAfterFinished: 120
esRollover:
enabled: false
securityContext: {}
podSecurityContext:
runAsUser: 1000
annotations: {}
image:
registry: ""
repository: jaegertracing/jaeger-es-rollover
tag: ""
digest: ""
pullPolicy: IfNotPresent
pullSecrets: []
cmdlineParams: {}
extraEnv:
- name: CONDITIONS
value: '{"max_age": "1d"}'
schedule: "10 0 * * *"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
concurrencyPolicy: Forbid
resources:
{}
# limits:
# cpu: 500m
# memory: 512Mi
# requests:
# cpu: 256m
# memory: 128Mi
serviceAccount:
create: true
# Explicitly mounts the API credentials for the Service Account
automountServiceAccountToken: false
name:
nodeSelector: {}
tolerations: []
affinity: {}
extraSecretMounts: []
extraConfigmapMounts: []
podAnnotations: {}
## Additional pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}
# ttlSecondsAfterFinished: 120
initHook:
extraEnv:
[]
# - name: SHARDS
# value: "3"
annotations: {}
podAnnotations: {}
podLabels: {}
ttlSecondsAfterFinished: 120
esLookback:
enabled: false
securityContext: {}
podSecurityContext:
runAsUser: 1000
annotations: {}
image:
registry: ""
repository: jaegertracing/jaeger-es-rollover
tag: ""
digest: ""
pullPolicy: IfNotPresent
pullSecrets: []
cmdlineParams: {}
extraEnv:
- name: UNIT
value: days
- name: UNIT_COUNT
value: "7"
schedule: "5 0 * * *"
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
concurrencyPolicy: Forbid
resources:
{}
# limits:
# cpu: 500m
# memory: 512Mi
# requests:
# cpu: 256m
# memory: 128Mi
serviceAccount:
create: true
annotations: {}
# Explicitly mounts the API credentials for the Service Account
automountServiceAccountToken: false
name:
nodeSelector: {}
tolerations: []
affinity: {}
extraSecretMounts: []
extraConfigmapMounts: []
podAnnotations: {}
## Additional pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}
# ttlSecondsAfterFinished: 120
# End: Default values for the various components of Jaeger
hotrod:
@ -375,9 +993,24 @@ hotrod:
podSecurityContext: {}
securityContext: {}
replicaCount: 1
# set the primary command(s) for the hotrod application
args:
- all
# add extra arguments to the hotrod application to customize tracing
extraArgs: []
# - --otel-exporter=otlp
# - --jaeger-ui=http://jaeger.chart.local
# add extra environment variables to the hotrod application
extraEnv: []
# - name: OTEL_EXPORTER_OTLP_ENDPOINT
# value: http://my-otel-collector.chart.local:4318
image:
registry: ""
repository: jaegertracing/example-hotrod
pullPolicy: Always
tag: ""
digest: ""
pullPolicy: IfNotPresent
pullSecrets: []
service:
annotations: {}
name: hotrod
@ -387,10 +1020,14 @@ hotrod:
port: 80
ingress:
enabled: false
# For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
# See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
# ingressClassName: nginx
# Used to create Ingress record (should be used with service.type: ClusterIP).
hosts:
- chart-example.local
annotations: {}
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
tls:
@ -398,7 +1035,9 @@ hotrod:
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
pathType:
resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@ -411,6 +1050,9 @@ hotrod:
# memory: 128Mi
serviceAccount:
create: true
# Explicitly mounts the API credentials for the Service Account
automountServiceAccountToken: false
annotations: {}
name:
nodeSelector: {}
tolerations: []
@ -418,3 +1060,6 @@ hotrod:
tracing:
host: null
port: 6831
# Array with extra yaml objects to install alongside the chart. Values are evaluated as a template.
extraObjects: []

View File

@ -3,6 +3,8 @@ remote: origin
chart-dirs:
- charts
chart-repos:
- incubator=https://kubernetes-charts-incubator.storage.googleapis.com
- incubator=https://charts.helm.sh/incubator
- elastic=https://helm.elastic.co
helm-extra-args: --timeout=500
- bitnami=https://charts.bitnami.com/bitnami
helm-extra-args: --timeout=600s
target-branch: main