Skip to content
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

Merged
merged 2 commits into from
Feb 9, 2023
Merged

feat: update helm chart loki to 4.5.1 #3198

merged 2 commits into from
Feb 9, 2023

Conversation

bloopy-boi[bot]
Copy link
Contributor

@bloopy-boi bloopy-boi bot commented Feb 6, 2023

This PR contains the following updates:

Package Update Change
loki (source) minor 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@bloopy-boi bloopy-boi bot requested a review from h3mmy as a code owner February 6, 2023 19:17
@bloopy-boi bloopy-boi bot added renovate/helm type/minor size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. area/cluster Changes made in the cluster directory labels Feb 6, 2023
@bloopy-boi
Copy link
Contributor Author

bloopy-boi bot commented Feb 6, 2023

Path: cluster/apps/monitoring/loki/helm-release.yaml
Version: 4.4.2 -> 4.6.0

@@ -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

@bloopy-boi
Copy link
Contributor Author

bloopy-boi bot commented Feb 6, 2023

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ COPYPASTE jscpd yes no 1.03s
✅ YAML prettier 1 1 0 0.55s
✅ YAML yamllint 1 0 0.25s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@bloopy-boi bloopy-boi bot force-pushed the renovate/loki-4.x branch from 7beff72 to 9393d13 Compare February 7, 2023 20:23
@bloopy-boi bloopy-boi bot changed the title feat: update helm chart loki to 4.5.0 feat: update helm chart loki to 4.5.1 Feb 7, 2023
@renovate renovate bot force-pushed the renovate/loki-4.x branch from 9393d13 to fe35469 Compare February 7, 2023 20:25
@bloopy-boi
Copy link
Contributor Author

bloopy-boi bot commented Feb 7, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@renovate renovate bot force-pushed the renovate/loki-4.x branch from fe35469 to a797b14 Compare February 7, 2023 21:20
@renovate renovate bot force-pushed the renovate/loki-4.x branch from a797b14 to 77564a7 Compare February 8, 2023 16:32
@h3mmy h3mmy merged commit 8c79e22 into main Feb 9, 2023
@h3mmy h3mmy deleted the renovate/loki-4.x branch February 9, 2023 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster Changes made in the cluster directory renovate/helm size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. type/minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant