...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 api-approved.openshift.io: https://github.com/openshift/api/pull/527
6 name: clusternetworks.network.openshift.io
7spec:
8 group: network.openshift.io
9 names:
10 kind: ClusterNetwork
11 listKind: ClusterNetworkList
12 plural: clusternetworks
13 singular: clusternetwork
14 scope: Cluster
15 versions:
16 - additionalPrinterColumns:
17 - description: The primary cluster network CIDR
18 jsonPath: .network
19 name: Cluster Network
20 type: string
21 - description: The service network CIDR
22 jsonPath: .serviceNetwork
23 name: Service Network
24 type: string
25 - description: The OpenShift SDN network plug-in in use
26 jsonPath: .pluginName
27 name: Plugin Name
28 type: string
29 name: v1
30 schema:
31 openAPIV3Schema:
32 description: "ClusterNetwork describes the cluster network. There is normally only one object of this type, named \"default\", which is created by the SDN network plugin based on the master configuration when the cluster is brought up for the first time. \n Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer)."
33 type: object
34 required:
35 - clusterNetworks
36 - serviceNetwork
37 properties:
38 apiVersion:
39 description: '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'
40 type: string
41 clusterNetworks:
42 description: ClusterNetworks is a list of ClusterNetwork objects that defines the global overlay network's L3 space by specifying a set of CIDR and netmasks that the SDN can allocate addresses from.
43 type: array
44 items:
45 description: ClusterNetworkEntry defines an individual cluster network. The CIDRs cannot overlap with other cluster network CIDRs, CIDRs reserved for external ips, CIDRs reserved for service networks, and CIDRs reserved for ingress ips.
46 type: object
47 required:
48 - CIDR
49 - hostSubnetLength
50 properties:
51 CIDR:
52 description: CIDR defines the total range of a cluster networks address space.
53 type: string
54 pattern: ^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$
55 hostSubnetLength:
56 description: HostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods.
57 type: integer
58 format: int32
59 maximum: 30
60 minimum: 2
61 hostsubnetlength:
62 description: HostSubnetLength is the number of bits of network to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods
63 type: integer
64 format: int32
65 maximum: 30
66 minimum: 2
67 kind:
68 description: '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'
69 type: string
70 metadata:
71 type: object
72 mtu:
73 description: MTU is the MTU for the overlay network. This should be 50 less than the MTU of the network connecting the nodes. It is normally autodetected by the cluster network operator.
74 type: integer
75 format: int32
76 maximum: 65536
77 minimum: 576
78 network:
79 description: Network is a CIDR string specifying the global overlay network's L3 space
80 type: string
81 pattern: ^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$
82 pluginName:
83 description: PluginName is the name of the network plugin being used
84 type: string
85 serviceNetwork:
86 description: ServiceNetwork is the CIDR range that Service IP addresses are allocated from
87 type: string
88 pattern: ^(([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/([0-9]|[12][0-9]|3[0-2])$
89 vxlanPort:
90 description: VXLANPort sets the VXLAN destination port used by the cluster. It is set by the master configuration file on startup and cannot be edited manually. Valid values for VXLANPort are integers 1-65535 inclusive and if unset defaults to 4789. Changing VXLANPort allows users to resolve issues between openshift SDN and other software trying to use the same VXLAN destination port.
91 type: integer
92 format: int32
93 maximum: 65535
94 minimum: 1
95 served: true
96 storage: true
97status:
98 acceptedNames:
99 kind: ""
100 plural: ""
101 conditions: []
102 storedVersions: []
View as plain text