fix(prometheus): set monitoring ns privileged via managedNamespaceMetadata — node-exporter hostNetwork/hostPID/hostPath blocked by baseline PSS
This commit is contained in:
@@ -100,6 +100,11 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
managedNamespaceMetadata:
|
||||||
|
# node-exporter needs hostNetwork/hostPID/hostPath/hostPort; blocked by
|
||||||
|
# default baseline PSS (DaemonSet created 0 pods, Prometheus STS stuck).
|
||||||
|
labels:
|
||||||
|
pod-security.kubernetes.io/enforce: privileged
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
|
|||||||
Reference in New Issue
Block a user