fix kiali config
This commit is contained in:
@@ -95,7 +95,7 @@ func initializeKialiConfig(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", "kubesphere*", "kube*"}
|
||||||
config.InCluster = false
|
config.InCluster = true
|
||||||
|
|
||||||
// Set default prometheus service url
|
// Set default prometheus service url
|
||||||
config.ExternalServices.PrometheusServiceURL = "http://prometheus.kubesphere-monitoring-system.svc:9090"
|
config.ExternalServices.PrometheusServiceURL = "http://prometheus.kubesphere-monitoring-system.svc:9090"
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ import (
|
|||||||
_ "kubesphere.io/kubesphere/pkg/apis/metrics/install"
|
_ "kubesphere.io/kubesphere/pkg/apis/metrics/install"
|
||||||
_ "kubesphere.io/kubesphere/pkg/apis/operations/install"
|
_ "kubesphere.io/kubesphere/pkg/apis/operations/install"
|
||||||
_ "kubesphere.io/kubesphere/pkg/apis/resources/install"
|
_ "kubesphere.io/kubesphere/pkg/apis/resources/install"
|
||||||
|
_ "kubesphere.io/kubesphere/pkg/apis/servicemesh/metrics/install"
|
||||||
)
|
)
|
||||||
|
|
||||||
var output string
|
var output string
|
||||||
|
|||||||
Reference in New Issue
Block a user