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 -
```
## 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
### cert-manager

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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