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 为用点分隔的四个十进制数字,抑制 IPv4 的前导零,IPv6 为 RFC 5952 定义的表示形式。有效: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: Unauthorized
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: Unauthorized
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): Created
202 (IPAddress): Accepted
401: Unauthorized
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): Created
401: Unauthorized
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): Created
401: Unauthorized
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): Accepted
401: Unauthorized
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: Unauthorized
此页面是自动生成的。
如果您打算报告有关此页面的问题,请在您的问题描述中提及该页面是自动生成的。修复可能需要在 Kubernetes 项目的其他地方进行。