-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update helm chart loki to 4.5.1 #3198
Conversation
Path: @@ -1,22 +1,4 @@
---
-# Source: loki/templates/backend/poddisruptionbudget-backend.yaml
-apiVersion: policy/v1beta1
-kind: PodDisruptionBudget
-metadata:
- name: loki-backend
- labels:
- app.kubernetes.io/name: loki
- app.kubernetes.io/instance: loki
- app.kubernetes.io/managed-by: Helm
- app.kubernetes.io/component: backend
-spec:
- selector:
- matchLabels:
- app.kubernetes.io/name: loki
- app.kubernetes.io/instance: loki
- app.kubernetes.io/component: backend
- maxUnavailable: 1
----
# Source: loki/templates/gateway/poddisruptionbudget-gateway.yaml
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
@@ -95,6 +77,7 @@
config.yaml: |
auth_enabled: false
common:
+ compactor_address: 'loki-read'
path_prefix: /var/loki
replication_factor: 1
ring:
@@ -214,6 +197,12 @@
uwsgi_temp_path /tmp/uwsgi_temp;
scgi_temp_path /tmp/scgi_temp;
+ client_max_body_size 4M;
+
+ proxy_read_timeout 600; ## 6 minutes
+ proxy_send_timeout 600;
+ proxy_connect_timeout 600;
+
proxy_http_version 1.1;
default_type application/octet-stream;
@@ -247,14 +236,15 @@
location ~ /api/prom/.* {
proxy_pass http://loki-read.default.svc.cluster.local:3100$request_uri;
}
+
location ~ /prometheus/api/v1/alerts.* {
- proxy_pass http://loki-backend.default.svc.cluster.local:3100$request_uri;
+ proxy_pass http://loki-read.default.svc.cluster.local:3100$request_uri;
}
location ~ /prometheus/api/v1/rules.* {
- proxy_pass http://loki-backend.default.svc.cluster.local:3100$request_uri;
+ proxy_pass http://loki-read.default.svc.cluster.local:3100$request_uri;
}
location ~ /ruler/.* {
- proxy_pass http://loki-backend.default.svc.cluster.local:3100$request_uri;
+ proxy_pass http://loki-read.default.svc.cluster.local:3100$request_uri;
}
location = /loki/api/v1/push {
@@ -266,8 +256,9 @@
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
+
location ~ /compactor/.* {
- proxy_pass http://loki-backend.default.svc.cluster.local:3100$request_uri;
+ proxy_pass http://loki-read.default.svc.cluster.local:3100$request_uri;
}
location ~ /distributor/.* {
@@ -281,14 +272,16 @@
location ~ /ingester/.* {
proxy_pass http://loki-write.default.svc.cluster.local:3100$request_uri;
}
+
location ~ /store-gateway/.* {
- proxy_pass http://loki-backend.default.svc.cluster.local:3100$request_uri;
+ proxy_pass http://loki-read.default.svc.cluster.local:3100$request_uri;
}
+
location ~ /query-scheduler/.* {
- proxy_pass http://loki-backend.default.svc.cluster.local:3100$request_uri;
+ proxy_pass http://loki-read.default.svc.cluster.local:3100$request_uri;
}
location ~ /scheduler/.* {
- proxy_pass http://loki-backend.default.svc.cluster.local:3100$request_uri;
+ proxy_pass http://loki-read.default.svc.cluster.local:3100$request_uri;
}
location ~ /loki/api/.* {
@@ -364,59 +357,6 @@
runtime-config.yaml: |2
{}
---
-# Source: loki/templates/backend/service-backend-headless.yaml
-apiVersion: v1
-kind: Service
-metadata:
- name: loki-backend-headless
- labels:
- app.kubernetes.io/name: loki
- app.kubernetes.io/instance: loki
- app.kubernetes.io/component: backend
- prometheus.io/service-monitor: "false"
-spec:
- type: ClusterIP
- clusterIP: None
- ports:
- - name: http-metrics
- port: 3100
- targetPort: http-metrics
- protocol: TCP
- - name: grpc
- port: 9095
- targetPort: grpc
- protocol: TCP
- selector:
- app.kubernetes.io/name: loki
- app.kubernetes.io/instance: loki
- app.kubernetes.io/component: backend
----
-# Source: loki/templates/backend/service-backend.yaml
-apiVersion: v1
-kind: Service
-metadata:
- name: loki-backend
- labels:
- app.kubernetes.io/name: loki
- app.kubernetes.io/instance: loki
- app.kubernetes.io/managed-by: Helm
- app.kubernetes.io/component: backend
-spec:
- type: ClusterIP
- ports:
- - name: http-metrics
- port: 3100
- targetPort: http-metrics
- protocol: TCP
- - name: grpc
- port: 9095
- targetPort: grpc
- protocol: TCP
- selector:
- app.kubernetes.io/name: loki
- app.kubernetes.io/instance: loki
- app.kubernetes.io/component: backend
----
# Source: loki/templates/gateway/service-gateway.yaml
apiVersion: v1
kind: Service
@@ -592,7 +532,7 @@
template:
metadata:
annotations:
- checksum/config: c4aca47c2bc0bff5d40e6951de0e598fbad36a2c2b4b58cef84982fd022ddfc0
+ checksum/config: 7aa372086f6761881f5bee966acea5de07be362763241b30e5a5bde658261bb4
labels:
app.kubernetes.io/name: loki
app.kubernetes.io/instance: loki
@@ -654,9 +594,9 @@
- name: docker-entrypoint-d-override
emptyDir: {}
---
-# Source: loki/templates/read/deployment-read.yaml
+# Source: loki/templates/read/statefulset-read.yaml
apiVersion: apps/v1
-kind: Deployment
+kind: StatefulSet
metadata:
name: loki-read
labels:
@@ -667,10 +607,11 @@
app.kubernetes.io/component: read
spec:
replicas: 3
- strategy:
+ podManagementPolicy: Parallel
+ updateStrategy:
rollingUpdate:
- maxSurge: 0
- maxUnavailable: 1
+ partition: 0
+ serviceName: loki-read-headless
revisionHistoryLimit: 10
selector:
matchLabels:
@@ -680,7 +621,7 @@
template:
metadata:
annotations:
- checksum/config: 11bc75e3bb1d3196f1aa803bffe5d95b1dc53d43193a70ed6664b14b452f0541
+ checksum/config: d0a35baa36480457bfc71aecb5b24ea1ffcee6789a16ab3107353987315539e8
labels:
app.kubernetes.io/part-of: memberlist
app.kubernetes.io/name: loki
@@ -689,6 +630,7 @@
spec:
serviceAccountName: loki
automountServiceAccountToken: true
+ enableServiceLinks: true
securityContext:
fsGroup: 10001
runAsGroup: 10001
@@ -697,13 +639,11 @@
terminationGracePeriodSeconds: 30
containers:
- name: loki
- image: docker.io/grafana/loki:main-5e53303
+ image: docker.io/grafana/loki:2.7.3
imagePullPolicy: IfNotPresent
args:
- -config.file=/etc/loki/config/config.yaml
- -target=read
- - -legacy-read-mode=false
- - -common.compactor-grpc-address=loki-backend.default.svc.cluster.local:9095
ports:
- name: http-metrics
containerPort: 3100
@@ -756,8 +696,6 @@
volumes:
- name: tmp
emptyDir: {}
- - name: data
- emptyDir: {}
- name: config
configMap:
name: loki
@@ -773,112 +711,6 @@
- emptyDir: {}
name: loki-tmp
readonly: false
----
-# Source: loki/templates/backend/statefulset-backend.yaml
-apiVersion: apps/v1
-kind: StatefulSet
-metadata:
- name: loki-backend
- labels:
- app.kubernetes.io/name: loki
- app.kubernetes.io/instance: loki
- app.kubernetes.io/managed-by: Helm
- app.kubernetes.io/component: backend
- app.kubernetes.io/part-of: memberlist
-spec:
- replicas: 3
- podManagementPolicy: Parallel
- updateStrategy:
- rollingUpdate:
- partition: 0
- serviceName: loki-backend-headless
- revisionHistoryLimit: 10
- selector:
- matchLabels:
- app.kubernetes.io/name: loki
- app.kubernetes.io/instance: loki
- app.kubernetes.io/component: backend
- template:
- metadata:
- annotations:
- checksum/config: 11bc75e3bb1d3196f1aa803bffe5d95b1dc53d43193a70ed6664b14b452f0541
- labels:
- app.kubernetes.io/name: loki
- app.kubernetes.io/instance: loki
- app.kubernetes.io/component: backend
- app.kubernetes.io/part-of: memberlist
- spec:
- serviceAccountName: loki
- automountServiceAccountToken: true
- securityContext:
- fsGroup: 10001
- runAsGroup: 10001
- runAsNonRoot: true
- runAsUser: 10001
- terminationGracePeriodSeconds: 300
- containers:
- - name: loki
- image: docker.io/grafana/loki:main-5e53303
- imagePullPolicy: IfNotPresent
- args:
- - -config.file=/etc/loki/config/config.yaml
- - -target=backend
- - -legacy-read-mode=false
- ports:
- - name: http-metrics
- containerPort: 3100
- protocol: TCP
- - name: grpc
- containerPort: 9095
- protocol: TCP
- - name: http-memberlist
- containerPort: 7946
- protocol: TCP
- securityContext:
- allowPrivilegeEscalation: false
- capabilities:
- drop:
- - ALL
- readOnlyRootFilesystem: true
- readinessProbe:
- httpGet:
- path: /ready
- port: http-metrics
- initialDelaySeconds: 30
- timeoutSeconds: 1
- volumeMounts:
- - name: config
- mountPath: /etc/loki/config
- - name: runtime-config
- mountPath: /etc/loki/runtime-config
- - name: data
- mountPath: /var/loki
- - mountPath: /rules/fake
- name: rules
- - mountPath: /tmp/scratch
- name: scratch
- resources: {}
- affinity:
- podAntiAffinity:
- requiredDuringSchedulingIgnoredDuringExecution:
- - labelSelector:
- matchLabels:
- app.kubernetes.io/name: loki
- app.kubernetes.io/instance: loki
- app.kubernetes.io/component: backend
- topologyKey: kubernetes.io/hostname
- volumes:
- - name: config
- configMap:
- name: loki
- - name: runtime-config
- configMap:
- name: loki-runtime
- - configMap:
- name: loki-alerting-rules
- name: rules
- - emptyDir: {}
- name: scratch
volumeClaimTemplates:
- metadata:
name: data
@@ -888,7 +720,7 @@
storageClassName: ceph-block
resources:
requests:
- storage: "10Gi"
+ storage: "5Gi"
---
# Source: loki/templates/write/statefulset-write.yaml
apiVersion: apps/v1
@@ -917,7 +749,7 @@
template:
metadata:
annotations:
- checksum/config: 11bc75e3bb1d3196f1aa803bffe5d95b1dc53d43193a70ed6664b14b452f0541
+ checksum/config: d0a35baa36480457bfc71aecb5b24ea1ffcee6789a16ab3107353987315539e8
labels:
app.kubernetes.io/name: loki
app.kubernetes.io/instance: loki
@@ -935,7 +767,7 @@
terminationGracePeriodSeconds: 300
containers:
- name: loki
- image: docker.io/grafana/loki:main-5e53303
+ image: docker.io/grafana/loki:2.7.3
imagePullPolicy: IfNotPresent
args:
- -config.file=/etc/loki/config/config.yaml |
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
7beff72
to
9393d13
Compare
9393d13
to
fe35469
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. ⚠ Warning: custom changes will be lost. |
fe35469
to
a797b14
Compare
Signed-off-by: Zee Aslam <[email protected]>
a797b14
to
77564a7
Compare
This PR contains the following updates:
4.4.2
->4.5.1
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
grafana/helm-charts
v4.5.1
Helm chart for Grafana Loki in simple, scalable mode
Source commit: grafana/loki@8ed5dd8
Tag on source: https://github.com/grafana/loki/releases/tag/helm-loki-4.5.1
v4.5.0
Helm chart for Grafana Loki in simple, scalable mode
Source commit: grafana/loki@ef8b382
Tag on source: https://github.com/grafana/loki/releases/tag/helm-loki-4.5.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot.