Customize

自定义安装 #

如果您的Istio、kiali、Prometheus安装在非 istio-system中,在创建 SolarOperator的时候,需要参考我以下的配置去进行配置安装。

apiVersion: install.solar.io/v1alpha1
kind: SolarOperator
metadata:
  namespace: solar-operator
  name: cluster01 
spec:
  istioVersion: "1.11" 
  profile: default
  components:
    istioOperator:
      # 当前集群istioOperator安装所在命名空间
      namespace: istio-operator
    istio:
      # 当前集群istio安装所在命名空间
      namespace: istio-system
    networking-agent:
      # 当前集群prometheus安装所在命名空间
      prometheusNamespace: istio-system
    solarGraph:
      # 当前集群prometheus安装所在命名空间
      prometheusNamespace: istio-system
      # 当前集群kiali的安装所在命名空间
      namespace: istio-system
      # 当前集群prometheus的svc地址
      prometheusUrl: http://prometheus.istio-system:9090