检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Applied only if Name is not specified.
selector.matchLabels:Deployment使用哪些标签选择Pod,例如这里设置的标签app=nginx,当Pod有这个标签时,就会被Deployment选中管理。 template:Pod的模板,定义Pod的各种配置和规格。
服务器接收到该对象后,会将其表示的操作应用于目标JSON对象。 Merge Patch, Content-Type: application/merge-patch+json 在RFC7386协议的定义中,Merge Patch必须包含对一个资源对象的部分描述,即为JSON对象。
Applied only if Name is not specified.
Applied only if Name is not specified.
Applied only if Name is not specified.
Applied only if Name is not specified.
enforce appgroup: '' version: v1 name: test namespace: default spec: replicas: 2 selector: matchLabels: app: test
Applied only if Name is not specified.
Applied only if Name is not specified.
kind: Deployment apiVersion: apps/v1 metadata: name: kafka-dey spec: replicas: 1 selector: matchLabels: app: kafka template
服务器接收到该对象后,会将其表示的操作应用于目标JSON对象。 Merge Patch, Content-Type: application/merge-patch+json 在RFC7386协议的定义中,Merge Patch必须包含对一个资源对象的部分描述,即为JSON对象。
Applied only if Name is not specified.
Content-Type 是 String 消息体的类型(格式),默认取值为“application/json” 缺省值:application/json 响应参数 无 请求示例 无 响应示例 无 状态码 状态码 描述 200 OK 400 BadRequest 401 Unauthorized
Applied only if Name is not specified.
请求示例: Content-Type: application/merge-patch+json { "metadata": { "labels": { "app": "test" } } } 响应消息 响应参数
Applied only if Name is not specified.
Applied only if Name is not specified.
", "preferredVersion" : { "groupVersion" : "apps/v1", "version" : "v1" }, "versions" : [ { "groupVersion" : "apps
Applied only if Name is not specified.