- Agent.V1
- kubegems default alert webhookPOST
- 获取k8s api-resourcesGET
- 获取alertmanager中的告警数据GET
- 检查alertmanagerconfigPOST
- get silenceGET
- 为指定告警规则添加silencePOST
- get silenceDELETE
- rollout infoGET
- rollout infoGET
- 获取Job列表数据GET
- 获取可以绑定的环境的namespace列表数据GET
- 获取Event列表数据GET
- 获取Pod列表数据GET
- 实时获取日志STDOUT输出(websocket)GET
- 进入容器交互执行命令(websocket)GET
- 从容器下载文件GET
- upload files to containerPOST
- 获取PersistentVolumeClaim列表数据GET
- 获取PersistentVolumeClaim数据GET
- 获取Secret列表数据GET
- 自定义的NODE详情接口,(可以获取资源分配情况)GET
- 修改节点调度PATCH
- 修改node的元数据,label和annotationsPATCH
- 修改节点污点PATCH
- 调试容器(websocket)GET
- Jaeger span countGET
- Loki Alert RuleGET
- Loki LabelsGET
- Loki LabelValuesGET
- 获取Pods最近十五分钟的Metrics(从scraper获取)GET
- 获取Pods实时MetricsGET
- Loki QueryGET
- Loki QueryRangeGET
- 获取Node实时MetricsGET
- Loki SeriesGET
- 获取Nodes最近十五分钟的Metrics(从scraper获取)GET
- Loki LabelValuesGET
- 获取指定Node实时MetricsGET
- Prometheus alertruleGET
- CertInfoGET
- ComponentStatusGET
- Prometheus LabelnamesGET
- Prometheus LabelValuesGET
- Prometheus MatrixGET
- Prometheus TargetsGET
- Prometheus VectorGET
- 获取集群级别统计GET
- 获取集群级别资源统计GET
- 获取集群内各种workload的统计GET
- kubectlGET
- 获取namespaced scope workload listGET
- 获取namespaced scope workloadGET
- 创建namespaced scope workloadPUT
- 创建 none namespaced scope workloadPOST
- 创建namespaced scope workloadDELETE
- 创建namespaced scope workloadPATCH
- 扩缩容PATCH
- 获取 none namespaced scope workload listGET
- 获取 none namespaced scope workloadGET
- 创建none namespaced scope workloadPUT
- 创建namespaced scope workloadPOST
- 创建none namespaced scope workloadDELETE
- 创建none namespaced scope workloadPATCH
- nonamespace 扩缩容PATCH
- MSGBUS
- Application
- Alert
- Approve
- Appstore
- AuditLog
- AuthSource
- Cluster
- Agent.Plugin
- Environment
- NetworkIsolated
- ResourceList
- Event
- Log
- AAAAA
- LogQueryHistory
- LogQuerySnapshot
- Message
- Metrics
- User
- NOPROXY
- Project
- Project列表
- 获取项目资源统计列表[quota]
- Project详情
- 修改Project
- 删除 Project
- 获取项目下环境列表,按照集群聚合,同时获取集群的下的租户网络策略
- 获取属于 Project 的 Environment 列表
- 创建一个属于 Project 的Environment
- 获取项目下的环境资源统计列表[quota]
- 获取Project 的一个 Environment详情
- 单个环境下的资源统计[quota]
- 项目环境资源统计
- 项目非资源类型数据统计
- 获取单个项目资源统计[quota]
- 获取属于 Project 的 Registry 列表
- 创建一个属于 Project 的Registry
- 获取Project 的一个 Registry详情
- 修改Project 的 Registry
- 删除 Project 的 Registry
- 设置 Project 的 默认 Registry
- 项目资源统计
- 获取属于 Project 的 User 列表
- 在User和Project间添加关联关系
- 获取Project 的一个 User详情
- 修改 User 和 Project 的关联关系
- 删除 User 和 Project 的关系
- Registry
- Sels
- System
- SystemRole
- Tenant
- Tenant列表
- 创建Tenant
- Tenant详情
- 修改Tenant
- 删除 Tenant
- 取消激活租户,当租户为激活状态的时候才可用
- 激活租户,当租户为未激活状态的时候才可用
- 创建or修改租户集群资源变更申请
- 获取TenantGateway 列表
- 创建TenantGateway
- 获取TenantGateway
- 更新TenantGateway
- 删除TenantGateway
- 获取TenantGateway adddresses
- 获取租户下的所有Environment列表
- 搜索环境
- 获取租户下所有的环境以及资源状态
- 获取属于 Tenant 的 Project 列表
- 创建 一个属于 Tenant 的Project
- 获取Tenant 的一个 Project详情
- 租户下所有项目的资源统计列表[quota]
- 租户非资源类型统计
- 获取属于 Tenant 的 TenantResourceQuota 列表
- 创建一个属于 Tenant 的TenantResourceQuota
- 删除租户在一个集群下的资源
- 获取Tenant 的一个 TenantResourceQuota详情
- 获取租户集群资源变更申请详情
- 获取属于 Tenant 的 User 列表
- 在User和Tenant间添加关联关系
- 获取Tenant 的一个 User详情
- 修改 User 和 Tenant 的关联关系
- 删除 User 和 Tenant 的关系
- ApplicationManifest
- StrategyDeployment
- ProjectImage
- VirtualDomain
- VirtualSpace
- VirtualSpace列表GET
- 创建VirtualSpacePOST
- VirtualSpace详情GET
- 更新VirtualSpacePUT
- 删除 VirtualSpaceDELETE
- 激活/禁用VirtualSpacePATCH
- 获取虚拟空间下的环 境GET
- 向虚拟空间增加环境POST
- 从虚拟空间删除环境DELETE
- 列举 istio 资源GET
- kiali代理GET
- service列表GET
- service详情GET
- service故障注入POST
- service请求路由POST
- service超时配置POST
- service重置POST
- service tcp流量切换POST
- service流量切换POST
- workload列表GET
- 注入istio控制PUT
- 设置虚拟域名PUT
- workload详情GET
- 获取属于 VirtualSpace 的 User 列表GET
- 在User和VirtualSpace间添加关联关系POST
- 删除 User 和 VirtualSpace 的关系DELETE
- Istio
- EnvironmentObservabilityDetails
- Observability
- 导入告警规则
- 禁用告警规则
- 启用告警规则
- 生成告警规则消息
- 同步告警规则
- 告警历史
- 禁用日志告警规则
- 重复的告警记录
- namespace级日志采集器
- 启用日志告警规则
- 日志告警规则列表
- 创建日志告警规则
- 日志告警接收器列表
- 日志告警规则状态
- 日志告警规则详情
- 创建日志告警接收器
- 更新日志告警规则
- 更新日志告警接收器
- 删除日志告警规则
- 删除日志告警接收器
- 获取支持日志采集的应用及标签
- 应用级日志采集器
- 监控采集器详情
- 添加/更新监控采集器
- 删除监控采集器
- 监控告警规则列表
- 创建监控告警规则
- 监控告警规则状态
- 监控告警规则详情
- 修改监控告警规则
- (日志/监控)告警接收器列表
- 修改监控告警规则
- 创建(日志/监控)告警接收器
- 查群prometheus label names
- 发送测试邮件
- 发送测试邮件
- 监控标签值
- 更新(日志/监控)告警接收器
- 监控指标查询
- 删除(日志/监控)告警接收器
- 监控采集器状态
- 应用性能监控概览
- 应用性能监控服务
- 应用操作
- 应用请求
- 获取prometheu查询模板
- 应用traces
- 添加prometheu查询模板
- 监控面板模板列表
- OtelMetricsGraphs
- 删除prometheu查询模板
- GetTrace by trace_id
- 监控dashboard列表
- 创建监控dashboad
- 监控dashboard详情
- 更新监控dashboad
- 删除监控dashboad
- 监控dashboard panne指标查询
- 获取exporter的schema
- 监控面板模板列表
- 导入监控面板模板
- 监控面板模板详情
- 更新监控面板模板
- 删除监控面板模板
- 告警趋势图
- 告警分组统计
- 搜索告警
- 今日告警数量统计
- 告警渠道列表
- 创建告警渠道
- 渠道列表详情
- 更新告警渠道
- 删除告警渠道
- 测试告警渠道
- 获取promql模板三级目录rule
- 添加promql模板三级目录rule
- 获取promql模板三级目录rule
- 更新promql模板三级目录rule
- 删除promql模板三级目录rule
- 获取promql模板一级目录scope
- 获取promql模板二级目录resource
- 由scope,resource,rule name获取tpl
- Oauth
- Announcement
service请求路由
POST
/v1/virtualspace/{virtualspace_id}/environment/environment_id/service/{service_name}/request_routing
VirtualSpace
请求参数
Path 参数
virtualspace_id
integer
必需
environment_id
integer
必需
service_name
string
必需
Body 参数application/json
array of:
fault
object (v1alpha3.HTTPFaultInjection)
可选
abort
object (v1alpha3.HTTPFaultInjection_Abort)
可选
delay
object (v1alpha3.HTTPFaultInjection_Delay)
可选
match
array[object (v1alpha3.HTTPMatchRequest) {13}]
可选
authority
object (v1alpha3.StringMatch)
可选
gateways
array[string]
可选
in the top-level
gateways
field of the VirtualService (if any) are overridden. The gatewaymatch is independent of sourceLabels.
headers
object
可选
e.g. x-request-id.
exact: "value"
for exact string matchprefix: "value"
for prefix-based matchregex: "value"
for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).Note: The keys
uri
, scheme
, method
, and authority
will be ignored.ignore_uri_case
boolean
可选
exact
and prefix
URI matches.
method
object (v1alpha3.StringMatch)
可选
name
string
可选
concatenated with the parent route's name and will be logged in
the access logs for requests matching this route.
port
integer
可选
only expose a single port or label ports with the protocols they support,
in these cases it is not required to explicitly select the port.
query_params
object
可选
the string match could be defined as
exact: "true"
.string match could be defined as
exact: ""
.string match could be defined as
regex: "\d+$"
. Note that thisconfiguration will only match values like "123" but not "a123" or "123a".
prefix
matching is currently not supported.scheme
object (v1alpha3.StringMatch)
可选
source_labels
object
可选
with the given labels. If the VirtualService has a list of gateways specified
in the top-level
gateways
field, it must include the reserved gatewaymesh
for this field to be applicable.source_namespace
string
可选
If the VirtualService has a list of gateways specified in the top-level
gateways
field,it must include the reserved gateway
mesh
for this field to be applicable.uri
object (v1alpha3.StringMatch)
可选
without_headers
object
可选
If a header is matched with a matching rule among withoutHeader, the traffic becomes not matched one.
retries
object (v1alpha3.HTTPRetry)
可选
attempts
integer
可选
between retries will be determined automatically (25ms+). When request
timeout
of the HTTP routeor
per_try_timeout
is configured, the actual number of retries attempted also depends onthe specified request
timeout
and per_try_timeout
values.per_try_timeout
object (types.Duration)
可选
retry_on
string
可选
One or more policies can be specified using a ‘,’ delimited list.
If
retry_on
specifies a valid HTTP status, it will be added to retriable_status_codes retry policy.See the retry policies
and gRPC retry policies for more details.
retry_remote_localities
object (types.BoolValue)
可选
route
array[object (v1alpha3.HTTPRouteDestination) {3}]
可选
destination
object (v1alpha3.Destination)
可选
headers
object (v1alpha3.Headers)
可选
weight
integer
可选
weight/(sum of all weights)
requests.If there is only one destination in a rule, it will receive all traffic.
Otherwise, if weight is
0
, the destination will not receive any traffic.timeout
object (types.Duration)
可选
示例
[
{
"fault": {
"abort": {
"errorType": null,
"percentage": {
"value": 0
}
},
"delay": {
"httpDelayType": null,
"percent": 0,
"percentage": {
"value": 0
}
}
},
"match": [
{
"authority": {
"matchType": null
},
"gateways": [
"string"
],
"headers": {
"property1": {
"matchType": null
},
"property2": {
"matchType": null
}
},
"ignore_uri_case": true,
"method": {
"matchType": null
},
"name": "string",
"port": 0,
"query_params": {
"property1": {
"matchType": null
},
"property2": {
"matchType": null
}
},
"scheme": {
"matchType": null
},
"source_labels": {
"property1": "string",
"property2": "string"
},
"source_namespace": "string",
"uri": {
"matchType": null
},
"without_headers": {
"property1": {
"matchType": null
},
"property2": {
"matchType": null
}
}
}
],
"retries": {
"attempts": 0,
"per_try_timeout": {
"nanos": 0,
"seconds": 0
},
"retry_on": "string",
"retry_remote_localities": {
"value": true
}
},
"route": [
{
"destination": {
"host": "string",
"port": {
"number": 0
},
"subset": "string"
},
"headers": {
"request": {
"add": {
"property1": "string",
"property2": "string"
},
"remove": [
"string"
],
"set": {
"property1": "string",
"property2": "string"
}
},
"response": {
"add": {
"property1": "string",
"property2": "string"
},
"remove": [
"string"
],
"set": {
"property1": "string",
"property2": "string"
}
}
},
"weight": 0
}
],
"timeout": {
"nanos": 0,
"seconds": 0
}
}
]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/virtualspace//environment/environment_id/service//request_routing' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"fault": {
"abort": {
"errorType": null,
"percentage": {
"value": 0
}
},
"delay": {
"httpDelayType": null,
"percent": 0,
"percentage": {
"value": 0
}
}
},
"match": [
{
"authority": {
"matchType": null
},
"gateways": [
"string"
],
"headers": {
"property1": {
"matchType": null
},
"property2": {
"matchType": null
}
},
"ignore_uri_case": true,
"method": {
"matchType": null
},
"name": "string",
"port": 0,
"query_params": {
"property1": {
"matchType": null
},
"property2": {
"matchType": null
}
},
"scheme": {
"matchType": null
},
"source_labels": {
"property1": "string",
"property2": "string"
},
"source_namespace": "string",
"uri": {
"matchType": null
},
"without_headers": {
"property1": {
"matchType": null
},
"property2": {
"matchType": null
}
}
}
],
"retries": {
"attempts": 0,
"per_try_timeout": {
"nanos": 0,
"seconds": 0
},
"retry_on": "string",
"retry_remote_localities": {
"value": true
}
},
"route": [
{
"destination": {
"host": "string",
"port": {
"number": 0
},
"subset": "string"
},
"headers": {
"request": {
"add": {
"property1": "string",
"property2": "string"
},
"remove": [
"string"
],
"set": {
"property1": "string",
"property2": "string"
}
},
"response": {
"add": {
"property1": "string",
"property2": "string"
},
"remove": [
"string"
],
"set": {
"property1": "string",
"property2": "string"
}
}
},
"weight": 0
}
],
"timeout": {
"nanos": 0,
"seconds": 0
}
}
]'
返回响应
🟢200resp
application/json
Body
data
可选
errorData
可选
message
string
可选
Data
object
microservice.ServiceDetail
destinationRules
array[object (istio.io_client-go_pkg_apis_networking_v1alpha3.DestinationRule) {20}]
可选
service
object
v1.Service
virtualServices
array[object (istio.io_client-go_pkg_apis_networking_v1alpha3.VirtualService) {20}]
可选
workloads
array[object (models.WorkloadListItem) {15}]
可选
示例
{
"data": null,
"errorData": null,
"message": "string",
"Data": {
"destinationRules": [
{
"annotations": {
"property1": "string",
"property2": "string"
},
"apiVersion": "string",
"clusterName": "string",
"creationTimestamp": "string",
"deletionGracePeriodSeconds": 0,
"deletionTimestamp": "string",
"finalizers": [
"string"
],
"generateName": "string",
"generation": 0,
"kind": "string",
"labels": {
"property1": "string",
"property2": "string"
},
"managedFields": [
{
"apiVersion": "string",
"fieldsType": "string",
"fieldsV1": {},
"manager": "string",
"operation": "string",
"subresource": "string",
"time": "string"
}
],
"name": "string",
"namespace": "string",
"ownerReferences": [
{
"apiVersion": "string",
"blockOwnerDeletion": true,
"controller": true,
"kind": "string",
"name": "string",
"uid": "string"
}
],
"resourceVersion": "string",
"selfLink": "string",
"spec": {
"export_to": [
"string"
],
"host": "string",
"subsets": [
{
"labels": {
"property1": "string",
"property2": "string"
},
"name": "string",
"traffic_policy": {
"connection_pool": {
"http": {
"h2_upgrade_policy": 0,
"http1_max_pending_requests": 0,
"http2_max_requests": 0,
"idle_timeout": {
"nanos": 0,
"seconds": 0
},
"max_requests_per_connection": 0,
"max_retries": 0,
"use_client_protocol": true
},
"tcp": {
"connect_timeout": {
"nanos": 0,
"seconds": 0
},
"max_connections": 0,
"tcp_keepalive": {
"interval": {
"nanos": 0,
"seconds": 0
},
"probes": 0,
"time": {
"nanos": 0,
"seconds": 0
}
}
}
},
"load_balancer": {
"lbPolicy": null,
"locality_lb_setting": {
"distribute": [
{
"from": "string",
"to": {
"property1": 0,
"property2": 0
}
}
],
"enabled": {
"value": true
},
"failover": [
{
"from": "string",
"to": "string"
}
],
"failover_priority": [
"string"
]
}
},
"outlier_detection": {
"base_ejection_time": {
"nanos": 0,
"seconds": 0
},
"consecutive_5xx_errors": {
"value": 0
},
"consecutive_errors": 0,
"consecutive_gateway_errors": {
"value": 0
},
"consecutive_local_origin_failures": {
"value": 0
},
"interval": {
"nanos": 0,
"seconds": 0
},
"max_ejection_percent": 0,
"min_health_percent": 0,
"split_external_local_origin_errors": true
},
"port_level_settings": [
{
"connection_pool": {
"http": {
"h2_upgrade_policy": 0,
"http1_max_pending_requests": 0,
"http2_max_requests": 0,
"idle_timeout": {
"nanos": 0,
"seconds": 0
},
"max_requests_per_connection": 0,
"max_retries": 0,
"use_client_protocol": true
},
"tcp": {
"connect_timeout": {
"nanos": 0,
"seconds": 0
},
"max_connections": 0,
"tcp_keepalive": {
"interval": {
"nanos": 0,
"seconds": 0
},
"probes": 0,
"time": {
"nanos": 0,
"seconds": 0
}
}
}
},
"load_balancer": {
"lbPolicy": null,
"locality_lb_setting": {
"distribute": [
{
"from": "string",
"to": {}
}
],
"enabled": {
"value": true
},
"failover": [
{
"from": "string",
"to": "string"
}
],
"failover_priority": [
"string"
]
}
},
"outlier_detection": {
"base_ejection_time": {
"nanos": 0,
"seconds": 0
},
"consecutive_5xx_errors": {
"value": 0
},
"consecutive_errors": 0,
"consecutive_gateway_errors": {
"value": 0
},
"consecutive_local_origin_failures": {
"value": 0
},
"interval": {
"nanos": 0,
"seconds": 0
},
"max_ejection_percent": 0,
"min_health_percent": 0,
"split_external_local_origin_errors": true
},
"port": {
"number": 0
},
"tls": {
"ca_certificates": "string",
"client_certificate": "string",
"credential_name": "string",
"insecure_skip_verify": {
"value": true
},
"mode": 0,
"private_key": "string",
"sni": "string",
"subject_alt_names": [
"string"
]
}
}
],
"tls": {
"ca_certificates": "string",
"client_certificate": "string",
"credential_name": "string",
"insecure_skip_verify": {
"value": true
},
"mode": 0,
"private_key": "string",
"sni": "string",
"subject_alt_names": [
"string"
]
}
}
}
],
"traffic_policy": {
"connection_pool": {
"http": {
"h2_upgrade_policy": 0,
"http1_max_pending_requests": 0,
"http2_max_requests": 0,
"idle_timeout": {
"nanos": 0,
"seconds": 0
},
"max_requests_per_connection": 0,
"max_retries": 0,
"use_client_protocol": true
},
"tcp": {
"connect_timeout": {
"nanos": 0,
"seconds": 0
},
"max_connections": 0,
"tcp_keepalive": {
"interval": {
"nanos": 0,
"seconds": 0
},
"probes": 0,
"time": {
"nanos": 0,
"seconds": 0
}
}
}
},
"load_balancer": {
"lbPolicy": null,
"locality_lb_setting": {
"distribute": [
{
"from": "string",
"to": {
"property1": 0,
"property2": 0
}
}
],
"enabled": {
"value": true
},
"failover": [
{
"from": "string",
"to": "string"
}
],
"failover_priority": [
"string"
]
}
},
"outlier_detection": {
"base_ejection_time": {
"nanos": 0,
"seconds": 0
},
"consecutive_5xx_errors": {
"value": 0
},
"consecutive_errors": 0,
"consecutive_gateway_errors": {
"value": 0
},
"consecutive_local_origin_failures": {
"value": 0
},
"interval": {
"nanos": 0,
"seconds": 0
},
"max_ejection_percent": 0,
"min_health_percent": 0,
"split_external_local_origin_errors": true
},
"port_level_settings": [
{
"connection_pool": {
"http": {
"h2_upgrade_policy": 0,
"http1_max_pending_requests": 0,
"http2_max_requests": 0,
"idle_timeout": {
"nanos": 0,
"seconds": 0
},
"max_requests_per_connection": 0,
"max_retries": 0,
"use_client_protocol": true
},
"tcp": {
"connect_timeout": {
"nanos": 0,
"seconds": 0
},
"max_connections": 0,
"tcp_keepalive": {
"interval": {
"nanos": 0,
"seconds": 0
},
"probes": 0,
"time": {
"nanos": 0,
"seconds": 0
}
}
}
},
"load_balancer": {
"lbPolicy": null,
"locality_lb_setting": {
"distribute": [
{
"from": "string",
"to": {
"property1": 0,
"property2": 0
}
}
],
"enabled": {
"value": true
},
"failover": [
{
"from": "string",
"to": "string"
}
],
"failover_priority": [
"string"
]
}
},
"outlier_detection": {
"base_ejection_time": {
"nanos": 0,
"seconds": 0
},
"consecutive_5xx_errors": {
"value": 0
},
"consecutive_errors": 0,
"consecutive_gateway_errors": {
"value": 0
},
"consecutive_local_origin_failures": {
"value": 0
},
"interval": {
"nanos": 0,
"seconds": 0
},
"max_ejection_percent": 0,
"min_health_percent": 0,
"split_external_local_origin_errors": true
},
"port": {
"number": 0
},
"tls": {
"ca_certificates": "string",
"client_certificate": "string",
"credential_name": "string",
"insecure_skip_verify": {
"value": true
},
"mode": 0,
"private_key": "string",
"sni": "string",
"subject_alt_names": [
"string"
]
}
}
],
"tls": {
"ca_certificates": "string",
"client_certificate": "string",
"credential_name": "string",
"insecure_skip_verify": {
"value": true
},
"mode": 0,
"private_key": "string",
"sni": "string",
"subject_alt_names": [
"string"
]
}
}
},
"status": {
"conditions": [
{
"last_probe_time": {
"nanos": 0,
"seconds": 0
},
"last_transition_time": {
"nanos": 0,
"seconds": 0
},
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"observed_generation": 0,
"validation_messages": [
{
"documentation_url": "string",
"level": 0,
"type": {
"code": "string",
"name": "string"
}
}
]
},
"uid": "string"
}
],
"service": {
"annotations": {
"property1": "string",
"property2": "string"
},
"apiVersion": "string",
"clusterName": "string",
"creationTimestamp": "string",
"deletionGracePeriodSeconds": 0,
"deletionTimestamp": "string",
"finalizers": [
"string"
],
"generateName": "string",
"generation": 0,
"kind": "string",
"labels": {
"property1": "string",
"property2": "string"
},
"managedFields": [
{
"apiVersion": "string",
"fieldsType": "string",
"fieldsV1": {},
"manager": "string",
"operation": "string",
"subresource": "string",
"time": "string"
}
],
"name": "string",
"namespace": "string",
"ownerReferences": [
{
"apiVersion": "string",
"blockOwnerDeletion": true,
"controller": true,
"kind": "string",
"name": "string",
"uid": "string"
}
],
"resourceVersion": "string",
"selfLink": "string",
"spec": {
"allocateLoadBalancerNodePorts": true,
"clusterIP": "string",
"clusterIPs": [
"string"
],
"externalIPs": [
"string"
],
"externalName": "string",
"externalTrafficPolicy": "string",
"healthCheckNodePort": 0,
"internalTrafficPolicy": "string",
"ipFamilies": [
"string"
],
"ipFamilyPolicy": "string",
"loadBalancerClass": "string",
"loadBalancerIP": "string",
"loadBalancerSourceRanges": [
"string"
],
"ports": [
{
"appProtocol": "string",
"name": "string",
"nodePort": 0,
"port": 0,
"protocol": "string",
"targetPort": {
"intVal": 0,
"strVal": "string",
"type": 0
}
}
],
"publishNotReadyAddresses": true,
"selector": {
"property1": "string",
"property2": "string"
},
"sessionAffinity": "string",
"sessionAffinityConfig": {
"clientIP": {
"timeoutSeconds": 0
}
},
"type": "string"
},
"status": {
"conditions": [
{
"lastTransitionTime": "string",
"message": "string",
"observedGeneration": 0,
"reason": "string",
"status": "string",
"type": "string"
}
],
"loadBalancer": {
"ingress": [
{
"hostname": "string",
"ip": "string",
"ports": [
{
"error": "string",
"port": 0,
"protocol": "string"
}
]
}
]
}
},
"uid": "string"
},
"virtualServices": [
{
"annotations": {
"property1": "string",
"property2": "string"
},
"apiVersion": "string",
"clusterName": "string",
"creationTimestamp": "string",
"deletionGracePeriodSeconds": 0,
"deletionTimestamp": "string",
"finalizers": [
"string"
],
"generateName": "string",
"generation": 0,
"kind": "string",
"labels": {
"property1": "string",
"property2": "string"
},
"managedFields": [
{
"apiVersion": "string",
"fieldsType": "string",
"fieldsV1": {},
"manager": "string",
"operation": "string",
"subresource": "string",
"time": "string"
}
],
"name": "string",
"namespace": "string",
"ownerReferences": [
{
"apiVersion": "string",
"blockOwnerDeletion": true,
"controller": true,
"kind": "string",
"name": "string",
"uid": "string"
}
],
"resourceVersion": "string",
"selfLink": "string",
"spec": {
"export_to": [
"string"
],
"gateways": [
"string"
],
"hosts": [
"string"
],
"http": [
{
"cors_policy": {
"allow_credentials": {
"value": true
},
"allow_headers": [
"string"
],
"allow_methods": [
"string"
],
"allow_origin": [
"string"
],
"allow_origins": [
{
"matchType": null
}
],
"expose_headers": [
"string"
],
"max_age": {
"nanos": 0,
"seconds": 0
}
},
"delegate": {
"name": "string",
"namespace": "string"
},
"fault": {
"abort": {
"errorType": null,
"percentage": {
"value": 0
}
},
"delay": {
"httpDelayType": null,
"percent": 0,
"percentage": {
"value": 0
}
}
},
"headers": {
"request": {
"add": {
"property1": "string",
"property2": "string"
},
"remove": [
"string"
],
"set": {
"property1": "string",
"property2": "string"
}
},
"response": {
"add": {
"property1": "string",
"property2": "string"
},
"remove": [
"string"
],
"set": {
"property1": "string",
"property2": "string"
}
}
},
"match": [
{
"authority": {
"matchType": null
},
"gateways": [
"string"
],
"headers": {
"property1": {
"matchType": null
},
"property2": {
"matchType": null
}
},
"ignore_uri_case": true,
"method": {
"matchType": null
},
"name": "string",
"port": 0,
"query_params": {
"property1": {
"matchType": null
},
"property2": {
"matchType": null
}
},
"scheme": {
"matchType": null
},
"source_labels": {
"property1": "string",
"property2": "string"
},
"source_namespace": "string",
"uri": {
"matchType": null
},
"without_headers": {
"property1": {
"matchType": null
},
"property2": {
"matchType": null
}
}
}
],
"mirror": {
"host": "string",
"port": {
"number": 0
},
"subset": "string"
},
"mirror_percent": {
"value": 0
},
"mirror_percentage": {
"value": 0
},
"name": "string",
"redirect": {
"authority": "string",
"redirectPort": null,
"redirect_code": 0,
"scheme": "string",
"uri": "string"
},
"retries": {
"attempts": 0,
"per_try_timeout": {
"nanos": 0,
"seconds": 0
},
"retry_on": "string",
"retry_remote_localities": {
"value": true
}
},
"rewrite": {
"authority": "string",
"uri": "string"
},
"route": [
{
"destination": {
"host": "string",
"port": {
"number": 0
},
"subset": "string"
},
"headers": {
"request": {
"add": {
"property1": "string",
"property2": "string"
},
"remove": [
"string"
],
"set": {
"property1": "string",
"property2": "string"
}
},
"response": {
"add": {
"property1": "string",
"property2": "string"
},
"remove": [
"string"
],
"set": {
"property1": "string",
"property2": "string"
}
}
},
"weight": 0
}
],
"timeout": {
"nanos": 0,
"seconds": 0
}
}
],
"tcp": [
{
"match": [
{
"destination_subnets": [
"string"
],
"gateways": [
"string"
],
"port": 0,
"source_labels": {
"property1": "string",
"property2": "string"
},
"source_namespace": "string",
"source_subnet": "string"
}
],
"route": [
{
"destination": {
"host": "string",
"port": {
"number": 0
},
"subset": "string"
},
"weight": 0
}
]
}
],
"tls": [
{
"match": [
{
"destination_subnets": [
"string"
],
"gateways": [
"string"
],
"port": 0,
"sni_hosts": [
"string"
],
"source_labels": {
"property1": "string",
"property2": "string"
},
"source_namespace": "string"
}
],
"route": [
{
"destination": {
"host": "string",
"port": {
"number": 0
},
"subset": "string"
},
"weight": 0
}
]
}
]
},
"status": {
"conditions": [
{
"last_probe_time": {
"nanos": 0,
"seconds": 0
},
"last_transition_time": {
"nanos": 0,
"seconds": 0
},
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"observed_generation": 0,
"validation_messages": [
{
"documentation_url": "string",
"level": 0,
"type": {
"code": "string",
"name": "string"
}
}
]
},
"uid": "string"
}
],
"workloads": [
{
"additionalDetailSample": {
"icon": "string",
"title": "string",
"value": "string"
},
"appLabel": true,
"createdAt": "string",
"dashboardAnnotations": {
"property1": "string",
"property2": "string"
},
"healthAnnotations": {
"property1": "string",
"property2": "string"
},
"istioInjectionAnnotation": true,
"istioReferences": [
{
"name": "string",
"namespace": "string",
"objectType": "string"
}
],
"istioSidecar": true,
"labels": {
"property1": "string",
"property2": "string"
},
"name": "string",
"podCount": 0,
"resourceVersion": "string",
"serviceAccountNames": [
"string"
],
"type": "string",
"versionLabel": true
}
]
}
}
修改于 2023-04-27 09:52:44