Network
networking.gke.io / v1
apiVersion: networking.gke.io/v1
kind: Network
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
NetworkSpec contains the specifications for network object
IPAMMode
string
IPAMMode specifies the IPAM mode for the network. Valid options include: internal, external
enum:
Internal, ExternaldnsConfig object
Specifies the DNS configuration of the network. Required if ExternalDHCP4 is false or not set on L2 type network.
nameservers
[]string required
A list of nameserver IP addresses. Duplicated nameservers will be removed.
minItems:
1
searches
[]string
A list of DNS search domains for host-name lookup. Duplicated search paths will be removed.
externalDHCP4
boolean
ExternalDHCP4 indicates whether the IPAM is static or allocation by the external DHCP server
gateway4
string
Gateway4 defines the gateway IPv4 address for the network. Required if ExternalDHCP4 is false or not set on L2 type network.
l2NetworkConfig object
L2NetworkConfig includes all the network config related to L2 type network
prefixLength4
integer
PrefixLength4 denotes the IPv4 prefix length of the range corresponding to the network. It is used to assign IPs to the pods for multi-networking. This field is required when IPAM is handled internally and dynamically via CCC. It's disallowed for other cases. For static IP, the prefix length is set as part of the address in NetworkInterface object.
format:
int32minimum:
1maximum:
32
vlanID
integer
VlanID is the vlan ID used for the network. If unspecified, vlan tagging is not enabled.
format:
int32minimum:
1maximum:
4094
networkLifecycle
string
NetworkLifecycle specifies who manages the lifecycle of the network. This field can only be used when L2NetworkConfig.VlanID is specified. Otherwise the value will be ignored. If L2NetworkConfig.VlanID is specified and this field is empty, the value is assumed to be AnthosManaged.
enum:
AnthosManaged, UserManagednodeInterfaceMatcher object
NodeInterfaceMatcher defines the matcher to discover the corresponding node interface associated with the network. This field is required for L2 network.
interfaceName
string
InterfaceName specifies the interface name to search on the node.
minLength:
1parametersRef object
ParametersRef is a reference to a resource that contains vendor or implementation specific configurations for the network.
group
string required
Group is the API group of k8s resource, e.g. "networking.k8s.io".
kind
string required
Kind is kind of the referent, e.g. "networkpolicy".
name
string required
Name is the name of the resource object.
namespace
string
Namespace is the namespace of the referent. This field is required when referring to a Namespace-scoped resource and MUST be unset when referring to a Cluster-scoped resource.
provider
string
Provider specifies the provider implementing this network, e.g. "GKE".
enum:
GKEroutes []object
Routes contains a list of routes for the network.
to
string required
To defines a destination IPv4 block in CIDR annotation. e.g. 192.168.0.0/24. The CIDR 0.0.0.0/0 will be rejected.
type
string required
Type defines type of network. Valid options include: L2, L3, Device. L2 network type enables L2 connectivity on the network. L3 network type enables L3 connectivity on the network. Device network type enables direct device access on the network.
enum:
L2, L3, Devicestatus object
NetworkStatus contains the status information related to the network.
conditions []object
Conditions is a field representing the current conditions of the Network.
Known condition types are:
* "Ready" * "ParamsReady"
lastTransitionTime
string 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.
format:
date-time
message
string required
message is a human readable message indicating details about the transition. This may be an empty string.
maxLength:
32768
observedGeneration
integer
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.
format:
int64minimum:
0
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.
pattern:
^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$minLength:
1maxLength:
1024
status
string required
status of the condition, one of True, False, Unknown.
enum:
True, False, Unknown
type
string required
type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
pattern:
^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$maxLength:
316No matches. Try .spec.IPAMMode for an exact path