apiVersion: networking.k8s.io/v1
import "k8s.io/api/networking/v1"
ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.
apiVersion: networking.k8s.io/v1
kind: ServiceCIDR
metadata (ObjectMeta)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
spec (ServiceCIDRSpec)
spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
status (ServiceCIDRStatus)
status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
cidrs ([]string)
Atomic: will be replaced during a merge
CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
ServiceCIDRStatus describes the current state of the ServiceCIDR.
conditions ([]Condition)
Patch strategy: merge on key type
Map: unique values on key type will be kept during a merge
conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
Condition contains details for one aspect of the current state of this API Resource.
conditions.lastTransitionTime (Time), required
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
conditions.message (string), required
message is a human readable message indicating details about the transition. This may be an empty string.
conditions.reason (string), required
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
conditions.status (string), required
status of the condition, one of True, False, Unknown.
conditions.type (string), required
type of condition in CamelCase or in foo.example.com/CamelCase.
conditions.observedGeneration (int64)
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
ServiceCIDRList contains a list of ServiceCIDR objects.
apiVersion: networking.k8s.io/v1
kind: ServiceCIDRList
metadata (ListMeta)
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
items ([]ServiceCIDR), required
items is the list of ServiceCIDRs.
get read the specified ServiceCIDRGET /apis/networking.k8s.io/v1/servicecidrs/{name}
name (in path): string, required
name of the ServiceCIDR
pretty (in query): string
200 (ServiceCIDR): OK
401: Unauthorized
get read status of the specified ServiceCIDRGET /apis/networking.k8s.io/v1/servicecidrs/{name}/status
name (in path): string, required
name of the ServiceCIDR
pretty (in query): string
200 (ServiceCIDR): OK
401: Unauthorized
list list or watch objects of kind ServiceCIDRGET /apis/networking.k8s.io/v1/servicecidrs
allowWatchBookmarks (in query): boolean
continue (in query): string
fieldSelector (in query): string
labelSelector (in query): string
limit (in query): integer
pretty (in query): string
resourceVersion (in query): string
resourceVersionMatch (in query): string
sendInitialEvents (in query): boolean
timeoutSeconds (in query): integer
watch (in query): boolean
200 (ServiceCIDRList): OK
401: Unauthorized
create create a ServiceCIDRPOST /apis/networking.k8s.io/v1/servicecidrs
body: ServiceCIDR, required
dryRun (in query): string
fieldManager (in query): string
fieldValidation (in query): string
pretty (in query): string
200 (ServiceCIDR): OK
201 (ServiceCIDR): Created
202 (ServiceCIDR): Accepted
401: Unauthorized
update replace the specified ServiceCIDRPUT /apis/networking.k8s.io/v1/servicecidrs/{name}
name (in path): string, required
name of the ServiceCIDR
body: ServiceCIDR, required
dryRun (in query): string
fieldManager (in query): string
fieldValidation (in query): string
pretty (in query): string
200 (ServiceCIDR): OK
201 (ServiceCIDR): Created
401: Unauthorized
update replace status of the specified ServiceCIDRPUT /apis/networking.k8s.io/v1/servicecidrs/{name}/status
name (in path): string, required
name of the ServiceCIDR
body: ServiceCIDR, required
dryRun (in query): string
fieldManager (in query): string
fieldValidation (in query): string
pretty (in query): string
200 (ServiceCIDR): OK
201 (ServiceCIDR): Created
401: Unauthorized
patch partially update the specified ServiceCIDRPATCH /apis/networking.k8s.io/v1/servicecidrs/{name}
name (in path): string, required
name of the ServiceCIDR
body: Patch, required
dryRun (in query): string
fieldManager (in query): string
fieldValidation (in query): string
force (in query): boolean
pretty (in query): string
200 (ServiceCIDR): OK
201 (ServiceCIDR): Created
401: Unauthorized
patch partially update status of the specified ServiceCIDRPATCH /apis/networking.k8s.io/v1/servicecidrs/{name}/status
name (in path): string, required
name of the ServiceCIDR
body: Patch, required
dryRun (in query): string
fieldManager (in query): string
fieldValidation (in query): string
force (in query): boolean
pretty (in query): string
200 (ServiceCIDR): OK
201 (ServiceCIDR): Created
401: Unauthorized
delete delete a ServiceCIDRDELETE /apis/networking.k8s.io/v1/servicecidrs/{name}
name (in path): string, required
name of the ServiceCIDR
body: DeleteOptions
dryRun (in query): string
gracePeriodSeconds (in query): integer
ignoreStoreReadErrorWithClusterBreakingPotential (in query): boolean
pretty (in query): string
propagationPolicy (in query): string
200 (Status): OK
202 (Status): Accepted
401: Unauthorized
deletecollection delete collection of ServiceCIDRDELETE /apis/networking.k8s.io/v1/servicecidrs
body: DeleteOptions
continue (in query): string
dryRun (in query): string
fieldSelector (in query): string
gracePeriodSeconds (in query): integer
ignoreStoreReadErrorWithClusterBreakingPotential (in query): boolean
labelSelector (in query): string
limit (in query): integer
pretty (in query): string
propagationPolicy (in query): string
resourceVersion (in query): string
resourceVersionMatch (in query): string
sendInitialEvents (in query): boolean
timeoutSeconds (in query): integer
200 (Status): OK
401: Unauthorized
This page is automatically generated.
If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.