ServiceCIDR networking.k8s.io/v1beta1
Other versions: 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.
Fields
- apiVersion:
networking.k8s.io/v1beta1 - 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
ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
- cidrs ([]string)
-
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
ServiceCIDRStatus describes the current state of the ServiceCIDR.
- conditions ([]Condition)
-
conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
ServiceCIDRList
ServiceCIDRList contains a list of ServiceCIDR objects.
- apiVersion:
networking.k8s.io/v1beta1 - 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)
-
items is the list of ServiceCIDRs.