- 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列表
- 创建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
快照PVC
POST
/v1/noproxy/{cluster}/{namespace}/volumesnapshot
NOPROXY
请求参数
Path 参数
cluster
string
dev
namespace
string
default
Body 参数application/json
name
string
可选
persistentVolumeClaimName
string
必需
volumeSnapshotClass
string
可选
示例
{
"name": "string",
"persistentVolumeClaimName": "string",
"volumeSnapshotClass": "string"
}
示例代码
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/noproxy///volumesnapshot' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"persistentVolumeClaimName": "string",
"volumeSnapshotClass": "string"
}'
返回响应
🟢200VolumeSnapshotDefinition
application/json
Body
data
可选
errorData
可选
message
string
可选
Data
object
v1.VolumeSnapshot
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
v1.VolumeSnapshotSpec
status
object
v1.VolumeSnapshotStatus
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": {
"source": {
"persistentVolumeClaimName": "string",
"volumeSnapshotContentName": "string"
},
"volumeSnapshotClassName": "string"
},
"status": {
"boundVolumeSnapshotContentName": "string",
"creationTime": "string",
"error": {
"message": "string",
"time": "string"
},
"readyToUse": true,
"restoreSize": {
"Format": "string"
}
},
"uid": "string"
}
}
🟠400Bad Request
修改于 2023-04-27 09:52:42