Skip to content
102 changes: 100 additions & 2 deletions docs/sources/setup/install/helm/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ This is the generated reference for the Loki Helm Chart values.
"selectorLabels": {},
"service": {
"annotations": {},
"labels": {}
"labels": {},
"type": "ClusterIP"
},
"targetModule": "backend",
"terminationGracePeriodSeconds": 300,
Expand Down Expand Up @@ -730,6 +731,15 @@ null
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>backend.service.type</td>
<td>string</td>
<td>Service type for backend Service</td>
<td><pre lang="json">
"ClusterIP"
</pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -2851,6 +2861,7 @@ null
},
"serviceAnnotations": {},
"serviceLabels": {},
"serviceType": "ClusterIP",
"terminationGracePeriodSeconds": 30,
"tolerations": []
}
Expand Down Expand Up @@ -3172,6 +3183,15 @@ null
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>compactor.serviceType</td>
<td>string</td>
<td>Service type for compactor service</td>
<td><pre lang="json">
"ClusterIP"
</pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -3260,6 +3280,7 @@ null
"resources": {},
"serviceAnnotations": {},
"serviceLabels": {},
"serviceType": "ClusterIP",
"terminationGracePeriodSeconds": 30,
"tolerations": [],
"topologySpreadConstraints": [],
Expand Down Expand Up @@ -3565,6 +3586,15 @@ null
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>distributor.serviceType</td>
<td>string</td>
<td>Service type for distributor service</td>
<td><pre lang="json">
"ClusterIP"
</pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -5149,6 +5179,7 @@ null
"resources": {},
"serviceAnnotations": {},
"serviceLabels": {},
"serviceType": "ClusterIP",
"terminationGracePeriodSeconds": 300,
"tolerations": [],
"topologySpreadConstraints": [],
Expand Down Expand Up @@ -5429,6 +5460,15 @@ null
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>indexGateway.serviceType</td>
<td>string</td>
<td>Service type for index-gateway service</td>
<td><pre lang="json">
"ClusterIP"
</pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -5557,6 +5597,7 @@ null
"rolloutGroupPrefix": null,
"serviceAnnotations": {},
"serviceLabels": {},
"serviceType": "ClusterIP",
"terminationGracePeriodSeconds": 300,
"tolerations": [],
"topologySpreadConstraints": [
Expand Down Expand Up @@ -5957,6 +5998,15 @@ false
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>ingester.serviceType</td>
<td>string</td>
<td>Service type for ingestor service</td>
<td><pre lang="json">
"ClusterIP"
</pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -9051,6 +9101,7 @@ null
"resources": {},
"serviceAnnotations": {},
"serviceLabels": {},
"serviceType": "ClusterIP",
"terminationGracePeriodSeconds": 30,
"tolerations": [],
"topologySpreadConstraints": [
Expand Down Expand Up @@ -9384,6 +9435,15 @@ null
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>querier.serviceType</td>
<td>string</td>
<td>Service Type for querier service</td>
<td><pre lang="json">
"ClusterIP"
</pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -9471,6 +9531,7 @@ Defaults to allow skew no more then 1 node
"resources": {},
"serviceAnnotations": {},
"serviceLabels": {},
"serviceType": "ClusterIP",
"terminationGracePeriodSeconds": 30,
"tolerations": [],
"topologySpreadConstraints": []
Expand Down Expand Up @@ -9766,6 +9827,15 @@ null
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>queryFrontend.serviceType</td>
<td>string</td>
<td>Service Type for query-frontend service</td>
<td><pre lang="json">
"ClusterIP"
</pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -10171,7 +10241,8 @@ false
"selectorLabels": {},
"service": {
"annotations": {},
"labels": {}
"labels": {},
"type": "ClusterIP"
},
"targetModule": "read",
"terminationGracePeriodSeconds": 30,
Expand Down Expand Up @@ -10528,6 +10599,15 @@ null
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>read.service.type</td>
<td>string</td>
<td>Service Type for read Service</td>
<td><pre lang="json">
"ClusterIP"
</pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -11919,6 +11999,15 @@ null
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>singleBinary.service.type</td>
<td>string</td>
<td>Service Type for single binary Service</td>
<td><pre lang="json">
"ClusterIP"
</pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -12741,6 +12830,15 @@ null
<td><pre lang="json">
{}
</pre>
</td>
</tr>
<tr>
<td>write.service.type</td>
<td>string</td>
<td>Service Type for write Service</td>
<td><pre lang="json">
"ClusterIP"
</pre>
</td>
</tr>
<tr>
Expand Down
3 changes: 3 additions & 0 deletions production/helm/loki/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ Entries should include a reference to the pull request that introduced the chang
- [ENHANCEMENT] Add validation to ensure `enterprise.adminToken.secret` is set when provisioner is enabled. [#18803](https://github.com/grafana/loki/pull/18803)
- [BUGFIX] Websocket related proxy_set_header to locations back to resolve high CPU usage. [#18800](https://github.com/grafana/loki/pull/18800). **CAUTION**: Any customized proxy_set_header configuration are moved from `gateway.nginxConfig.httpSnippet` to `gateway.nginxConfig.locationSnippet`. Users that using different authentication methods (e.g. `mTLS`) in the gateway should check their configuration and update it accordingly.


- [FEATURE] Allow configuring service types. [#18708](https://github.com/grafana/loki/pull/18708)

## 6.35.1

- [BUGFIX] Removing deprecated admin_api_directory to avoid config crash. [#18731](https://github.com/grafana/loki/pull/18731)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
{{- toYaml . | nindent 4}}
{{- end }}
spec:
type: ClusterIP
type: {{ .Values.backend.service.type }}
ports:
- name: http-metrics
port: {{ .Values.loki.server.http_listen_port }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metadata:
{{- toYaml . | nindent 4}}
{{- end }}
spec:
type: ClusterIP
type: {{ .Values.compactor.serviceType }}
ports:
- name: http-metrics
port: 3100
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ metadata:
{{- toYaml . | nindent 4}}
{{- end }}
spec:
type: ClusterIP
type: {{ .Values.distributor.serviceType }}
ports:
- name: http-metrics
port: 3100
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ metadata:
{{- toYaml . | nindent 4}}
{{- end }}
spec:
type: ClusterIP
type: {{ .Values.indexGateway.serviceType }}
ports:
- name: http-metrics
port: 3100
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ metadata:
{{- toYaml . | nindent 4}}
{{- end }}
spec:
type: ClusterIP
type: {{ .Values.ingester.serviceType }}
ports:
- name: http-metrics
port: 3100
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ metadata:
{{- toYaml . | nindent 4}}
{{- end }}
spec:
type: ClusterIP
type: {{ .Values.querier.serviceType }}
ports:
- name: http-metrics
port: 3100
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ metadata:
{{- toYaml . | nindent 4}}
{{- end }}
spec:
type: ClusterIP
type: {{ .Values.queryFrontend.serviceType }}
publishNotReadyAddresses: true
ports:
- name: http-metrics
Expand Down
2 changes: 1 addition & 1 deletion production/helm/loki/templates/read/service-read.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
{{- toYaml . | nindent 4}}
{{- end }}
spec:
type: ClusterIP
type: {{ .Values.read.service.type }}
ports:
- name: http-metrics
port: {{ .Values.loki.server.http_listen_port }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
{{- toYaml . | nindent 4}}
{{- end }}
spec:
type: ClusterIP
type: {{ .Values.singleBinary.service.type }}
ports:
- name: http-metrics
port: {{ .Values.loki.server.http_listen_port }}
Expand Down
2 changes: 1 addition & 1 deletion production/helm/loki/templates/write/service-write.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
{{- toYaml . | nindent 4}}
{{- end }}
spec:
type: ClusterIP
type: {{ .Values.write.service.type }}
ports:
- name: http-metrics
port: {{ .Values.loki.server.http_listen_port }}
Expand Down
Loading
Loading