Skip to content

Commit

Permalink
docs: Show clusterName value instead cluster.local in NOTES.txt (#15669)
Browse files Browse the repository at this point in the history
Signed-off-by: xirehat <[email protected]>
  • Loading branch information
xirehat authored Jan 10, 2025
1 parent db72164 commit ad9f5c4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions production/helm/loki/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,22 @@ You can send logs from inside the cluster using the cluster DNS:

{{- if .Values.gateway.enabled }}

http://{{ include "loki.gatewayFullname" . }}.{{ $.Release.Namespace }}.svc.cluster.local/loki/api/v1/push
http://{{ include "loki.gatewayFullname" . }}.{{ $.Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}/loki/api/v1/push

{{- else }}
{{- if eq (include "loki.deployment.isSingleBinary" .) "true" }}

http://{{ include "loki.singleBinaryFullname" . }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ .Values.loki.server.http_listen_port }}/loki/api/v1/push
http://{{ include "loki.singleBinaryFullname" . }}.{{ $.Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}:{{ .Values.loki.server.http_listen_port }}/loki/api/v1/push

{{- end}}
{{- if eq (include "loki.deployment.isScalable" .) "true" }}

http://{{ include "loki.writeFullname" . }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ .Values.loki.server.http_listen_port }}/loki/api/v1/push
http://{{ include "loki.writeFullname" . }}.{{ $.Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}:{{ .Values.loki.server.http_listen_port }}/loki/api/v1/push

{{- end }}
{{- if eq (include "loki.deployment.isDistributed" .) "true" }}

http://{{ include "loki.distributorFullname" . }}.{{ $.Release.Namespace }}.svc.cluster.local:3100/loki/api/v1/push
http://{{ include "loki.distributorFullname" . }}.{{ $.Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}:3100/loki/api/v1/push

{{- end }}
{{- end }}
Expand Down Expand Up @@ -137,22 +137,22 @@ If Grafana operates within the cluster, you'll set up a new Loki datasource by u

{{- if .Values.gateway.enabled }}

http://{{ include "loki.gatewayFullname" . }}.{{ $.Release.Namespace }}.svc.cluster.local/
http://{{ include "loki.gatewayFullname" . }}.{{ $.Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}/

{{- else }}
{{- if eq (include "loki.deployment.isSingleBinary" .) "true" }}

http://{{ include "loki.singleBinaryFullname" . }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ .Values.loki.server.http_listen_port }}/
http://{{ include "loki.singleBinaryFullname" . }}.{{ $.Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}:{{ .Values.loki.server.http_listen_port }}/

{{- end}}
{{- if eq (include "loki.deployment.isScalable" .) "true" }}

http://{{ include "loki.readFullname" . }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ .Values.loki.server.http_listen_port }}/
http://{{ include "loki.readFullname" . }}.{{ $.Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}:{{ .Values.loki.server.http_listen_port }}/

{{- end }}
{{- if eq (include "loki.deployment.isDistributed" .) "true" }}

http://{{ include "loki.queryFrontendFullname" . }}.{{ $.Release.Namespace }}.svc.cluster.local:3100/
http://{{ include "loki.queryFrontendFullname" . }}.{{ $.Release.Namespace }}.svc.{{ .Values.global.clusterDomain }}:3100/

{{- end }}
{{- end }}
Expand Down

0 comments on commit ad9f5c4

Please sign in to comment.