prometheus: Increase PV allowance, update helm chart

This commit is contained in:
Rob Watson 2022-11-08 19:06:22 +01:00
parent 79fb5554ec
commit c41804f3f3
24 changed files with 41 additions and 27 deletions

View File

@ -24,6 +24,17 @@ and applied with:
make dev | kubectl apply -f - make dev | kubectl apply -f -
``` ```
## Helm charts
When required, helm charts can be inflated with:
```
# install or update the prometheus helm chart:
make inflate name=prometheus chart=prometheus-community/prometheus
```
An optional values file can be provided in `deploy/base/values/prometheus.yaml` (update the helm chart name accordingly).
## Cluster setup ## Cluster setup
### cert-manager ### cert-manager

View File

@ -7,7 +7,7 @@ metadata:
component: "alertmanager" component: "alertmanager"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-alertmanager name: prometheus-alertmanager
rules: rules:

View File

@ -7,7 +7,7 @@ metadata:
component: "alertmanager" component: "alertmanager"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-alertmanager name: prometheus-alertmanager
subjects: subjects:

View File

@ -7,7 +7,7 @@ metadata:
component: "alertmanager" component: "alertmanager"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-alertmanager name: prometheus-alertmanager
namespace: default namespace: default

View File

@ -7,7 +7,7 @@ metadata:
component: "alertmanager" component: "alertmanager"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-alertmanager name: prometheus-alertmanager
namespace: default namespace: default
@ -24,7 +24,7 @@ spec:
component: "alertmanager" component: "alertmanager"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
spec: spec:
serviceAccountName: prometheus-alertmanager serviceAccountName: prometheus-alertmanager

View File

@ -7,7 +7,7 @@ metadata:
component: "alertmanager" component: "alertmanager"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-alertmanager name: prometheus-alertmanager
namespace: default namespace: default

View File

@ -7,7 +7,7 @@ metadata:
component: "alertmanager" component: "alertmanager"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-alertmanager name: prometheus-alertmanager
namespace: default namespace: default

View File

@ -7,7 +7,7 @@ metadata:
component: "alertmanager" component: "alertmanager"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-alertmanager name: prometheus-alertmanager
namespace: default namespace: default

View File

@ -7,7 +7,7 @@ metadata:
component: "node-exporter" component: "node-exporter"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-node-exporter name: prometheus-node-exporter
namespace: default namespace: default
@ -25,7 +25,7 @@ spec:
component: "node-exporter" component: "node-exporter"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
spec: spec:
serviceAccountName: prometheus-node-exporter serviceAccountName: prometheus-node-exporter

View File

@ -7,7 +7,7 @@ metadata:
component: "node-exporter" component: "node-exporter"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-node-exporter name: prometheus-node-exporter
namespace: default namespace: default

View File

@ -9,7 +9,7 @@ metadata:
component: "node-exporter" component: "node-exporter"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-node-exporter name: prometheus-node-exporter
namespace: default namespace: default

View File

@ -7,7 +7,7 @@ metadata:
component: "pushgateway" component: "pushgateway"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-pushgateway name: prometheus-pushgateway
rules: rules:

View File

@ -7,7 +7,7 @@ metadata:
component: "pushgateway" component: "pushgateway"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-pushgateway name: prometheus-pushgateway
subjects: subjects:

View File

@ -7,7 +7,7 @@ metadata:
component: "pushgateway" component: "pushgateway"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-pushgateway name: prometheus-pushgateway
namespace: default namespace: default
@ -24,7 +24,7 @@ spec:
component: "pushgateway" component: "pushgateway"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
spec: spec:
serviceAccountName: prometheus-pushgateway serviceAccountName: prometheus-pushgateway

View File

@ -9,7 +9,7 @@ metadata:
component: "pushgateway" component: "pushgateway"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-pushgateway name: prometheus-pushgateway
namespace: default namespace: default

View File

@ -7,7 +7,7 @@ metadata:
component: "pushgateway" component: "pushgateway"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-pushgateway name: prometheus-pushgateway
namespace: default namespace: default

View File

@ -7,7 +7,7 @@ metadata:
component: "server" component: "server"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-server name: prometheus-server
rules: rules:

View File

@ -7,7 +7,7 @@ metadata:
component: "server" component: "server"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-server name: prometheus-server
subjects: subjects:

View File

@ -7,7 +7,7 @@ metadata:
component: "server" component: "server"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-server name: prometheus-server
namespace: default namespace: default

View File

@ -7,7 +7,7 @@ metadata:
component: "server" component: "server"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-server name: prometheus-server
namespace: default namespace: default
@ -24,7 +24,7 @@ spec:
component: "server" component: "server"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
spec: spec:
enableServiceLinks: true enableServiceLinks: true

View File

@ -7,7 +7,7 @@ metadata:
component: "server" component: "server"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-server name: prometheus-server
namespace: default namespace: default
@ -16,4 +16,4 @@ spec:
- ReadWriteOnce - ReadWriteOnce
resources: resources:
requests: requests:
storage: "8Gi" storage: "16Gi"

View File

@ -7,7 +7,7 @@ metadata:
component: "server" component: "server"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-server name: prometheus-server
namespace: default namespace: default

View File

@ -7,7 +7,7 @@ metadata:
component: "server" component: "server"
app: prometheus app: prometheus
release: prometheus release: prometheus
chart: prometheus-15.8.5 chart: prometheus-15.8.6
heritage: Helm heritage: Helm
name: prometheus-server name: prometheus-server
namespace: default namespace: default

View File

@ -0,0 +1,3 @@
server:
persistentVolume:
size: 16Gi