检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or
参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file entry. 表23 io.k8s.api.core.v1.LocalObjectReference
based (typically AWS load-balancers) ip 否 String IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)
不启用:将不提供任何从其他负载访问到当前负载的入口,可用于使用自定义的服务发现或简单启用多个Pod的场景。 内网访问:内网访问将为当前负载配置一个负载域名或内网域名/虚拟IP,使得当前负载能够为内网中其他负载提供服务,分为Service和ELB两种方式。内网访问的详细内容请参见内网访问。 公网访问:将
参数类型 描述 hostnames Array of strings Hostnames for the above IP address. ip String IP address of the host file entry. 表24 io.k8s.api.core.v1.LocalObjectReference
DNS based (typically AWS load-balancers) ip String IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)
查询指定namespace下的Events 功能介绍 查询Namespace下所有Event的详细信息。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/events 表1 路径参数 参数 是否必选 参数类型 描述 namespace
查询Deployment的伸缩操作 功能介绍 查询Deployment的伸缩操作 调用方法 请参见如何调用API。 URI GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale 表1 路径参数 参数 是否必选
查询指定的storage class 功能介绍 read the specified StorageClass 调用方法 请参见如何调用API。 URI GET /apis/storage.k8s.io/v1/storageclasses/{name} 表1 路径参数 参数 是否必选
an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or
"resources" : [ { "kind" : "EIPPool", "name" : "eippools", "namespaced" : true, "singularName" : "eippool", "storageVersionHash"
查询指定namespace下的所有TFJob 功能介绍 查询Namespace下所有TFJob的详细信息。 URI GET /apis/kubeflow.org/v1/namespaces/{namespace}/tfjobs 表1 Path参数 参数 是否必选 描述 namespace
查询指定的resourcequota 功能介绍 查询指定的resourcequota(资源用量)。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/resourcequotas/{name} 表1 路径参数 参数 是否必选
an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or
查询PersistentVolumeClaim 功能介绍 查询PersistentVolumeClaim。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} 表1
查询指定的ClusterRole 功能介绍 This API is used to read the specified ClusterRole 调用方法 请参见如何调用API。 URI GET /apis/rbac.authorization.k8s.io/v1/clusterroles/{name}
选择标签为app:mysql的Pod,即关联1中创建的Pod。 负载访问端口3306映射到容器的3306端口。 Service的访问类型为ClusterIP,即使用ClusterIP在内部访问Service。 { "apiVersion": "v1", "kind": "Service",
查询所有Namespaces 功能介绍 该API用于获取集群中该用户当前项目下所有Namespace的详细信息。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces 表1 Query参数 参数 是否必选 参数类型 描述 allowWatchBookmarks
查询open api swagger信息 功能介绍 查询open api swagger信息。 调用方法 请参见如何调用API。 URI GET /openapi/v2 请求参数 表1 请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String
查询指定namespace下的Networks 功能介绍 查询指定namespace下的所有Network对象。 调用方法 请参见如何调用API。 URI GET /apis/networking.cci.io/v1beta1/namespaces/{namespace}/networks