未验证 提交 9548e251 编写于 作者: Z zryfish 提交者: GitHub

Merge pull request #300 from zryfish/fix_kiali_config

fix kiali config
......@@ -95,7 +95,7 @@ func initializeKialiConfig(s *options.ServerRunOptions) {
// Exclude system namespaces
config.API.Namespaces.Exclude = []string{"istio-system", "kubesphere*", "kube*"}
config.InCluster = false
config.InCluster = true
// Set default prometheus service url
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/operations/install"
_ "kubesphere.io/kubesphere/pkg/apis/resources/install"
_ "kubesphere.io/kubesphere/pkg/apis/servicemesh/metrics/install"
)
var output string
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册