参数 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | UpdateUpstreamSource | 接口名称。当前 API 的名称为 UpdateUpstreamSource。 |
Version | String | 是 | 2021-03-03 | 接口版本。当前 API 的版本为 2021-03-03。 |
Id | String | 是 | ust7**** | |
Comments | String | 否 | example | Upstream 来源备注信息。长度限制为 0~253 个字符。 |
IngressSettings | 否 | - | 路由同步。 说明 当SourceType取值为K8S时,需要配置本参数。 | |
WatchNamespaces | Array of String | 否 | ["default"] | 指定命名空间。 说明 当SourceType取值为K8S时,需要配置本参数。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
EnableIngress | Boolean | 否 | true | 是否开启路由同步。取值:
说明
|
EnableAllIngressClasses | Boolean | 否 | false | 是否设置为全部 IngressClass。取值:
|
IngressClasses | Array of String | 否 | ["example"] | 指定 IngressClass。
说明 当IngressSettings.EnableAllIngressClasses取值为false时,需要配置本参数。 |
EnableIngressWithoutIngressClass | Boolean | 否 | false | 是否开启监听 IngressClass 为空的资源。取值:
说明 当IngressSettings.EnableAllIngressClasses取值为false时,需要配置本参数。 |
EnableAllNamespaces | Boolean | 否 | false | 是否设置为全部命名空间。取值:
|
WatchNamespaces | Array of String | 否 | ["default"] | 指定命名空间。 说明 当IngressSettings.EnableAllNamespaces取值为false时,需要配置本参数。 |
UpdateStatus | Boolean | 否 | false | 是否开启流量入口切换。取值:
说明
|
参数 | 类型 | 示例值 | 描述 |
Id | String | ust7**** | Upstream来源ID。 |