k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/cluster/addons/calico-policy-controller/ippool-crd.yaml (about) 1 apiVersion: apiextensions.k8s.io/v1 2 kind: CustomResourceDefinition 3 metadata: 4 labels: 5 addonmanager.kubernetes.io/mode: Reconcile 6 name: ippools.crd.projectcalico.org 7 spec: 8 group: crd.projectcalico.org 9 names: 10 kind: IPPool 11 listKind: IPPoolList 12 plural: ippools 13 singular: ippool 14 scope: Cluster 15 versions: 16 - name: v1 17 schema: 18 openAPIV3Schema: 19 properties: 20 apiVersion: 21 description: 'APIVersion defines the versioned schema of this representation 22 of an object. Servers should convert recognized schemas to the latest 23 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 24 type: string 25 kind: 26 description: 'Kind is a string value representing the REST resource this 27 object represents. Servers may infer this from the endpoint the client 28 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 29 type: string 30 metadata: 31 type: object 32 spec: 33 description: IPPoolSpec contains the specification for an IPPool resource. 34 properties: 35 blockSize: 36 description: The block size to use for IP address assignments from 37 this pool. Defaults to 26 for IPv4 and 112 for IPv6. 38 type: integer 39 cidr: 40 description: The pool CIDR. 41 type: string 42 disabled: 43 description: When disabled is true, Calico IPAM will not assign addresses 44 from this pool. 45 type: boolean 46 ipip: 47 description: 'Deprecated: this field is only used for APIv1 backwards 48 compatibility. Setting this field is not allowed, this field is 49 for internal use only.' 50 properties: 51 enabled: 52 description: When enabled is true, ipip tunneling will be used 53 to deliver packets to destinations within this pool. 54 type: boolean 55 mode: 56 description: The IPIP mode. This can be one of "always" or "cross-subnet". A 57 mode of "always" will also use IPIP tunneling for routing to 58 destination IP addresses within this pool. A mode of "cross-subnet" 59 will only use IPIP tunneling when the destination node is on 60 a different subnet to the originating node. The default value 61 (if not specified) is "always". 62 type: string 63 type: object 64 ipipMode: 65 description: Contains configuration for IPIP tunneling for this pool. 66 If not specified, then this is defaulted to "Never" (i.e. IPIP tunneling 67 is disabled). 68 type: string 69 nat-outgoing: 70 description: 'Deprecated: this field is only used for APIv1 backwards 71 compatibility. Setting this field is not allowed, this field is 72 for internal use only.' 73 type: boolean 74 natOutgoing: 75 description: When nat-outgoing is true, packets sent from Calico networked 76 containers in this pool to destinations outside of this pool will 77 be masqueraded. 78 type: boolean 79 nodeSelector: 80 description: Allows IPPool to allocate for a specific node by label 81 selector. 82 type: string 83 vxlanMode: 84 description: Contains configuration for VXLAN tunneling for this pool. 85 If not specified, then this is defaulted to "Never" (i.e. VXLAN 86 tunneling is disabled). 87 type: string 88 required: 89 - cidr 90 type: object 91 type: object 92 served: true 93 storage: true 94 status: 95 acceptedNames: 96 kind: "" 97 plural: "" 98 conditions: [] 99 storedVersions: []