ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
| Name | Type | Description | Notes |
|---|---|---|---|
| cidrs | List[str] | 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. | [optional] |
from kubernetes.client.models.v1_service_cidr_spec import V1ServiceCIDRSpec
# TODO update the JSON string below
json = "{}"
# create an instance of V1ServiceCIDRSpec from a JSON string
v1_service_cidr_spec_instance = V1ServiceCIDRSpec.from_json(json)
# print the JSON string representation of the object
print(V1ServiceCIDRSpec.to_json())
# convert the object into a dict
v1_service_cidr_spec_dict = v1_service_cidr_spec_instance.to_dict()
# create an instance of V1ServiceCIDRSpec from a dict
v1_service_cidr_spec_from_dict = V1ServiceCIDRSpec.from_dict(v1_service_cidr_spec_dict)