just filter out kube-* namespaces
Signed-off-by: zackzhangkai <zackzhang@yunify.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user