-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Adrian Cole <[email protected]>
- Loading branch information
Adrian Cole
committed
Feb 19, 2024
1 parent
6849bde
commit ae7d6fa
Showing
6 changed files
with
52 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,11 @@ | |
# or implied. See the License for the specific language governing permissions and limitations under | ||
# the License. | ||
apiVersion: v2 | ||
appVersion: 3.0.3 | ||
appVersion: 3.0.6 | ||
name: zipkin | ||
description: A Zipkin helm chart for kubernetes | ||
type: application | ||
version: 0.1.2 | ||
version: 0.2.0 | ||
maintainers: | ||
- name: openzipkin | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
zipkin: | ||
{ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
zipkin: | ||
selfTracing: | ||
enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: "{{ include "zipkin.fullname" . }}-test-connection" | ||
labels: | ||
{{- include "zipkin.labels" . | nindent 4 }} | ||
annotations: | ||
"helm.sh/hook": test | ||
spec: | ||
containers: | ||
- name: get-api-services | ||
image: 'ghcr.io/openzipkin/alpine:3.19.1' | ||
command: [ '/bin/sh', '-c' ] | ||
# Get an arbitrary API endpoint using the ClusterIP and service port | ||
args: [ 'wget -qO ---spider --header "b3: cafebabecafebabe-cafebabecafebabe-1" http://{{ include "zipkin.fullname" . }}:{{ .Values.service.port }}/api/v2/services' ] | ||
{{- if .Values.zipkin.selfTracing.enabled }} | ||
- name: get-trace | ||
image: 'ghcr.io/openzipkin/alpine:3.19.1' | ||
command: [ '/bin/sh', '-c' ] | ||
# If self-tracing, sleep for the trace to process, the get it by the constant ID passed above. | ||
args: [ 'sleep 1 && wget -qO ---spider http://{{ include "zipkin.fullname" . }}:{{ .Values.service.port }}/api/v2/trace/cafebabecafebabe' ] | ||
{{- end }} | ||
restartPolicy: Never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters