KubeGems
  1. VirtualSpace
KubeGems
  • Agent.V1
    • kubegems default alert webhook
      POST
    • 获取k8s api-resources
      GET
    • 获取alertmanager中的告警数据
      GET
    • 检查alertmanagerconfig
      POST
    • get silence
      GET
    • 为指定告警规则添加silence
      POST
    • get silence
      DELETE
    • rollout info
      GET
    • rollout info
      GET
    • 获取Job列表数据
      GET
    • 获取可以绑定的环境的namespace列表数据
      GET
    • 获取Event列表数据
      GET
    • 获取Pod列表数据
      GET
    • 实时获取日志STDOUT输出(websocket)
      GET
    • 进入容器交互执行命令(websocket)
      GET
    • 从容器下载文件
      GET
    • upload files to container
      POST
    • 获取PersistentVolumeClaim列表数据
      GET
    • 获取PersistentVolumeClaim数据
      GET
    • 获取Secret列表数据
      GET
    • 自定义的NODE详情接口,(可以获取资源分配情况)
      GET
    • 修改节点调度
      PATCH
    • 修改node的元数据,label和annotations
      PATCH
    • 修改节点污点
      PATCH
    • 调试容器(websocket)
      GET
    • Jaeger span count
      GET
    • Loki Alert Rule
      GET
    • Loki Labels
      GET
    • Loki LabelValues
      GET
    • 获取Pods最近十五分钟的Metrics(从scraper获取)
      GET
    • 获取Pods实时Metrics
      GET
    • Loki Query
      GET
    • Loki QueryRange
      GET
    • 获取Node实时Metrics
      GET
    • Loki Series
      GET
    • 获取Nodes最近十五分钟的Metrics(从scraper获取)
      GET
    • Loki LabelValues
      GET
    • 获取指定Node实时Metrics
      GET
    • Prometheus alertrule
      GET
    • CertInfo
      GET
    • ComponentStatus
      GET
    • Prometheus Labelnames
      GET
    • Prometheus LabelValues
      GET
    • Prometheus Matrix
      GET
    • Prometheus Targets
      GET
    • Prometheus Vector
      GET
    • 获取集群级别统计
      GET
    • 获取集群级别资源统计
      GET
    • 获取集群内各种workload的统计
      GET
    • kubectl
      GET
    • 获取namespaced scope workload list
      GET
    • 获取namespaced scope workload
      GET
    • 创建namespaced scope workload
      PUT
    • 创建 none namespaced scope workload
      POST
    • 创建namespaced scope workload
      DELETE
    • 创建namespaced scope workload
      PATCH
    • 扩缩容
      PATCH
    • 获取 none namespaced scope workload list
      GET
    • 获取 none namespaced scope workload
      GET
    • 创建none namespaced scope workload
      PUT
    • 创建namespaced scope workload
      POST
    • 创建none namespaced scope workload
      DELETE
    • 创建none namespaced scope workload
      PATCH
    • nonamespace 扩缩容
      PATCH
  • MSGBUS
    • 消息中心(websocket)
    • 发送消息
  • Application
    • 更新应用镜像
    • 更新资源建议至 gitrepo
    • 列举文件
    • 应用列表
    • 部署应用
    • 批量部署应用
    • 应用部署镜像
    • 更新应用镜像并部署
    • 应用部署
    • 删除应用
    • 部署历史
    • argo资源
    • argo资源
    • 写入多个文件
    • 写入文件
    • 删除文件
    • 应用编排文件diff
    • 应用编排文件历史
    • 应用编排文件刷新
    • 应用编排文件回滚
    • 应用编排中HPA
    • 应用编排中HPA
    • 应用编排HPA
    • 镜像历史
    • 更新应用镜像并部署
    • 更新应用镜像并部署
    • 应用编排中副本数scale(包含运行时调整)
    • 应用编排中副本数scale(包含运行时调整)
    • 资源树实时状态(List/Watch)
    • 获取对应的服务信息
    • Sync同步
    • 应用异步任务
    • 应用商店应用列表
    • 应用商店部署
    • 应用商店应用列表
    • 应用商店应用
    • 应用内容类型摘要
  • Alert
    • 告警黑名单
    • 加入/更新告警黑名单
    • 移除告警黑名单
    • 获取AlertRule列表
    • 创建AlertRule
    • AlertRule详情
    • 修改AlertRule
    • 修改AlertRule
    • 禁用AlertRule
    • 启用AlertRule
    • 告警历史
    • 重复的告警记录
    • 在namespace下获取receiver列表
    • 在namespace下创建receiver
    • 在namespace下修改receiver
    • 在namespace下删除receiver
    • 发送测试邮件
    • 搜索告警
    • 告警趋势图
    • 告警分组统计
    • 搜索告警
    • 今日告警数量统计
  • Approve
    • 获取待处理审批
    • 批准集群资源配额申请
    • 拒绝集群资源配额申请审批拒绝
  • Appstore
    • 应用商店-查询所有APP
    • APP详情
    • APP Charts文件编码
    • 列出所有的外部应用的charts仓库
    • 创建应用商店外部charts仓库
    • APP 删除外部chart仓库
    • APP 同步外部chart仓库
  • AuditLog
    • AuditLog列表
    • AuditLog详情
  • AuthSource
    • AuthSource列表
    • create AuthSource
    • modify AuthSource
    • delete AuthSource
    • AuthSource列表 (no auth)
    • AuthSource 预定义的源默认值
  • Cluster
    • Cluster列表
    • 创建Cluster
    • 列出集群状态
    • 添加cluster前的kubeconfig检测接口,验证kubeconfig,返回集群信息和可用的storageClass列表
    • Cluster详情
    • 修改Cluster
    • 删除 Cluster
    • 获取属于 Cluster 的 Environment 列表
    • 获取属于 Cluster 的 LogQueryHistory 列表
    • 聚合查询日志查询历史, unique logql desc 按照当前用户的查询历史聚合
    • 获取属于 Cluster 的 LogQuerySnapshot 列表
    • 集群资源状态
  • Agent.Plugin
    • 获取Plugin列表数据
    • 获取Plugin列表数据
    • 禁用插件
    • 禁用插件
    • 启用插件
    • 插件详情
    • 获取Plugin列表数据
    • 启用插件
    • 禁用插件
    • 检查更新
    • 启用插件
  • Environment
    • Environment列表
    • Environment详情
    • 修改Environment
    • 删除 Environment
    • 获取属于 Environment 的 User 列表
    • 在User和Environment间添加关联关系
    • 获取Environment 的一个 User详情
    • 修改 User 和 Environment 的关联关系
    • 删除 User 和 Environment 的关系
  • NetworkIsolated
    • 环境网络隔离开关
    • 项目网络隔离开关
    • 租户网络隔离开关
  • ResourceList
    • 获取环境资源清单
    • 获取项目资源清单
    • Workload列表
    • Workload删除
  • Event
    • 获取事件
  • Log
    • 获取loki上下文
    • 导出loki查询结果
    • 获取loki指定标签值
    • 获取loki标签
    • 获取loki查询语句
    • 获取loki查询结果
    • 获取loki Series
  • AAAAA
    • JWT登录
    • 获取OAUTH登录地址
    • OAUTH登录callback
    • OAUTH登录callback
  • LogQueryHistory
    • LogQueryHistory列表
    • 创建LogQueryHistory
    • 批量删除 LogQueryHistory
    • 删除 LogQueryHistory
  • LogQuerySnapshot
    • LogQuerySnapshot列表
    • 创建LogQuerySnapshot
    • LogQuerySnapshot详情
    • 删除 LogQuerySnapshot
  • Message
    • 获取我的消息列表
    • 获取消息详情
  • Metrics
    • 采集器列表
    • 添加/更新采集器
    • 删除采集器
    • 监控dashboard列表
    • 创建/更新dashboad
    • 删除dashboad
    • 监控标签值
    • 监控指标查询
    • 获取prometheu查询模板
    • 添加prometheu查询模板
    • 删除prometheu查询模板
  • User
    • 获取当前用户权限列表
    • 获取当前用户的信息
    • 重设密码
    • 获取当前用户租户列表
    • User列表
    • self update information
    • 创建User
    • 获取多个环境的用户列表
    • User详情
    • 修改User
    • 删除 User
    • 重置用户密码
    • 获取属于 User 的 Tenant 列表
  • NOPROXY
    • 获取HPA form
    • 设置HPA
    • 从快照恢复PVC
    • 快照PVC
  • 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
    • Registry列表
    • Registry详情
    • 修改Registry
    • 删除 Registry
  • Sels
    • application sels
    • environment sels
    • project sels
    • tenant sels
    • user sels
  • System
    • 列出所有系统配置
    • 获取用户配置
    • 获取系统配置
    • 修改系统配置
  • SystemRole
    • SystemRole列表
    • 创建SystemRole
    • SystemRole详情
    • 删除 SystemRole
    • 获取属于 SystemRole 的 User 列表
    • 修改 User 和 SystemRole 的关联关系
    • 删除 User 和 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
    • admim查询所有应用编排列表
    • 应用编排列表
    • 应用编排详情
    • 修改应用编排描述
    • 删除创建应用编排
    • 列举文件
    • 写入多个文件
    • 写入文件
    • 删除文件
    • 应用编排文件diff
    • 应用编排文件历史
    • 应用编排文件刷新
    • 应用编排文件回滚
    • 创建应用编排
  • StrategyDeployment
    • 更新过程中的控制
    • 更新过程中的实时状态
    • 获取支持的灰度分析
    • 获取当前的应用更新策略
    • 使用更新策略更新应用
  • ProjectImage
    • 镜像扫描
    • 镜像summary
    • 镜像tags
    • 镜像不可发布标记
    • 镜像安全报告
  • VirtualDomain
    • VirtualDomain列表
    • 创建VirtualDomain
    • VirtualDomain详情
    • 更新VirtualDomain
    • 删除 VirtualDomain
  • VirtualSpace
    • VirtualSpace列表
      GET
    • 创建VirtualSpace
      POST
    • VirtualSpace详情
      GET
    • 更新VirtualSpace
      PUT
    • 删除 VirtualSpace
      DELETE
    • 激活/禁用VirtualSpace
      PATCH
    • 获取虚拟空间下的环境
      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
    • istio网关实例列表
    • 更新istio网关实例
    • 创建istio网关实例`
    • istio网关实例列表
    • 删除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
    • 用户token列表
    • 签发oauth jwt token
    • 删除用户token
    • 检验oauth jwt token
  • Announcement
    • 公告列表
    • 发布公告
    • 获取单个公告
    • 更新公告
    • 删除公告
  1. VirtualSpace

service重置

POST
/v1/virtualspace/{virtualspace_id}/environment/environment_id/service/{service_name}/reset
VirtualSpace
service重置

请求参数

Path 参数
virtualspace_id
integer 
必需
virtualspace_id
environment_id
integer 
必需
environment_id
service_name
string 
必需
service_name

示例代码

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//reset'

返回响应

🟢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
上一页
service超时配置
下一页
service tcp流量切换
Built with