检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
表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
表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
": "IAM User Description" } } 到这里为止这个请求需要的内容就具备齐全了,您可以使用curl、Postman或直接编写代码等方式发送请求调用API。
每个Pod都会获取它自己的IP地址,但这些IP地址不总是稳定可依赖的。 这会导致一个问题:如果一组Pod(称为backend)为其它Pod(称为frontend)提供服务,那么那些frontend该如何发现,并连接到这组Pod中的哪些backend呢?
表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
表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
表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
Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.
表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
IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2.
表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
表21 io.k8s.api.core.v1.HostAlias 参数 是否必选 参数类型 描述 hostnames 否 Array of strings Hostnames for the above IP address. ip 否 String IP address of the
表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
表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
apiVersion: v1 kind: Secret metadata: name: mysecret # secret的名称 annotations: description: "test" labels: label-01: value