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
|
||||
namespace: monitoring
|
||||
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:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
|
||||
Reference in New Issue
Block a user