检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Optional only if one port is defined. port Integer The port number of the endpoint. protocol String The IP protocol for this port.
未开通企业管理的用户无需配置此参数。不配置时默认为0,表示default企业项目。 namespace.kubernetes.io/flavor: general-computing:指定命名空间类型。
maxUnavailable:与Deployment中spec.replicas相比,可以有多少个Pod失效,也就是删除的比例,默认值是25%,比如spec.replicas为 4,那升级过程中就至少有3个Pod存在,即删除Pod 的步伐是 1。同样这个值也可以设置成数字。
{ "containerPort": 2222, "name": "tfjob-port
{ "containerPort": 2222, "name": "tfjob-port
表25 imagePullSecrets字段数据结构说明 参数 是否必选 参数类型 描述 name Yes String Name of the referent.
More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport port Integer The port that will be exposed by this
This must be a valid port number, 0 < x < 65536. protocol String Protocol for port. Must be UDP or TCP.
More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport port Integer The port that will be exposed by this
More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport port Integer The port that will be exposed by this
This can be a hostname, hostname:port, IP or IP:port.
More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport port Integer The port that will be exposed by this
HTTP GET:往容器的IP:Port发送HTTP GET请求,如果probe收到2xx或3xx,说明已经就绪。
{ "containerPort": 2222, "name": "tfjob-port
Optional only if one port is defined. port Integer The port number of the endpoint. protocol String The IP protocol for this port.
Defaults to 25%.
通过内网域名或ELB的“IP:Port”为内网提供服务,支持HTTP/HTTPS和TCP/UDP协议。如果是内网且与负载不在同一个VPC内,也可以选择创建VPC对等连接,使得两个VPC之间网络互通。
Defaults to 25%.
Defaults to 25%.
{ "containerPort": 2222, "name": "tfjob-port