just filter out kube-* namespaces

Signed-off-by: zackzhangkai <zackzhang@yunify.com>
This commit is contained in:
zackzhangkai
2020-11-29 21:56:15 +08:00
parent c5de21af4a
commit d78d7f0ad0

View File

@@ -107,7 +107,7 @@ func initializeServicemeshConfig(s *options.ServerRunOptions) {
}
// Exclude system namespaces
config.API.Namespaces.Exclude = []string{"istio-system", "kubesphere*", "kube*"}
config.API.Namespaces.Exclude = []string{"istio-system", "kube-.*"}
config.InCluster = true
// Set default prometheus service url