solaroperator 配置详解
#
用于Istio控制平面安装版本配置。
#
SolarOperatorSpec
#
SolarOperatorSpec定义所需的SolarMesh组件安装状态。该规范用于定义每个Istio版本随附的默认配置文件值的自定义。因为该规范是自定义API,所以指定空的SolarOperatorSpec会导致默认的Istio组件值。
apiVersion: install.solar.io/v1alpha1
kind: SolarOperator
metadata:
namespace: service-mesh
name: example
spec:
namespace: service-mesh
name: default
profile: default
hub: registry.cn-shenzhen.aliyuncs.com/solarmesh
addonComponents:
prometheusOperator:
enabled: false
tag: latest
namespace: monitoring
grafana:
enable: false
tag: latest
namespace: monitoring
components:
istioOperator:
enabled: true
tag: 1.6.0
namespace: istio-operator
istio:
name: example
enabled: true
namespace: istio-system
prometheus:
enabled: true
tag: v2.15.1
kiali:
enabled: false
tag: v1.18
ingressGateway:
enabled: true
type: LoadBalancer
# externalIPs:
# - 10.10.13.31
egressGateway:
enabled: true
istiocoredns:
coreDNSTag: 1.6.2
pluginHub: istio
pluginHubTag: 0.2-istio-1.1
networking-agent:
enabled: true
tag: 0.1.0
namespace: service-mesh
solarGraph:
enabled: true
tag: 0.0.3
namespace: service-mesh
prometheusUrl: http://prometheus.istio-system:9090
prometheusNamespace: istio-system
SolarOperator 字段说明
#
字段说明
name |
类型 |
描述 |
是否必须 |
name |
string |
solar 的名称应该与 cluster CR 的名称保持一致 |
true |
namespace |
string |
要将控制平面资源安装到的命名空间。如果未设置,则solar mesher将安装到与则Solar OperatorCR相同的名称空间中。 |
true |
profile |
string |
配置文件的路径或名称 |
true |
addonComponents |
addonComponents |
上面未明确指定的其他附加组件。 |
true |
components |
components |
上面未明确指定的其他附加组件。 |
true |
hub |
string |
默认的组件的集线器(覆盖顶级集线器设置) |
false |
addonComponents 字段说明
#
附加组件
name |
类型 |
描述 |
是否必须 |
prometheusOperator |
prometheusOperator |
见下面的说明 |
true |
grafana |
grafana |
见下面的说明 |
true |
prometheusOperator 字段说明
#
name |
类型 |
描述 |
是否必须 |
enabled |
bool |
选择是否安装此组件。 |
true |
hub |
string |
组件的集线器(覆盖顶级集线器设置) |
false |
tag |
string |
组件的标签(覆盖顶级标签设置)。 |
true |
namespace |
string |
prometheusOperator所存在 命名空间的位置 |
true |
grafana 字段说明
#
name |
类型 |
描述 |
是否必须 |
enabled |
bool |
选择是否安装此组件。 |
true |
hub |
string |
组件的集线器(覆盖顶级集线器设置) |
true |
tag |
string |
组件的标签(覆盖顶级标签设置)。 |
true |
namespace |
string |
prometheusOperator所存在 命名空间的位置 |
true |
components
#
name |
类型 |
描述 |
是否必须 |
istioOperator |
istioOperator |
istioOperator组件说明如下 |
true |
istio |
istio |
istio组件说明如下 |
true |
networking-agent |
networking-agent |
networking-agent组件说明如下 |
true |
solarGraph |
solarGraph |
kiali组件说明如下 |
true |
istioOperator
#
name |
类型 |
描述 |
是否必须 |
enabled |
bool |
选择是否安装此组件。 |
true |
hub |
string |
组件的集线器(覆盖顶级集线器设置) |
true |
tag |
string |
组件的标签(覆盖顶级标签设置)。 |
true |
namespace |
string |
prometheusOperator所存在 命名空间的位置 |
true |
solarGraph
#
name |
类型 |
描述 |
是否必须 |
enabled |
bool |
选择是否安装此组件。 |
true |
hub |
string |
组件的集线器(覆盖顶级集线器设置) |
true |
tag |
string |
组件的标签(覆盖顶级标签设置)。 |
true |
prometheusUrl |
string |
promethues的访问地址 |
true |
prometheusNamespace |
promethues的访问地址 |
true |
|
istio
#