检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
表24 io.k8s.api.core.v1.HostAlias 参数 参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file
表21 io.k8s.api.core.v1.HostAlias 参数 参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file
表21 io.k8s.api.core.v1.HostAlias 参数 参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file
每个Pod都会获取它自己的IP地址,但这些IP地址不总是稳定可依赖的。 这会导致一个问题:如果一组Pod(称为backend)为其它Pod(称为frontend)提供服务,那么那些frontend该如何发现,并连接到这组Pod中的哪些backend呢?
表23 io.k8s.api.core.v1.HostAlias 参数 参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file
"args": [ "python", "/opt/tf-benchmarks/scripts
curl $podIP:$port/metrics 其中<podIP>为Pod的IP地址,<port>为监听端口,例如curl 192.168.XXX.XXX:19100/metrics
表23 io.k8s.api.core.v1.HostAlias 参数 是否必选 参数类型 描述 hostnames 否 Array of strings Hostnames for the above IP address. ip 否 String IP address of the
表23 io.k8s.api.core.v1.HostAlias 参数 是否必选 参数类型 描述 hostnames 否 Array of strings Hostnames for the above IP address. ip 否 String IP address of the
表21 io.k8s.api.core.v1.HostAlias 参数 是否必选 参数类型 描述 hostnames 否 Array of strings Hostnames for the above IP address. ip 否 String IP address of the
表22 io.k8s.api.core.v1.HostAlias 参数 参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file
表22 io.k8s.api.core.v1.HostAlias 参数 参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file
表23 io.k8s.api.core.v1.HostAlias 参数 参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file
表22 io.k8s.api.core.v1.HostAlias 参数 参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file
This is only valid for non-hostNetwork pods. hostIPC Boolean Use the host's ipc namespace.
表21 io.k8s.api.core.v1.HostAlias 参数 参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file
表21 io.k8s.api.core.v1.HostAlias 参数 是否必选 参数类型 描述 hostnames 否 Array of strings Hostnames for the above IP address. ip 否 String IP address of the
表21 io.k8s.api.core.v1.HostAlias 参数 是否必选 参数类型 描述 hostnames 否 Array of strings Hostnames for the above IP address. ip 否 String IP address of the
表21 io.k8s.api.core.v1.HostAlias 参数 是否必选 参数类型 描述 hostnames 否 Array of strings Hostnames for the above IP address. ip 否 String IP address of the
Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.