要手动安装 Kiali 请参考Kiali helm安装
同时你还需要安装 prometheus、grafana 和 jaeger
最终目标是让 Kiali 能正确查询流量
完整的配置
auth:
openid: {}
openshift:
client_id_prefix: kiali
strategy: anonymous
deployment:
accessible_namespaces:
- '**'
additional_service_yaml: {}
affinity:
node: {}
pod: {}
pod_anti: {}
custom_dashboards:
excludes:
- ""
includes:
- '*'
hpa:
api_version: autoscaling/v2beta2
spec: {}
image_pull_policy: Always
image_pull_secrets: []
ingress_enabled: false
logger:
log_format: text
log_level: info
sampler_rate: "1"
time_field_format: 2006-01-02T15:04:05Z07:00
namespace: istio-system
node_selector: {}
override_ingress_yaml:
metadata: {}
pod_annotations: {}
pod_labels: {}
priority_class_name: ""
replicas: 1
repository: rancher/mirrored-kiali-kiali
resources: {}
secret_name: kiali
service_annotations: {}
service_type: ""
tag: v1.32.0
tolerations: []
version_label: v1.32.0
view_only_mode: false
enabled: true
external_services:
custom_dashboards:
enabled: true
grafana:
in_cluster_url: http://grafana.grafana.svc:80
url: http://grafana.grafana.svc:80
prometheus:
custom_metrics_url: http://pro.prometheus.svc:9090
url: http://pro.prometheus.svc:9090
tracing:
in_cluster_url: http://tracing.istio-system.svc:16686/jaeger
global:
cattle:
clusterId: local
clusterName: local
rkePathPrefix: ""
rkeWindowsPathPrefix: ""
systemDefaultRegistry: ""
url: https://krancher.com
defaultPodDisruptionBudget:
enabled: true
proxy:
repository: rancher/mirrored-istio-proxyv2
tag: 1.9.3
proxy_init:
repository: rancher/mirrored-istio-proxyv2
tag: 1.9.3
rbac:
pspEnabled: false
systemDefaultRegistry: ""
identity:
cert_file: ""
private_key_file: ""
istio_namespace: istio-system
login_token:
signing_key: sc5QF1IE4Q3X1zF6
server:
metrics_enabled: true
metrics_port: 9090
port: 20001
web_root: /kiali
web_root_override: true
其中重点是
grafana:
in_cluster_url: http://grafana.grafana.svc:80
url: http://grafana.grafana.svc:80
prometheus:
custom_metrics_url: http://pro.prometheus.svc:9090
url: http://pro.prometheus.svc:9090
tracing:
in_cluster_url: http://tracing.istio-system.svc:16686/jaeger
grafana 地址实际上就是 控制台 地址
prometheus 地址也是 控制台 地址
jaeger 地址 也是 控制台 地址