Improve documentation and testing for PodMonitors (#317)
* Imrpove documentation and testing for PodMonitors * Fix missed references and a typo ### Motivation Before upgrading to 3.0.0, we want to make sure the kube-prometheus-stack is well documented. ### Modifications * Update tests and examples to fully disable `PodMonitors` and the installation of the kube-prometheus-stack CRDs. ### Verifying this change The current tests will cover these changes.
This commit is contained in:
parent
35090ec822
commit
a963e736fc
@ -19,6 +19,14 @@
|
|||||||
|
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
# disabled AntiAffinity
|
# disabled AntiAffinity
|
||||||
affinity:
|
affinity:
|
||||||
@ -31,9 +39,15 @@ components:
|
|||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
bookkeeper:
|
bookkeeper:
|
||||||
replicaCount: 3
|
replicaCount: 3
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
diskUsageThreshold: "0.999"
|
diskUsageThreshold: "0.999"
|
||||||
diskUsageWarnThreshold: "0.999"
|
diskUsageWarnThreshold: "0.999"
|
||||||
@ -42,6 +56,9 @@ bookkeeper:
|
|||||||
|
|
||||||
broker:
|
broker:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
||||||
## without persistence
|
## without persistence
|
||||||
@ -51,8 +68,16 @@ broker:
|
|||||||
managedLedgerDefaultWriteQuorum: "1"
|
managedLedgerDefaultWriteQuorum: "1"
|
||||||
managedLedgerDefaultAckQuorum: "1"
|
managedLedgerDefaultAckQuorum: "1"
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
toolset:
|
toolset:
|
||||||
useProxy: false
|
useProxy: false
|
||||||
|
|||||||
@ -19,6 +19,14 @@
|
|||||||
|
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
# disabled AntiAffinity
|
# disabled AntiAffinity
|
||||||
affinity:
|
affinity:
|
||||||
|
|||||||
@ -19,6 +19,14 @@
|
|||||||
|
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
# disabled AntiAffinity
|
# disabled AntiAffinity
|
||||||
affinity:
|
affinity:
|
||||||
@ -31,9 +39,15 @@ components:
|
|||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
bookkeeper:
|
bookkeeper:
|
||||||
replicaCount: 3
|
replicaCount: 3
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
diskUsageThreshold: "0.999"
|
diskUsageThreshold: "0.999"
|
||||||
diskUsageWarnThreshold: "0.999"
|
diskUsageWarnThreshold: "0.999"
|
||||||
@ -42,6 +56,9 @@ bookkeeper:
|
|||||||
|
|
||||||
broker:
|
broker:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
||||||
## without persistence
|
## without persistence
|
||||||
@ -54,8 +71,16 @@ broker:
|
|||||||
PF_functionInstanceMinResources_ram: "268435456"
|
PF_functionInstanceMinResources_ram: "268435456"
|
||||||
PF_functionInstanceMinResources_disk: "268435456"
|
PF_functionInstanceMinResources_disk: "268435456"
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
toolset:
|
toolset:
|
||||||
useProxy: false
|
useProxy: false
|
||||||
|
|||||||
@ -19,6 +19,14 @@
|
|||||||
|
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
# disabled AntiAffinity
|
# disabled AntiAffinity
|
||||||
affinity:
|
affinity:
|
||||||
@ -31,9 +39,15 @@ components:
|
|||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
bookkeeper:
|
bookkeeper:
|
||||||
replicaCount: 2
|
replicaCount: 2
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
diskUsageThreshold: "0.999"
|
diskUsageThreshold: "0.999"
|
||||||
diskUsageWarnThreshold: "0.999"
|
diskUsageWarnThreshold: "0.999"
|
||||||
@ -42,6 +56,9 @@ bookkeeper:
|
|||||||
|
|
||||||
broker:
|
broker:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
||||||
## without persistence
|
## without persistence
|
||||||
@ -51,8 +68,16 @@ broker:
|
|||||||
managedLedgerDefaultWriteQuorum: "1"
|
managedLedgerDefaultWriteQuorum: "1"
|
||||||
managedLedgerDefaultAckQuorum: "1"
|
managedLedgerDefaultAckQuorum: "1"
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
toolset:
|
toolset:
|
||||||
useProxy: false
|
useProxy: false
|
||||||
|
|||||||
@ -19,6 +19,14 @@
|
|||||||
|
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
# disabled AntiAffinity
|
# disabled AntiAffinity
|
||||||
affinity:
|
affinity:
|
||||||
@ -31,9 +39,15 @@ components:
|
|||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
bookkeeper:
|
bookkeeper:
|
||||||
replicaCount: 3
|
replicaCount: 3
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
diskUsageThreshold: "0.999"
|
diskUsageThreshold: "0.999"
|
||||||
diskUsageWarnThreshold: "0.999"
|
diskUsageWarnThreshold: "0.999"
|
||||||
@ -42,6 +56,9 @@ bookkeeper:
|
|||||||
|
|
||||||
broker:
|
broker:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
||||||
## without persistence
|
## without persistence
|
||||||
@ -51,8 +68,16 @@ broker:
|
|||||||
managedLedgerDefaultWriteQuorum: "1"
|
managedLedgerDefaultWriteQuorum: "1"
|
||||||
managedLedgerDefaultAckQuorum: "1"
|
managedLedgerDefaultAckQuorum: "1"
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
toolset:
|
toolset:
|
||||||
useProxy: false
|
useProxy: false
|
||||||
|
|||||||
@ -19,6 +19,14 @@
|
|||||||
|
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
# disabled AntiAffinity
|
# disabled AntiAffinity
|
||||||
affinity:
|
affinity:
|
||||||
@ -31,9 +39,15 @@ components:
|
|||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
bookkeeper:
|
bookkeeper:
|
||||||
replicaCount: 3
|
replicaCount: 3
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
diskUsageThreshold: "0.999"
|
diskUsageThreshold: "0.999"
|
||||||
diskUsageWarnThreshold: "0.999"
|
diskUsageWarnThreshold: "0.999"
|
||||||
@ -42,6 +56,9 @@ bookkeeper:
|
|||||||
|
|
||||||
broker:
|
broker:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
||||||
## without persistence
|
## without persistence
|
||||||
@ -51,8 +68,16 @@ broker:
|
|||||||
managedLedgerDefaultWriteQuorum: "1"
|
managedLedgerDefaultWriteQuorum: "1"
|
||||||
managedLedgerDefaultAckQuorum: "1"
|
managedLedgerDefaultAckQuorum: "1"
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
toolset:
|
toolset:
|
||||||
useProxy: false
|
useProxy: false
|
||||||
|
|||||||
@ -19,6 +19,14 @@
|
|||||||
|
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
persistence: false
|
persistence: false
|
||||||
@ -34,9 +42,15 @@ components:
|
|||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
bookkeeper:
|
bookkeeper:
|
||||||
replicaCount: 3
|
replicaCount: 3
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
diskUsageThreshold: "0.999"
|
diskUsageThreshold: "0.999"
|
||||||
diskUsageWarnThreshold: "0.999"
|
diskUsageWarnThreshold: "0.999"
|
||||||
@ -45,6 +59,9 @@ bookkeeper:
|
|||||||
|
|
||||||
broker:
|
broker:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
||||||
## without persistence
|
## without persistence
|
||||||
@ -54,8 +71,16 @@ broker:
|
|||||||
managedLedgerDefaultWriteQuorum: "1"
|
managedLedgerDefaultWriteQuorum: "1"
|
||||||
managedLedgerDefaultAckQuorum: "1"
|
managedLedgerDefaultAckQuorum: "1"
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
toolset:
|
toolset:
|
||||||
useProxy: false
|
useProxy: false
|
||||||
@ -19,6 +19,14 @@
|
|||||||
|
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
# disabled AntiAffinity
|
# disabled AntiAffinity
|
||||||
affinity:
|
affinity:
|
||||||
@ -31,9 +39,15 @@ components:
|
|||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
bookkeeper:
|
bookkeeper:
|
||||||
replicaCount: 3
|
replicaCount: 3
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
diskUsageThreshold: "0.999"
|
diskUsageThreshold: "0.999"
|
||||||
diskUsageWarnThreshold: "0.999"
|
diskUsageWarnThreshold: "0.999"
|
||||||
@ -42,6 +56,9 @@ bookkeeper:
|
|||||||
|
|
||||||
broker:
|
broker:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
||||||
## without persistence
|
## without persistence
|
||||||
@ -51,8 +68,16 @@ broker:
|
|||||||
managedLedgerDefaultWriteQuorum: "1"
|
managedLedgerDefaultWriteQuorum: "1"
|
||||||
managedLedgerDefaultAckQuorum: "1"
|
managedLedgerDefaultAckQuorum: "1"
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
toolset:
|
toolset:
|
||||||
useProxy: false
|
useProxy: false
|
||||||
|
|||||||
@ -19,6 +19,14 @@
|
|||||||
|
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
# disabled AntiAffinity
|
# disabled AntiAffinity
|
||||||
affinity:
|
affinity:
|
||||||
@ -31,9 +39,15 @@ components:
|
|||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
bookkeeper:
|
bookkeeper:
|
||||||
replicaCount: 3
|
replicaCount: 3
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
diskUsageThreshold: "0.999"
|
diskUsageThreshold: "0.999"
|
||||||
diskUsageWarnThreshold: "0.999"
|
diskUsageWarnThreshold: "0.999"
|
||||||
@ -42,6 +56,9 @@ bookkeeper:
|
|||||||
|
|
||||||
broker:
|
broker:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
||||||
## without persistence
|
## without persistence
|
||||||
@ -51,8 +68,16 @@ broker:
|
|||||||
managedLedgerDefaultWriteQuorum: "1"
|
managedLedgerDefaultWriteQuorum: "1"
|
||||||
managedLedgerDefaultAckQuorum: "1"
|
managedLedgerDefaultAckQuorum: "1"
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
toolset:
|
toolset:
|
||||||
useProxy: false
|
useProxy: false
|
||||||
|
|||||||
@ -19,6 +19,14 @@
|
|||||||
|
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
# disabled AntiAffinity
|
# disabled AntiAffinity
|
||||||
affinity:
|
affinity:
|
||||||
@ -31,9 +39,15 @@ components:
|
|||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
bookkeeper:
|
bookkeeper:
|
||||||
replicaCount: 3
|
replicaCount: 3
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
diskUsageThreshold: "0.999"
|
diskUsageThreshold: "0.999"
|
||||||
diskUsageWarnThreshold: "0.999"
|
diskUsageWarnThreshold: "0.999"
|
||||||
@ -42,6 +56,9 @@ bookkeeper:
|
|||||||
|
|
||||||
broker:
|
broker:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
configData:
|
configData:
|
||||||
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
|
||||||
## without persistence
|
## without persistence
|
||||||
@ -51,8 +68,16 @@ broker:
|
|||||||
managedLedgerDefaultWriteQuorum: "1"
|
managedLedgerDefaultWriteQuorum: "1"
|
||||||
managedLedgerDefaultAckQuorum: "1"
|
managedLedgerDefaultAckQuorum: "1"
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
toolset:
|
toolset:
|
||||||
useProxy: false
|
useProxy: false
|
||||||
|
|||||||
25
README.md
25
README.md
@ -36,8 +36,8 @@ This Helm Chart includes all the components of Apache Pulsar for a complete expe
|
|||||||
- [x] Proxies
|
- [x] Proxies
|
||||||
- [x] Management & monitoring components:
|
- [x] Management & monitoring components:
|
||||||
- [x] Pulsar Manager
|
- [x] Pulsar Manager
|
||||||
- [x] Prometheus
|
- [x] Optional PodMonitors for each component (enabled by default)
|
||||||
- [x] Grafana
|
- [x] [Kube-Prometheus-Stack](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack) (as of 3.0.0)
|
||||||
|
|
||||||
It includes support for:
|
It includes support for:
|
||||||
|
|
||||||
@ -164,6 +164,27 @@ You can also checkout out the example values file for different deployments.
|
|||||||
- [Deploy a Pulsar cluster with JWT authentication using symmetric key](examples/values-jwt-symmetric.yaml)
|
- [Deploy a Pulsar cluster with JWT authentication using symmetric key](examples/values-jwt-symmetric.yaml)
|
||||||
- [Deploy a Pulsar cluster with JWT authentication using asymmetric key](examples/values-jwt-asymmetric.yaml)
|
- [Deploy a Pulsar cluster with JWT authentication using asymmetric key](examples/values-jwt-asymmetric.yaml)
|
||||||
|
|
||||||
|
## Disabling Kube-Prometheus-Stack CRDs
|
||||||
|
|
||||||
|
In order to disable the kube-prometheus-stack fully, it is necessary to add the following to your `values.yaml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
kube-prometheus-stack:
|
||||||
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
```
|
||||||
|
|
||||||
|
Otherwise, the helm chart installation will attempt to install the CRDs for the kube-prometheus-stack. Additionally,
|
||||||
|
you'll need to disable each of the component's `PodMonitors`. This is shown in some [examples](./examples) and is
|
||||||
|
verified in some [tests](./.ci/clusters).
|
||||||
|
|
||||||
## Upgrading
|
## Upgrading
|
||||||
|
|
||||||
Once your Pulsar Chart is installed, configuration changes and chart
|
Once your Pulsar Chart is installed, configuration changes and chart
|
||||||
|
|||||||
@ -39,8 +39,19 @@ components:
|
|||||||
## disable monitoring stack
|
## disable monitoring stack
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
volumes:
|
volumes:
|
||||||
# use a persistent volume or emptyDir
|
# use a persistent volume or emptyDir
|
||||||
persistence: true
|
persistence: true
|
||||||
@ -61,6 +72,9 @@ zookeeper:
|
|||||||
# provisioner: kubernetes.io/gce-pd
|
# provisioner: kubernetes.io/gce-pd
|
||||||
bookkeeper:
|
bookkeeper:
|
||||||
replicaCount: 3
|
replicaCount: 3
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
volumes:
|
volumes:
|
||||||
# use a persistent volume or emptyDir
|
# use a persistent volume or emptyDir
|
||||||
persistence: true
|
persistence: true
|
||||||
@ -78,3 +92,18 @@ bookkeeper:
|
|||||||
## If you already have an existent storage class and want to reuse it, you can specify its name with the option below
|
## If you already have an existent storage class and want to reuse it, you can specify its name with the option below
|
||||||
##
|
##
|
||||||
storageClassName: gp2
|
storageClassName: gp2
|
||||||
|
|
||||||
|
broker:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
proxy:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|||||||
@ -38,4 +38,37 @@ components:
|
|||||||
|
|
||||||
## disable monitoring stack
|
## disable monitoring stack
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
zookeeper:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
bookkeeper:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
broker:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
proxy:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
@ -29,4 +29,37 @@ components:
|
|||||||
|
|
||||||
## disable monitoring stack
|
## disable monitoring stack
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
zookeeper:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
bookkeeper:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
broker:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
proxy:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
@ -39,11 +39,22 @@ components:
|
|||||||
## disable monitoring stack
|
## disable monitoring stack
|
||||||
kube-prometheus-stack:
|
kube-prometheus-stack:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
prometheusOperator:
|
||||||
|
enabled: false
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
alertmanager:
|
||||||
|
enabled: false
|
||||||
|
prometheus:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
# External zookeeper server list in case of global-zk list to create zk cluster across zk deployed on different clusters/namespaces
|
# External zookeeper server list in case of global-zk list to create zk cluster across zk deployed on different clusters/namespaces
|
||||||
# Example value: "us-east1-pulsar-zookeeper-0.us-east1-pulsar-zookeeper.us-east1.svc.cluster.local:2888:3888,us-east1-pulsar-zookeeper-1.us-east1-pulsar-zookeeper.us-east1.svc.cluster.local:2888:3888,us-east1-pulsar-zookeeper-2.us-east1-pulsar-zookeeper.us-east1.svc.cluster.local:2888:3888,us-west1-pulsar-zookeeper-0.us-west1-pulsar-zookeeper.us-west1.svc.cluster.local:2888:3888,us-west1-pulsar-zookeeper-1.us-west1-pulsar-zookeeper.us-west1.svc.cluster.local:2888:3888,us-west1-pulsar-zookeeper-2.us-west1-pulsar-zookeeper.us-west1.svc.cluster.local:2888:3888"
|
# Example value: "us-east1-pulsar-zookeeper-0.us-east1-pulsar-zookeeper.us-east1.svc.cluster.local:2888:3888,us-east1-pulsar-zookeeper-1.us-east1-pulsar-zookeeper.us-east1.svc.cluster.local:2888:3888,us-east1-pulsar-zookeeper-2.us-east1-pulsar-zookeeper.us-east1.svc.cluster.local:2888:3888,us-west1-pulsar-zookeeper-0.us-west1-pulsar-zookeeper.us-west1.svc.cluster.local:2888:3888,us-west1-pulsar-zookeeper-1.us-west1-pulsar-zookeeper.us-west1.svc.cluster.local:2888:3888,us-west1-pulsar-zookeeper-2.us-west1-pulsar-zookeeper.us-west1.svc.cluster.local:2888:3888"
|
||||||
externalZookeeperServerList: ""
|
externalZookeeperServerList: ""
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
volumes:
|
volumes:
|
||||||
# use a persistent volume or emptyDir
|
# use a persistent volume or emptyDir
|
||||||
persistence: true
|
persistence: true
|
||||||
@ -62,3 +73,23 @@ zookeeper:
|
|||||||
# type: pd-ssd
|
# type: pd-ssd
|
||||||
# fsType: xfs
|
# fsType: xfs
|
||||||
# provisioner: kubernetes.io/gce-pd
|
# provisioner: kubernetes.io/gce-pd
|
||||||
|
|
||||||
|
bookkeeper:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
autorecovery:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
broker:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
proxy:
|
||||||
|
# Disable pod monitor since we're disabling CRD installation
|
||||||
|
podMonitor:
|
||||||
|
enabled: false
|
||||||
Loading…
x
Reference in New Issue
Block a user