- Agent.V1
- kubegems default alert webhook
- 获取k8s api-resources
- 获取alertmanager中的告警数据
- 检查alertmanagerconfig
- get silence
- 为指定告警规则添加silence
- get silence
- rollout info
- rollout info
- 获取Job列表数据
- 获取可以绑定的环境的namespace列表数据
- 获取Event列表数据
- 获取Pod列表数据
- 实时获取日志STDOUT输出(websocket)
- 进入容器交互执行命令(websocket)
- 从容器下载文件
- upload files to container
- 获取PersistentVolumeClaim列表数据
- 获取PersistentVolumeClaim数据
- 获取Secret列表数据
- 自定义的NODE详情接口,(可以获取资源分配情况)
- 修改节点调度
- 修改node的元数据,label和annotations
- 修改节点污点
- 调试容器(websocket)
- Jaeger span count
- Loki Alert Rule
- Loki Labels
- Loki LabelValues
- 获取Pods最近十五分钟的Metrics(从scraper获取)
- 获取Pods实时Metrics
- Loki Query
- Loki QueryRange
- 获取Node实时Metrics
- Loki Series
- 获取Nodes最近十五分钟的Metrics(从scraper获取)
- Loki LabelValues
- 获取指定Node实时Metrics
- Prometheus alertrule
- CertInfo
- ComponentStatus
- Prometheus Labelnames
- Prometheus LabelValues
- Prometheus Matrix
- Prometheus Targets
- Prometheus Vector
- 获取集群级别统计
- 获取集群级别资源统计
- 获取集群内各种workload的统计
- kubectl
- 获取namespaced scope workload list
- 获取namespaced scope workload
- 创建namespaced scope workload
- 创建 none namespaced scope workload
- 创建namespaced scope workload
- 创建namespaced scope workload
- 扩缩容
- 获取 none namespaced scope workload list
- 获取 none namespaced scope workload
- 创建none namespaced scope workload
- 创建namespaced scope workload
- 创建none namespaced scope workload
- 创建none namespaced scope workload
- nonamespace 扩缩容
- 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列表GET
- 创建TenantPOST
- Tenant详情GET
- 修改TenantPUT
- 删除 TenantDELETE
- 取消激活租户,当租户为激活状态的时候才可用POST
- 激活租户,当租户为未激活状态的时候才可用POST
- 创建or修改租户集群资源变更申请POST
- 获取TenantGateway 列表GET
- 创建TenantGatewayPOST
- 获取TenantGatewayGET
- 更新TenantGatewayPUT
- 删除TenantGatewayDELETE
- 获取TenantGateway adddressesGET
- 获取租户下的所有Environment列表GET
- 搜索环境GET
- 获取租户下所有的环境以及资源状态GET
- 获取属于 Tenant 的 Project 列表GET
- 创建一个属于 Tenant 的ProjectPOST
- 获取Tenant 的一个 Project详情GET
- 租户下所有项目的资源统计列表[quota]GET
- 租户非资源类型统计GET
- 获取属于 Tenant 的 TenantResourceQuota 列表GET
- 创建一个属于 Tenant 的TenantResourceQuotaPOST
- 删除租户在一个集群下的资源PUT
- 获取Tenant 的一个 TenantResourceQuota详情GET
- 获取租户集群资源变更申请详情GET
- 获取属于 Tenant 的 User 列表GET
- 在User和Tenant间添加关联关系POST
- 获取Tenant 的一个 User详情GET
- 修改 User 和 Tenant 的关联关系PUT
- 删除 User 和 Tenant 的关系DELETE
- ApplicationManifest
- StrategyDeployment
- ProjectImage
- VirtualDomain
- VirtualSpace
- VirtualSpace列表
- 创建VirtualSpace
- VirtualSpace详情
- 更新VirtualSpace
- 删除 VirtualSpace
- 激活/禁用VirtualSpace
- 获取虚拟空间下的环境
- 向虚拟空间增加环境
- 从虚拟空间删除环境
- 列举 istio 资源
- kiali代理
- service列表
- service详情
- service故障注入
- service请求路由
- service超时配置
- service重置
- service tcp流量切换
- service流量切换
- workload列表
- 注入istio控制
- 设置虚拟域名
- workload详情
- 获取属于 VirtualSpace 的 User 列表
- 在User和VirtualSpace间添加关联关系
- 删除 User 和 VirtualSpace 的关系
- 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
更新TenantGateway
PUT
/v1/tenant/{tenant_id}/cluster/{cluster_id}/tenantgateways/{name}
Tenant
请求参数
Path 参数
cluster_id
string
必需
tenant_id
string
tenant_id
name
string
必需
Body 参数application/json
annotations
object
可选
set by external tools to store and retrieve arbitrary metadata. They are not
queryable and should be preserved when modifying objects.
More info: http://kubernetes.io/docs/user-guide/annotations
+optional
额外字段
string
可选
apiVersion
string
可选
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
+optional
clusterName
string
可选
This is used to distinguish resources with same name and namespace in different clusters.
This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
+optional
creationTimestamp
string
可选
created. It is not guaranteed to be set in happens-before order across separate operations.
Clients may not set this value. It is represented in RFC3339 form and is in UTC.
Read-only.
Null for lists.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+optional
deletionGracePeriodSeconds
integer
可选
it will be removed from the system. Only set when deletionTimestamp is also set.
May only be shortened.
Read-only.
+optional
deletionTimestamp
string
可选
field is set by the server when a graceful deletion is requested by the user, and is not
directly settable by a client. The resource is expected to be deleted (no longer visible
from resource lists, and not reachable by name) after the time in this field, once the
finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
Once the deletionTimestamp is set, this value may not be unset or be set further into the
future, although it may be shortened or the resource may be deleted prior to this time.
For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
remove the pod from the API. In the presence of network partitions, this object may still
exist after this timestamp, until an administrator or automated process can determine the
resource is fully terminated.
If not set, graceful deletion of the object has not been requested.
Read-only.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+optional
finalizers
array[string]
可选
is an identifier for the responsible component that will remove the entry
from the list. If the deletionTimestamp of the object is non-nil, entries
in this list can only be removed.
Finalizers may be processed and removed in any order. Order is NOT enforced
because it introduces significant risk of stuck finalizers.
finalizers is a shared field, any actor with permission can reorder it.
If the finalizer list is processed in order, then this can lead to a situation
in which the component responsible for the first finalizer in the list is
waiting for a signal (field value, external system, or other) produced by a
component responsible for a finalizer later in the list, resulting in a deadlock.
Without enforced ordering finalizers are free to order amongst themselves and
are not vulnerable to ordering changes in the list.
+optional
+patchStrategy=merge
generateName
string
可选
name ONLY IF the Name field has not been provided.
If this field is used, the name returned to the client will be different
than the name passed. This value will also be combined with a unique suffix.
The provided value has the same validation rules as the Name field,
and may be truncated by the length of the suffix required to make the value
unique on the server.
NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
ServerTimeout indicating a unique name could not be found in the time allotted, and the client
should retry (optionally after the time indicated in the Retry-After header).
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
+optional
generation
integer
可选
Populated by the system. Read-only.
+optional
kind
string
可选
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
+optional
labels
object
可选
(scope and select) objects. May match selectors of replication controllers
and services.
More info: http://kubernetes.io/docs/user-guide/labels
+optional
额外字段
string
可选
managedFields
array[object (v1.ManagedFieldsEntry) {7}]
可选
that are managed by that workflow. This is mostly for internal
housekeeping, and users typically shouldn't need to set or
understand this field. A workflow can be the user's name, a
controller's name, or the name of a specific apply path like
"ci-cd". The set of fields is always in the version that the
workflow used when modifying the object.
apiVersion
string
可选
applies to. The format is "group/version" just like the top-level
APIVersion field. It is necessary to track the version of a field
set because it cannot be automatically converted.
fieldsType
string
可选
There is currently only one possible value: "FieldsV1"
fieldsV1
object (v1.FieldsV1)
可选
manager
string
可选
operation
string
可选
The only valid values for this field are 'Apply' and 'Update'.
subresource
string
可选
empty string if the object was updated through the main resource. The
value of this field is used to distinguish between managers, even if they
share the same name. For example, a status update will be distinct from a
regular update using the same manager name.
Note that the APIVersion field is not related to the Subresource field and
it always corresponds to the version of the main resource.
time
string
可选
+optional
name
string
可选
some resources may allow a client to request the generation of an appropriate name
automatically. Name is primarily intended for creation idempotence and configuration
definition.
Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/identifiers#names
+optional
namespace
string
可选
equivalent to the "default" namespace, but "default" is the canonical representation.
Not all objects are required to be scoped to a namespace - the value of this field for
those objects will be empty.
Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/namespaces
+optional
ownerReferences
array[object (v1.OwnerReference) {6}]
可选
been deleted, this object will be garbage collected. If this object is managed by a controller,
then an entry in this list will point to this controller, with the controller field set to true.
There cannot be more than one managing controller.
+optional
+patchMergeKey=uid
+patchStrategy=merge
apiVersion
string
可选
blockOwnerDeletion
boolean
可选
the owner cannot be deleted from the key-value store until this
reference is removed.
Defaults to false.
To set this field, a user needs "delete" permission of the owner,
otherwise 422 (Unprocessable Entity) will be returned.
+optional
controller
boolean
可选
+optional
kind
string
可选
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
name
string
可选
More info: http://kubernetes.io/docs/user-guide/identifiers#names
uid
string
可选
More info: http://kubernetes.io/docs/user-guide/identifiers#uids
resourceVersion
string
可选
be used by clients to determine when objects have changed. May be used for optimistic
concurrency, change detection, and the watch operation on a resource or set of resources.
Clients must treat these values as opaque and passed unmodified back to the server.
They may only be valid for a particular resource or set of resources.
Read-only.
Value must be treated as opaque by clients and .
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
+optional
selfLink
string
可选
Populated by the system.
Read-only.
Kubernetes will stop propagating this field in 1.20 release and the field is planned
to be removed in 1.21 release.
+optional
spec
object (v1beta1.TenantGatewaySpec)
可选
baseDomain
string
可选
+kubebuilder:validation:Optional
configMapData
object
可选
Check https://docs.nginx.com/nginx-ingress-controller/configuration/global-configuration/configmap-resource/ for
more information about possible values.
+kubebuilder:validation:Optional
+nullable
image
object (v1beta1.Image)
可选
ingressClass
string
可选
replicas
integer
可选
service
object (v1beta1.Service)
可选
tenant
string
可选
type
string
可选
workload
object (v1beta1.Workload)
可选
status
object (v1beta1.TenantGatewayStatus)
可选
availableReplicas
integer
可选
ports
array[object (v1.ServicePort) {6}]
可选
uid
string
可选
the server on successful creation of a resource and is not allowed to change on PUT
operations.
Read-only.
More info: http://kubernetes.io/docs/user-guide/identifiers#uids
+optional
示例
{
"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": {
"baseDomain": "string",
"configMapData": {
"property1": "string",
"property2": "string"
},
"image": {
"pullPolicy": "string",
"repository": "string",
"tag": "string"
},
"ingressClass": "string",
"replicas": 0,
"service": {
"extraLabels": {
"property1": "string",
"property2": "string"
}
},
"tenant": "string",
"type": "string",
"workload": {
"extraLabels": {
"property1": "string",
"property2": "string"
},
"resources": {
"limits": {
"property1": {
"Format": "string"
},
"property2": {
"Format": "string"
}
},
"requests": {
"property1": {
"Format": "string"
},
"property2": {
"Format": "string"
}
}
}
}
},
"status": {
"availableReplicas": 0,
"ports": [
{
"appProtocol": "string",
"name": "string",
"nodePort": 0,
"port": 0,
"protocol": "string",
"targetPort": {
"intVal": 0,
"strVal": "string",
"type": 0
}
}
]
},
"uid": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT '/v1/tenant//cluster//tenantgateways/' \
--header 'Content-Type: application/json' \
--data-raw '{
"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": {
"baseDomain": "string",
"configMapData": {
"property1": "string",
"property2": "string"
},
"image": {
"pullPolicy": "string",
"repository": "string",
"tag": "string"
},
"ingressClass": "string",
"replicas": 0,
"service": {
"extraLabels": {
"property1": "string",
"property2": "string"
}
},
"tenant": "string",
"type": "string",
"workload": {
"extraLabels": {
"property1": "string",
"property2": "string"
},
"resources": {
"limits": {
"property1": {
"Format": "string"
},
"property2": {
"Format": "string"
}
},
"requests": {
"property1": {
"Format": "string"
},
"property2": {
"Format": "string"
}
}
}
}
},
"status": {
"availableReplicas": 0,
"ports": [
{
"appProtocol": "string",
"name": "string",
"nodePort": 0,
"port": 0,
"protocol": "string",
"targetPort": {
"intVal": 0,
"strVal": "string",
"type": 0
}
}
]
},
"uid": "string"
}'
返回响应
🟢200object
application/json
Body
data
可选
errorData
可选
message
string
可选
Data
object
v1beta1.TenantGateway
annotations
object
可选
set by external tools to store and retrieve arbitrary metadata. They are not
queryable and should be preserved when modifying objects.
More info: http://kubernetes.io/docs/user-guide/annotations
+optional
apiVersion
string
可选
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
+optional
clusterName
string
可选
This is used to distinguish resources with same name and namespace in different clusters.
This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
+optional
creationTimestamp
string
可选
created. It is not guaranteed to be set in happens-before order across separate operations.
Clients may not set this value. It is represented in RFC3339 form and is in UTC.
Read-only.
Null for lists.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+optional
deletionGracePeriodSeconds
integer
可选
it will be removed from the system. Only set when deletionTimestamp is also set.
May only be shortened.
Read-only.
+optional
deletionTimestamp
string
可选
field is set by the server when a graceful deletion is requested by the user, and is not
directly settable by a client. The resource is expected to be deleted (no longer visible
from resource lists, and not reachable by name) after the time in this field, once the
finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
Once the deletionTimestamp is set, this value may not be unset or be set further into the
future, although it may be shortened or the resource may be deleted prior to this time.
For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
remove the pod from the API. In the presence of network partitions, this object may still
exist after this timestamp, until an administrator or automated process can determine the
resource is fully terminated.
If not set, graceful deletion of the object has not been requested.
Read-only.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+optional
finalizers
array[string]
可选
is an identifier for the responsible component that will remove the entry
from the list. If the deletionTimestamp of the object is non-nil, entries
in this list can only be removed.
Finalizers may be processed and removed in any order. Order is NOT enforced
because it introduces significant risk of stuck finalizers.
finalizers is a shared field, any actor with permission can reorder it.
If the finalizer list is processed in order, then this can lead to a situation
in which the component responsible for the first finalizer in the list is
waiting for a signal (field value, external system, or other) produced by a
component responsible for a finalizer later in the list, resulting in a deadlock.
Without enforced ordering finalizers are free to order amongst themselves and
are not vulnerable to ordering changes in the list.
+optional
+patchStrategy=merge
generateName
string
可选
name ONLY IF the Name field has not been provided.
If this field is used, the name returned to the client will be different
than the name passed. This value will also be combined with a unique suffix.
The provided value has the same validation rules as the Name field,
and may be truncated by the length of the suffix required to make the value
unique on the server.
NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
ServerTimeout indicating a unique name could not be found in the time allotted, and the client
should retry (optionally after the time indicated in the Retry-After header).
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
+optional
generation
integer
可选
Populated by the system. Read-only.
+optional
kind
string
可选
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
+optional
labels
object
可选
(scope and select) objects. May match selectors of replication controllers
and services.
More info: http://kubernetes.io/docs/user-guide/labels
+optional
managedFields
array[object (v1.ManagedFieldsEntry) {7}]
可选
that are managed by that workflow. This is mostly for internal
housekeeping, and users typically shouldn't need to set or
understand this field. A workflow can be the user's name, a
controller's name, or the name of a specific apply path like
"ci-cd". The set of fields is always in the version that the
workflow used when modifying the object.
name
string
可选
some resources may allow a client to request the generation of an appropriate name
automatically. Name is primarily intended for creation idempotence and configuration
definition.
Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/identifiers#names
+optional
namespace
string
可选
equivalent to the "default" namespace, but "default" is the canonical representation.
Not all objects are required to be scoped to a namespace - the value of this field for
those objects will be empty.
Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/namespaces
+optional
ownerReferences
array[object (v1.OwnerReference) {6}]
可选
been deleted, this object will be garbage collected. If this object is managed by a controller,
then an entry in this list will point to this controller, with the controller field set to true.
There cannot be more than one managing controller.
+optional
+patchMergeKey=uid
+patchStrategy=merge
resourceVersion
string
可选
be used by clients to determine when objects have changed. May be used for optimistic
concurrency, change detection, and the watch operation on a resource or set of resources.
Clients must treat these values as opaque and passed unmodified back to the server.
They may only be valid for a particular resource or set of resources.
Read-only.
Value must be treated as opaque by clients and .
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
+optional
selfLink
string
可选
Populated by the system.
Read-only.
Kubernetes will stop propagating this field in 1.20 release and the field is planned
to be removed in 1.21 release.
+optional
spec
object
v1beta1.TenantGatewaySpec
status
object
v1beta1.TenantGatewayStatus
uid
string
可选
the server on successful creation of a resource and is not allowed to change on PUT
operations.
Read-only.
More info: http://kubernetes.io/docs/user-guide/identifiers#uids
+optional
示例
{
"data": null,
"errorData": null,
"message": "string",
"Data": {
"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": {
"baseDomain": "string",
"configMapData": {
"property1": "string",
"property2": "string"
},
"image": {
"pullPolicy": "string",
"repository": "string",
"tag": "string"
},
"ingressClass": "string",
"replicas": 0,
"service": {
"extraLabels": {
"property1": "string",
"property2": "string"
}
},
"tenant": "string",
"type": "string",
"workload": {
"extraLabels": {
"property1": "string",
"property2": "string"
},
"resources": {
"limits": {
"property1": {
"Format": "string"
},
"property2": {
"Format": "string"
}
},
"requests": {
"property1": {
"Format": "string"
},
"property2": {
"Format": "string"
}
}
}
}
},
"status": {
"availableReplicas": 0,
"ports": [
{
"appProtocol": "string",
"name": "string",
"nodePort": 0,
"port": 0,
"protocol": "string",
"targetPort": {
"intVal": 0,
"strVal": "string",
"type": 0
}
}
]
},
"uid": "string"
}
}