IPAddress v1alpha1
apiVersion: networking.k8s.io/v1alpha1
import "k8s.io/api/networking/v1alpha1"
IPAddress
IPAddress 表示单个 IP 地址族中的单个 IP 地址。该对象旨在供在 IP 地址上操作的 API 使用。该对象由 Service 核心 API 用于分配 IP 地址。IP 地址可以用不同的格式表示,为了保证 IP 地址的唯一性,对象的名称是 IP 地址的规范格式,四个十进制数字用点隔开,抑制 IPv4 的前导零,以及 RFC 5952 为 IPv6 定义的表示形式。有效:192.168.1.5 或 2001:db8::1 或 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 无效:10.01.2.3 或 2001:db8:0:0:0::1
apiVersion: networking.k8s.io/v1alpha1
kind: IPAddress
metadata (ObjectMeta)
标准对象的元数据。更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
spec (IPAddressSpec)
spec 是 IPAddress 的期望状态。更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
IPAddressSpec
IPAddressSpec 描述 IP 地址中的属性。
parentRef (ParentReference)
ParentRef 引用 IPAddress 附加到的资源。IPAddress 必须引用父对象。
parentRef.group (string)
Group 是被引用的对象的组。
parentRef.name (string)
Name 是被引用的对象的名称。
parentRef.namespace (string)
Namespace 是被引用的对象的命名空间。
parentRef.resource (string)
Resource 是被引用的对象的资源。
parentRef.uid (string)
UID 是被引用的对象的 uid。
IPAddressList
IPAddressList 包含 IPAddress 的列表。
apiVersion: networking.k8s.io/v1alpha1
kind: IPAddressList
metadata (ListMeta)
标准对象的元数据。更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
items ([]IPAddress), required
items 是 IPAddress 的列表。
操作
get
读取指定的 IPAddress
HTTP 请求
GET /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
参数
name (在路径中): string, required
IPAddress 的名称
pretty (在查询中): string
响应
200 (IPAddress): OK
401: 未经授权
list
列出或观察 IPAddress 类型的对象
HTTP 请求
GET /apis/networking.k8s.io/v1alpha1/ipaddresses
参数
allowWatchBookmarks (在查询中): boolean
continue (在查询中): string
fieldSelector (在查询中): string
labelSelector (在查询中): string
limit (在查询中): integer
pretty (在查询中): string
resourceVersion (在查询中): string
resourceVersionMatch (在查询中): string
sendInitialEvents (在查询中): boolean
timeoutSeconds (在查询中): integer
watch (在查询中): boolean
响应
200 (IPAddressList): OK
401: 未经授权
create
创建 IPAddress
HTTP 请求
POST /apis/networking.k8s.io/v1alpha1/ipaddresses
参数
body: IPAddress, required
dryRun (在查询中): string
fieldManager (在查询中): string
fieldValidation (在查询中): string
pretty (在查询中): string
响应
200 (IPAddress): OK
201 (IPAddress): 已创建
202 (IPAddress): 已接受
401: 未经授权
update
替换指定的 IPAddress
HTTP 请求
PUT /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
参数
name (在路径中): string, required
IPAddress 的名称
body: IPAddress, required
dryRun (在查询中): string
fieldManager (在查询中): string
fieldValidation (在查询中): string
pretty (在查询中): string
响应
200 (IPAddress): OK
201 (IPAddress): 已创建
401: 未经授权
patch
部分更新指定的 IPAddress
HTTP 请求
PATCH /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
参数
name (在路径中): string, required
IPAddress 的名称
body: Patch, required
dryRun (在查询中): string
fieldManager (在查询中): string
fieldValidation (在查询中): string
force (在查询中): boolean
pretty (在查询中): string
响应
200 (IPAddress): OK
201 (IPAddress): 已创建
401: 未经授权
delete
删除 IPAddress
HTTP 请求
DELETE /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
参数
name (在路径中): string, required
IPAddress 的名称
body: DeleteOptions
dryRun (在查询中): string
gracePeriodSeconds (在查询中): integer
pretty (在查询中): string
propagationPolicy (在查询中): string
响应
200 (Status): OK
202 (Status): 已接受
401: 未经授权
deletecollection
删除 IPAddress 集合
HTTP 请求
DELETE /apis/networking.k8s.io/v1alpha1/ipaddresses
参数
body: DeleteOptions
continue (在查询中): string
dryRun (在查询中): string
fieldSelector (在查询中): string
gracePeriodSeconds (在查询中): integer
labelSelector (在查询中): string
limit (在查询中): integer
pretty (在查询中): string
propagationPolicy (在查询中): string
resourceVersion (在查询中): string
resourceVersionMatch (在查询中): string
sendInitialEvents (在查询中): boolean
timeoutSeconds (在查询中): integer
响应
200 (Status): OK
401: 未经授权
此页面是自动生成的。
如果您打算报告此页面的问题,请在您的问题描述中提及该页面是自动生成的。修复可能需要在 Kubernetes 项目中的其他地方进行。