Pod管理

通过YAML创建Pod

通过提供的YAML内容创建Pod,支持校验模式和DryRun模式

post/k8s/cluster/{id}/namespaces/{namespaceName}/pods/yaml

Path parameters

idinteger required

集群ID

namespaceNamestring required

命名空间名称

Headers

Authorizationstring required

Bearer 用户Token

Request body

dryRunboolean

是否只进行校验不实际创建

validateOnlyboolean

是否只校验YAML格式

yamlContentstring required

YAML内容

Response

OK

codeinteger

状态码

messagestring

提示信息

Changes

No recorded changes to this endpoint across all 1 revision of this API.