Skip to content

Commit

Permalink
Adding Diagnostics
Browse files Browse the repository at this point in the history
Signed-off-by: Tenshin Higashi <[email protected]>
  • Loading branch information
tenshinhigashi committed Nov 3, 2023
1 parent d0b774d commit b32bc2b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions helm/ambassador-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ spec:
{{- with .Values.edgestack.agent }}
- name: AES_SNAPSHOT_URL
value: "http://{{ required "A value must be entered for all edgestack.agent entries" .name }}-admin.{{ required "A value must be entered for all edgestack.agent entries" .namespace }}:{{ required "A value must be entered for all edgestack.agent entries" .snapshotPort }}/snapshot-external"
- name: AES_DIAGNOSTICS_URL
value: "http://{{ required "A value must be entered for all edgestack.agent entries" .name }}-admin.{{ required "A value must be entered for all edgestack.agent entries" .namespace }}:{{ required "A value must be entered for all edgestack.agent entries" .diagnosticsPort }}/ambassador/v0/diag/?json=true"
{{- end }}
- name: AES_REPORT_DIAGNOSTICS_TO_CLOUD
value: {{ .Values.edgestack.agent.reportDiagnostics | default "true" }}
{{- end }}
{{- end }}
{{ if .Values.rbac.namespaces }}
Expand Down
10 changes: 6 additions & 4 deletions helm/ambassador-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ autoscaling:
# targetMemoryUtilizationPercentage: 80

edgestack:
# agent:
# name:
# namespace:
# snapshotPort:
# agent:
# name:
# namespace:
# snapshotPort:
# diagnosticsPort:
# reportDiagnostics:

rpcAddress: ""

Expand Down

0 comments on commit b32bc2b

Please sign in to comment.