Skip to content

Commit

Permalink
Helm: allow setting scheme for readiness probes (grafana#6374)
Browse files Browse the repository at this point in the history
* helm: allow setting scheme for readiness checks

* changelog

* caps

* update version and make release

* gen
  • Loading branch information
captncraig committed Feb 15, 2024
1 parent 8a6c8d7 commit 91f4ff0
Show file tree
Hide file tree
Showing 33 changed files with 72 additions and 30 deletions.
9 changes: 9 additions & 0 deletions operations/helm/charts/grafana-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ internal API changes are not present.
Unreleased
----------

0.32.0 (2024-02-15)
-------------------

### Enhancements

- Allow setting scheme for readiness checks when using tls. (@captncraig)

- Update Grafana Agent version to v0.39.2. (@captncraig)

0.31.1 (2024-01-19)
-------------------

Expand Down
4 changes: 2 additions & 2 deletions operations/helm/charts/grafana-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: grafana-agent
description: 'Grafana Agent'
type: application
version: 0.31.1
appVersion: 'v0.39.1'
version: 0.32.0
appVersion: 'v0.39.2'

dependencies:
- name: crds
Expand Down
3 changes: 2 additions & 1 deletion operations/helm/charts/grafana-agent/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Grafana Agent Helm chart

![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.31.1](https://img.shields.io/badge/Version-0.31.1-informational?style=flat-square) ![AppVersion: v0.39.1](https://img.shields.io/badge/AppVersion-v0.39.1-informational?style=flat-square)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.32.0](https://img.shields.io/badge/Version-0.32.0-informational?style=flat-square) ![AppVersion: v0.39.2](https://img.shields.io/badge/AppVersion-v0.39.2-informational?style=flat-square)

Helm chart for deploying [Grafana Agent][] to Kubernetes.

Expand Down Expand Up @@ -53,6 +53,7 @@ use the older mode (called "static mode"), set the `agent.mode` value to
| agent.extraPorts | list | `[]` | Extra ports to expose on the Agent |
| agent.listenAddr | string | `"0.0.0.0"` | Address to listen for traffic on. 0.0.0.0 exposes the UI to other containers. |
| agent.listenPort | int | `80` | Port to listen for traffic on. |
| agent.listenScheme | string | `"HTTP"` | Scheme is needed for readiness probes. If enabling tls in your configs, set to "HTTPS" |
| agent.mode | string | `"flow"` | Mode to run Grafana Agent in. Can be "flow" or "static". |
| agent.mounts.dockercontainers | bool | `false` | Mount /var/lib/docker/containers from the host into the container for log collection. |
| agent.mounts.extra | list | `[]` | Extra volume mounts to add into the Grafana Agent container. Does not affect the watch container. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
httpGet:
path: /-/ready
port: {{ .Values.agent.listenPort }}
scheme: {{ .Values.agent.listenScheme }}
initialDelaySeconds: 10
timeoutSeconds: 1
{{- with .Values.agent.resources }}
Expand Down
3 changes: 3 additions & 0 deletions operations/helm/charts/grafana-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ agent:
# -- Port to listen for traffic on.
listenPort: 80

# -- Scheme is needed for readiness probes. If enabling tls in your configs, set to "HTTPS"
listenScheme: HTTP

# -- Base path where the UI is exposed.
uiPathPrefix: /

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -51,6 +51,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -56,6 +56,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -51,6 +51,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -51,6 +51,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -51,6 +51,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -51,6 +51,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -52,6 +52,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -53,6 +53,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -54,6 +54,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -51,6 +51,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -51,6 +51,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -51,6 +51,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -54,6 +54,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -51,6 +51,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand Down Expand Up @@ -60,6 +60,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -54,6 +54,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -54,6 +54,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
- name: global-cred
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.39.1
image: docker.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -56,6 +56,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: quay.io/grafana/agent:v0.39.1
image: quay.io/grafana/agent:v0.39.2
imagePullPolicy: IfNotPresent
args:
- run
Expand All @@ -51,6 +51,7 @@ spec:
httpGet:
path: /-/ready
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
volumeMounts:
Expand Down
Loading

0 comments on commit 91f4ff0

Please sign in to comment.