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
|
// Exclude system namespaces
|
||||||
config.API.Namespaces.Exclude = []string{"istio-system", "kubesphere*", "kube*"}
|
config.API.Namespaces.Exclude = []string{"istio-system", "kube-.*"}
|
||||||
config.InCluster = true
|
config.InCluster = true
|
||||||
|
|
||||||
// Set default prometheus service url
|
// Set default prometheus service url
|
||||||
|
|||||||
Reference in New Issue
Block a user