Update to version v3.23.0
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4bd2267e77
commit
a1b71d54ec
13 changed files with 247 additions and 38 deletions
|
|
@ -38,6 +38,12 @@ spec:
|
||||||
64512]'
|
64512]'
|
||||||
format: int32
|
format: int32
|
||||||
type: integer
|
type: integer
|
||||||
|
bindMode:
|
||||||
|
description: BindMode indicates whether to listen for BGP connections
|
||||||
|
on all addresses (None) or only on the node's canonical IP address
|
||||||
|
Node.Spec.BGP.IPvXAddress (NodeIP). Default behaviour is to listen
|
||||||
|
for BGP connections on all addresses.
|
||||||
|
type: string
|
||||||
communities:
|
communities:
|
||||||
description: Communities is a list of BGP community values and their
|
description: Communities is a list of BGP community values and their
|
||||||
arbitrary names for tagging routes.
|
arbitrary names for tagging routes.
|
||||||
|
|
@ -68,6 +74,37 @@ spec:
|
||||||
description: 'LogSeverityScreen is the log severity above which logs
|
description: 'LogSeverityScreen is the log severity above which logs
|
||||||
are sent to the stdout. [Default: INFO]'
|
are sent to the stdout. [Default: INFO]'
|
||||||
type: string
|
type: string
|
||||||
|
nodeMeshMaxRestartTime:
|
||||||
|
description: Time to allow for software restart for node-to-mesh peerings. When
|
||||||
|
specified, this is configured as the graceful restart timeout. When
|
||||||
|
not specified, the BIRD default of 120s is used. This field can
|
||||||
|
only be set on the default BGPConfiguration instance and requires
|
||||||
|
that NodeMesh is enabled
|
||||||
|
type: string
|
||||||
|
nodeMeshPassword:
|
||||||
|
description: Optional BGP password for full node-to-mesh peerings.
|
||||||
|
This field can only be set on the default BGPConfiguration instance
|
||||||
|
and requires that NodeMesh is enabled
|
||||||
|
properties:
|
||||||
|
secretKeyRef:
|
||||||
|
description: Selects a key of a secret in the node pod's namespace.
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
description: The key of the secret to select from. Must be
|
||||||
|
a valid secret key.
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?'
|
||||||
|
type: string
|
||||||
|
optional:
|
||||||
|
description: Specify whether the Secret or its key must be
|
||||||
|
defined
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
nodeToNodeMeshEnabled:
|
nodeToNodeMeshEnabled:
|
||||||
description: 'NodeToNodeMeshEnabled sets whether full node to node
|
description: 'NodeToNodeMeshEnabled sets whether full node to node
|
||||||
BGP mesh is enabled. [Default: true]'
|
BGP mesh is enabled. [Default: true]'
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,12 @@ spec:
|
||||||
description: Selector for the nodes that should have this peering. When
|
description: Selector for the nodes that should have this peering. When
|
||||||
this is set, the Node field must be empty.
|
this is set, the Node field must be empty.
|
||||||
type: string
|
type: string
|
||||||
|
numAllowedLocalASNumbers:
|
||||||
|
description: Maximum number of local AS numbers that are allowed in
|
||||||
|
the AS path for received routes. This removes BGP loop prevention
|
||||||
|
and should only be used if absolutely necesssary.
|
||||||
|
format: int32
|
||||||
|
type: integer
|
||||||
password:
|
password:
|
||||||
description: Optional BGP password for the peerings generated by this
|
description: Optional BGP password for the peerings generated by this
|
||||||
BGPPeer resource.
|
BGPPeer resource.
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,9 @@ rules:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
# IPAM resources are manipulated when nodes are deleted.
|
# IPAM resources are manipulated in response to node and block updates, as well as periodic triggers.
|
||||||
- apiGroups: ["crd.projectcalico.org"]
|
- apiGroups: ["crd.projectcalico.org"]
|
||||||
resources:
|
resources:
|
||||||
- ippools
|
|
||||||
- ipreservations
|
- ipreservations
|
||||||
verbs:
|
verbs:
|
||||||
- list
|
- list
|
||||||
|
|
@ -42,6 +41,13 @@ rules:
|
||||||
- update
|
- update
|
||||||
- delete
|
- delete
|
||||||
- watch
|
- watch
|
||||||
|
# Pools are watched to maintain a mapping of blocks to IP pools.
|
||||||
|
- apiGroups: ["crd.projectcalico.org"]
|
||||||
|
resources:
|
||||||
|
- ippools
|
||||||
|
verbs:
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
# kube-controllers manages hostendpoints.
|
# kube-controllers manages hostendpoints.
|
||||||
- apiGroups: ["crd.projectcalico.org"]
|
- apiGroups: ["crd.projectcalico.org"]
|
||||||
resources:
|
resources:
|
||||||
|
|
@ -58,8 +64,10 @@ rules:
|
||||||
- clusterinformations
|
- clusterinformations
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
|
- list
|
||||||
- create
|
- create
|
||||||
- update
|
- update
|
||||||
|
- watch
|
||||||
# KubeControllersConfiguration is where it gets its config
|
# KubeControllersConfiguration is where it gets its config
|
||||||
- apiGroups: ["crd.projectcalico.org"]
|
- apiGroups: ["crd.projectcalico.org"]
|
||||||
resources:
|
resources:
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ spec:
|
||||||
priorityClassName: system-cluster-critical
|
priorityClassName: system-cluster-critical
|
||||||
containers:
|
containers:
|
||||||
- name: calico-kube-controllers
|
- name: calico-kube-controllers
|
||||||
image: docker.io/calico/kube-controllers:v3.22.2
|
image: docker.io/calico/kube-controllers:v3.23.0
|
||||||
env:
|
env:
|
||||||
# Choose which controllers to run.
|
# Choose which controllers to run.
|
||||||
- name: ENABLED_CONTROLLERS
|
- name: ENABLED_CONTROLLERS
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
# This manifest creates a Pod Disruption Budget for Controller to allow K8s Cluster Autoscaler to evict
|
# This manifest creates a Pod Disruption Budget for Controller to allow K8s Cluster Autoscaler to evict
|
||||||
|
|
||||||
apiVersion: policy/v1beta1
|
apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: calico-kube-controllers
|
name: calico-kube-controllers
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ spec:
|
||||||
# It can be deleted if this is a fresh installation, or if you have already
|
# It can be deleted if this is a fresh installation, or if you have already
|
||||||
# upgraded to use calico-ipam.
|
# upgraded to use calico-ipam.
|
||||||
- name: upgrade-ipam
|
- name: upgrade-ipam
|
||||||
image: docker.io/calico/cni:v3.22.2
|
image: docker.io/calico/cni:v3.23.0
|
||||||
command: ["/opt/cni/bin/calico-ipam", "-upgrade"]
|
command: ["/opt/cni/bin/calico-ipam", "-upgrade"]
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
|
|
@ -71,7 +71,7 @@ spec:
|
||||||
# This container installs the CNI binaries
|
# This container installs the CNI binaries
|
||||||
# and CNI network config file on each node.
|
# and CNI network config file on each node.
|
||||||
- name: install-cni
|
- name: install-cni
|
||||||
image: docker.io/calico/cni:v3.22.2
|
image: docker.io/calico/cni:v3.23.0
|
||||||
command: ["/opt/cni/bin/install"]
|
command: ["/opt/cni/bin/install"]
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
|
|
@ -109,21 +109,12 @@ spec:
|
||||||
name: cni-net-dir
|
name: cni-net-dir
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
# Adds a Flex Volume Driver that creates a per-pod Unix Domain Socket to allow Dikastes
|
|
||||||
# to communicate with Felix over the Policy Sync API.
|
|
||||||
- name: flexvol-driver
|
|
||||||
image: docker.io/calico/pod2daemon-flexvol:v3.22.2
|
|
||||||
volumeMounts:
|
|
||||||
- name: flexvol-driver-host
|
|
||||||
mountPath: /host/driver
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
containers:
|
containers:
|
||||||
# Runs calico-node container on each Kubernetes node. This
|
# Runs calico-node container on each Kubernetes node. This
|
||||||
# container programs network policy and routes on each
|
# container programs network policy and routes on each
|
||||||
# host.
|
# host.
|
||||||
- name: calico-node
|
- name: calico-node
|
||||||
image: docker.io/calico/node:v3.22.2
|
image: docker.io/calico/node:v3.23.0
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
# Allow KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT to be overridden for eBPF mode.
|
# Allow KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT to be overridden for eBPF mode.
|
||||||
|
|
@ -159,6 +150,9 @@ spec:
|
||||||
# Enable or Disable VXLAN on the default IP pool.
|
# Enable or Disable VXLAN on the default IP pool.
|
||||||
- name: CALICO_IPV4POOL_VXLAN
|
- name: CALICO_IPV4POOL_VXLAN
|
||||||
value: "Always"
|
value: "Always"
|
||||||
|
# Enable or Disable VXLAN on the default IPv6 IP pool.
|
||||||
|
- name: CALICO_IPV6POOL_VXLAN
|
||||||
|
value: "Never"
|
||||||
# Set MTU for tunnel device used if ipip is enabled
|
# Set MTU for tunnel device used if ipip is enabled
|
||||||
- name: FELIX_IPINIPMTU
|
- name: FELIX_IPINIPMTU
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
@ -298,8 +292,3 @@ spec:
|
||||||
hostPath:
|
hostPath:
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
path: /var/run/nodeagent
|
path: /var/run/nodeagent
|
||||||
# Used to install Flex Volume Driver
|
|
||||||
- name: flexvol-driver-host
|
|
||||||
hostPath:
|
|
||||||
type: DirectoryOrCreate
|
|
||||||
path: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ spec:
|
||||||
serviceAccountName: calicoctl
|
serviceAccountName: calicoctl
|
||||||
containers:
|
containers:
|
||||||
- name: calicoctl
|
- name: calicoctl
|
||||||
image: calico/ctl:v3.22.2
|
image: calico/ctl:v3.23.0
|
||||||
command:
|
command:
|
||||||
- /calicoctl
|
- /calicoctl
|
||||||
args:
|
args:
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Calico Version v3.22.2
|
# Calico Version v3.23.0
|
||||||
# https://projectcalico.docs.tigera.io/releases#v3.22.2
|
# https://projectcalico.docs.tigera.io/releases#v3.23.0
|
||||||
# This manifest includes the following component versions:
|
# This manifest includes the following component versions:
|
||||||
# calico/ctl:v3.22.2
|
# calico/ctl:v3.23.0
|
||||||
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
|
|
|
||||||
|
|
@ -77,6 +77,11 @@ spec:
|
||||||
description: 'BPFEnabled, if enabled Felix will use the BPF dataplane.
|
description: 'BPFEnabled, if enabled Felix will use the BPF dataplane.
|
||||||
[Default: false]'
|
[Default: false]'
|
||||||
type: boolean
|
type: boolean
|
||||||
|
bpfEnforceRPF:
|
||||||
|
description: 'BPFEnforceRPF enforce strict RPF on all interfaces with
|
||||||
|
BPF programs regardless of what is the per-interfaces or global
|
||||||
|
setting. Possible values are Disabled or Strict. [Default: Strict]'
|
||||||
|
type: string
|
||||||
bpfExtToServiceConnmark:
|
bpfExtToServiceConnmark:
|
||||||
description: 'BPFExtToServiceConnmark in BPF mode, control a 32bit
|
description: 'BPFExtToServiceConnmark in BPF mode, control a 32bit
|
||||||
mark that is set on connections from an external client to a local
|
mark that is set on connections from an external client to a local
|
||||||
|
|
@ -116,6 +121,51 @@ spec:
|
||||||
logs are emitted to the BPF trace pipe, accessible with the command
|
logs are emitted to the BPF trace pipe, accessible with the command
|
||||||
`tc exec bpf debug`. [Default: Off].'
|
`tc exec bpf debug`. [Default: Off].'
|
||||||
type: string
|
type: string
|
||||||
|
bpfMapSizeConntrack:
|
||||||
|
description: 'BPFMapSizeConntrack sets the size for the conntrack
|
||||||
|
map. This map must be large enough to hold an entry for each active
|
||||||
|
connection. Warning: changing the size of the conntrack map can
|
||||||
|
cause disruption.'
|
||||||
|
type: integer
|
||||||
|
bpfMapSizeIPSets:
|
||||||
|
description: BPFMapSizeIPSets sets the size for ipsets map. The IP
|
||||||
|
sets map must be large enough to hold an entry for each endpoint
|
||||||
|
matched by every selector in the source/destination matches in network
|
||||||
|
policy. Selectors such as "all()" can result in large numbers of
|
||||||
|
entries (one entry per endpoint in that case).
|
||||||
|
type: integer
|
||||||
|
bpfMapSizeNATAffinity:
|
||||||
|
type: integer
|
||||||
|
bpfMapSizeNATBackend:
|
||||||
|
description: BPFMapSizeNATBackend sets the size for nat back end map.
|
||||||
|
This is the total number of endpoints. This is mostly more than
|
||||||
|
the size of the number of services.
|
||||||
|
type: integer
|
||||||
|
bpfMapSizeNATFrontend:
|
||||||
|
description: BPFMapSizeNATFrontend sets the size for nat front end
|
||||||
|
map. FrontendMap should be large enough to hold an entry for each
|
||||||
|
nodeport, external IP and each port in each service.
|
||||||
|
type: integer
|
||||||
|
bpfMapSizeRoute:
|
||||||
|
description: BPFMapSizeRoute sets the size for the routes map. The
|
||||||
|
routes map should be large enough to hold one entry per workload
|
||||||
|
and a handful of entries per host (enough to cover its own IPs and
|
||||||
|
tunnel IPs).
|
||||||
|
type: integer
|
||||||
|
bpfPSNATPorts:
|
||||||
|
anyOf:
|
||||||
|
- type: integer
|
||||||
|
- type: string
|
||||||
|
description: 'BPFPSNATPorts sets the range from which we randomly
|
||||||
|
pick a port if there is a source port collision. This should be
|
||||||
|
within the ephemeral range as defined by RFC 6056 (1024–65535) and
|
||||||
|
preferably outside the ephemeral ranges used by common operating
|
||||||
|
systems. Linux uses 32768–60999, while others mostly use the IANA
|
||||||
|
defined range 49152–65535. It is not necessarily a problem if this
|
||||||
|
range overlaps with the operating systems. Both ends of the range
|
||||||
|
are inclusive. [Default: 20000:29999]'
|
||||||
|
pattern: ^.*
|
||||||
|
x-kubernetes-int-or-string: true
|
||||||
chainInsertMode:
|
chainInsertMode:
|
||||||
description: 'ChainInsertMode controls whether Felix hooks the kernel''s
|
description: 'ChainInsertMode controls whether Felix hooks the kernel''s
|
||||||
top-level iptables chains by inserting a rule at the top of the
|
top-level iptables chains by inserting a rule at the top of the
|
||||||
|
|
@ -126,6 +176,15 @@ spec:
|
||||||
Calico policy will be bypassed. [Default: insert]'
|
Calico policy will be bypassed. [Default: insert]'
|
||||||
type: string
|
type: string
|
||||||
dataplaneDriver:
|
dataplaneDriver:
|
||||||
|
description: DataplaneDriver filename of the external dataplane driver
|
||||||
|
to use. Only used if UseInternalDataplaneDriver is set to false.
|
||||||
|
type: string
|
||||||
|
dataplaneWatchdogTimeout:
|
||||||
|
description: 'DataplaneWatchdogTimeout is the readiness/liveness timeout
|
||||||
|
used for Felix''s (internal) dataplane driver. Increase this value
|
||||||
|
if you experience spurious non-ready or non-live events when Felix
|
||||||
|
is under heavy load. Decrease the value to get felix to report non-live
|
||||||
|
or non-ready more quickly. [Default: 90s]'
|
||||||
type: string
|
type: string
|
||||||
debugDisableLogDropping:
|
debugDisableLogDropping:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -154,9 +213,14 @@ spec:
|
||||||
routes, by default this will be RTPROT_BOOT when left blank.
|
routes, by default this will be RTPROT_BOOT when left blank.
|
||||||
type: integer
|
type: integer
|
||||||
deviceRouteSourceAddress:
|
deviceRouteSourceAddress:
|
||||||
description: This is the source address to use on programmed device
|
description: This is the IPv4 source address to use on programmed
|
||||||
routes. By default the source address is left blank, leaving the
|
device routes. By default the source address is left blank, leaving
|
||||||
kernel to choose the source address used.
|
the kernel to choose the source address used.
|
||||||
|
type: string
|
||||||
|
deviceRouteSourceAddressIPv6:
|
||||||
|
description: This is the IPv6 source address to use on programmed
|
||||||
|
device routes. By default the source address is left blank, leaving
|
||||||
|
the kernel to choose the source address used.
|
||||||
type: string
|
type: string
|
||||||
disableConntrackInvalidCheck:
|
disableConntrackInvalidCheck:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -230,6 +294,14 @@ spec:
|
||||||
"true" or "false" will force the feature, empty or omitted values
|
"true" or "false" will force the feature, empty or omitted values
|
||||||
are auto-detected.
|
are auto-detected.
|
||||||
type: string
|
type: string
|
||||||
|
floatingIPs:
|
||||||
|
default: Disabled
|
||||||
|
description: FloatingIPs configures whether or not Felix will program
|
||||||
|
floating IP addresses.
|
||||||
|
enum:
|
||||||
|
- Enabled
|
||||||
|
- Disabled
|
||||||
|
type: string
|
||||||
genericXDPEnabled:
|
genericXDPEnabled:
|
||||||
description: 'GenericXDPEnabled enables Generic XDP so network cards
|
description: 'GenericXDPEnabled enables Generic XDP so network cards
|
||||||
that don''t support XDP offload or driver modes can use XDP. This
|
that don''t support XDP offload or driver modes can use XDP. This
|
||||||
|
|
@ -267,6 +339,9 @@ spec:
|
||||||
disabled by setting the interval to 0.
|
disabled by setting the interval to 0.
|
||||||
type: string
|
type: string
|
||||||
ipipEnabled:
|
ipipEnabled:
|
||||||
|
description: 'IPIPEnabled overrides whether Felix should configure
|
||||||
|
an IPIP interface on the host. Optional as Felix determines this
|
||||||
|
based on the existing IP pools. [Default: nil (unset)]'
|
||||||
type: boolean
|
type: boolean
|
||||||
ipipMTU:
|
ipipMTU:
|
||||||
description: 'IPIPMTU is the MTU to set on the tunnel device. See
|
description: 'IPIPMTU is the MTU to set on the tunnel device. See
|
||||||
|
|
@ -333,6 +408,8 @@ spec:
|
||||||
usage. [Default: 10s]'
|
usage. [Default: 10s]'
|
||||||
type: string
|
type: string
|
||||||
ipv6Support:
|
ipv6Support:
|
||||||
|
description: IPv6Support controls whether Felix enables support for
|
||||||
|
IPv6 (if supported by the in-use dataplane).
|
||||||
type: boolean
|
type: boolean
|
||||||
kubeNodePortRanges:
|
kubeNodePortRanges:
|
||||||
description: 'KubeNodePortRanges holds list of port ranges used for
|
description: 'KubeNodePortRanges holds list of port ranges used for
|
||||||
|
|
@ -346,6 +423,12 @@ spec:
|
||||||
pattern: ^.*
|
pattern: ^.*
|
||||||
x-kubernetes-int-or-string: true
|
x-kubernetes-int-or-string: true
|
||||||
type: array
|
type: array
|
||||||
|
logDebugFilenameRegex:
|
||||||
|
description: LogDebugFilenameRegex controls which source code files
|
||||||
|
have their Debug log output included in the logs. Only logs from
|
||||||
|
files with names that match the given regular expression are included. The
|
||||||
|
filter only applies to Debug level logs.
|
||||||
|
type: string
|
||||||
logFilePath:
|
logFilePath:
|
||||||
description: 'LogFilePath is the full path to the Felix log. Set to
|
description: 'LogFilePath is the full path to the Felix log. Set to
|
||||||
none to disable file logging. [Default: /var/log/calico/felix.log]'
|
none to disable file logging. [Default: /var/log/calico/felix.log]'
|
||||||
|
|
@ -475,9 +558,9 @@ spec:
|
||||||
routes. - CalicoIPAM: the default - use IPAM data to construct routes.'
|
routes. - CalicoIPAM: the default - use IPAM data to construct routes.'
|
||||||
type: string
|
type: string
|
||||||
routeTableRange:
|
routeTableRange:
|
||||||
description: Calico programs additional Linux route tables for various
|
description: Deprecated in favor of RouteTableRanges. Calico programs
|
||||||
purposes. RouteTableRange specifies the indices of the route tables
|
additional Linux route tables for various purposes. RouteTableRange
|
||||||
that Calico should use.
|
specifies the indices of the route tables that Calico should use.
|
||||||
properties:
|
properties:
|
||||||
max:
|
max:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
@ -487,6 +570,21 @@ spec:
|
||||||
- max
|
- max
|
||||||
- min
|
- min
|
||||||
type: object
|
type: object
|
||||||
|
routeTableRanges:
|
||||||
|
description: Calico programs additional Linux route tables for various
|
||||||
|
purposes. RouteTableRanges specifies a set of table index ranges
|
||||||
|
that Calico should use. Deprecates`RouteTableRange`, overrides `RouteTableRange`.
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
max:
|
||||||
|
type: integer
|
||||||
|
min:
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- max
|
||||||
|
- min
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
serviceLoopPrevention:
|
serviceLoopPrevention:
|
||||||
description: 'When service IP advertisement is enabled, prevent routing
|
description: 'When service IP advertisement is enabled, prevent routing
|
||||||
loops to service IPs that are not in use, by dropping or rejecting
|
loops to service IPs that are not in use, by dropping or rejecting
|
||||||
|
|
@ -514,12 +612,22 @@ spec:
|
||||||
Felix makes reports. [Default: 86400s]'
|
Felix makes reports. [Default: 86400s]'
|
||||||
type: string
|
type: string
|
||||||
useInternalDataplaneDriver:
|
useInternalDataplaneDriver:
|
||||||
|
description: UseInternalDataplaneDriver, if true, Felix will use its
|
||||||
|
internal dataplane programming logic. If false, it will launch
|
||||||
|
an external dataplane driver and communicate with it over protobuf.
|
||||||
type: boolean
|
type: boolean
|
||||||
vxlanEnabled:
|
vxlanEnabled:
|
||||||
|
description: 'VXLANEnabled overrides whether Felix should create the
|
||||||
|
VXLAN tunnel device for VXLAN networking. Optional as Felix determines
|
||||||
|
this based on the existing IP pools. [Default: nil (unset)]'
|
||||||
type: boolean
|
type: boolean
|
||||||
vxlanMTU:
|
vxlanMTU:
|
||||||
description: 'VXLANMTU is the MTU to set on the tunnel device. See
|
description: 'VXLANMTU is the MTU to set on the IPv4 VXLAN tunnel
|
||||||
Configuring MTU [Default: 1440]'
|
device. See Configuring MTU [Default: 1410]'
|
||||||
|
type: integer
|
||||||
|
vxlanMTUV6:
|
||||||
|
description: 'VXLANMTUV6 is the MTU to set on the IPv6 VXLAN tunnel
|
||||||
|
device. See Configuring MTU [Default: 1390]'
|
||||||
type: integer
|
type: integer
|
||||||
vxlanPort:
|
vxlanPort:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
@ -537,6 +645,10 @@ spec:
|
||||||
description: 'WireguardInterfaceName specifies the name to use for
|
description: 'WireguardInterfaceName specifies the name to use for
|
||||||
the Wireguard interface. [Default: wg.calico]'
|
the Wireguard interface. [Default: wg.calico]'
|
||||||
type: string
|
type: string
|
||||||
|
wireguardKeepAlive:
|
||||||
|
description: 'WireguardKeepAlive controls Wireguard PersistentKeepalive
|
||||||
|
option. Set 0 to disable. [Default: 0]'
|
||||||
|
type: string
|
||||||
wireguardListeningPort:
|
wireguardListeningPort:
|
||||||
description: 'WireguardListeningPort controls the listening port used
|
description: 'WireguardListeningPort controls the listening port used
|
||||||
by Wireguard. [Default: 51820]'
|
by Wireguard. [Default: 51820]'
|
||||||
|
|
@ -549,6 +661,12 @@ spec:
|
||||||
description: 'WireguardRoutingRulePriority controls the priority value
|
description: 'WireguardRoutingRulePriority controls the priority value
|
||||||
to use for the Wireguard routing rule. [Default: 99]'
|
to use for the Wireguard routing rule. [Default: 99]'
|
||||||
type: integer
|
type: integer
|
||||||
|
workloadSourceSpoofing:
|
||||||
|
description: WorkloadSourceSpoofing controls whether pods can use
|
||||||
|
the allowedSourcePrefixes annotation to send traffic with a source
|
||||||
|
IP address that is not theirs. This is disabled by default. When
|
||||||
|
set to "Any", pods can request any prefix.
|
||||||
|
type: string
|
||||||
xdpEnabled:
|
xdpEnabled:
|
||||||
description: 'XDPEnabled enables XDP acceleration for suitable untracked
|
description: 'XDPEnabled enables XDP acceleration for suitable untracked
|
||||||
incoming deny rules. [Default: true]'
|
incoming deny rules. [Default: true]'
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,16 @@ spec:
|
||||||
resource.
|
resource.
|
||||||
properties:
|
properties:
|
||||||
affinity:
|
affinity:
|
||||||
|
description: Affinity of the block, if this block has one. If set,
|
||||||
|
it will be of the form "host:<hostname>". If not set, this block
|
||||||
|
is not affine to a host.
|
||||||
type: string
|
type: string
|
||||||
allocations:
|
allocations:
|
||||||
|
description: Array of allocations in-use within this block. nil entries
|
||||||
|
mean the allocation is free. For non-nil entries at index i, the
|
||||||
|
index is the ordinal of the allocation within this block and the
|
||||||
|
value is the index of the associated attributes in the Attributes
|
||||||
|
array.
|
||||||
items:
|
items:
|
||||||
type: integer
|
type: integer
|
||||||
# TODO: This nullable is manually added in. We should update controller-gen
|
# TODO: This nullable is manually added in. We should update controller-gen
|
||||||
|
|
@ -41,6 +49,10 @@ spec:
|
||||||
nullable: true
|
nullable: true
|
||||||
type: array
|
type: array
|
||||||
attributes:
|
attributes:
|
||||||
|
description: Attributes is an array of arbitrary metadata associated
|
||||||
|
with allocations in the block. To find attributes for a given allocation,
|
||||||
|
use the value of the allocation's entry in the Allocations array
|
||||||
|
as the index of the element in this array.
|
||||||
items:
|
items:
|
||||||
properties:
|
properties:
|
||||||
handle_id:
|
handle_id:
|
||||||
|
|
@ -52,12 +64,38 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
cidr:
|
cidr:
|
||||||
|
description: The block's CIDR.
|
||||||
type: string
|
type: string
|
||||||
deleted:
|
deleted:
|
||||||
|
description: Deleted is an internal boolean used to workaround a limitation
|
||||||
|
in the Kubernetes API whereby deletion will not return a conflict
|
||||||
|
error if the block has been updated. It should not be set manually.
|
||||||
type: boolean
|
type: boolean
|
||||||
|
sequenceNumber:
|
||||||
|
default: 0
|
||||||
|
description: We store a sequence number that is updated each time
|
||||||
|
the block is written. Each allocation will also store the sequence
|
||||||
|
number of the block at the time of its creation. When releasing
|
||||||
|
an IP, passing the sequence number associated with the allocation
|
||||||
|
allows us to protect against a race condition and ensure the IP
|
||||||
|
hasn't been released and re-allocated since the release request.
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
sequenceNumberForAllocation:
|
||||||
|
additionalProperties:
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
description: Map of allocated ordinal within the block to sequence
|
||||||
|
number of the block at the time of allocation. Kubernetes does not
|
||||||
|
allow numerical keys for maps, so the key is cast to a string.
|
||||||
|
type: object
|
||||||
strictAffinity:
|
strictAffinity:
|
||||||
|
description: StrictAffinity on the IPAMBlock is deprecated and no
|
||||||
|
longer used by the code. Use IPAMConfig StrictAffinity instead.
|
||||||
type: boolean
|
type: boolean
|
||||||
unallocated:
|
unallocated:
|
||||||
|
description: Unallocated is an ordered list of allocations which are
|
||||||
|
free in the block.
|
||||||
items:
|
items:
|
||||||
type: integer
|
type: integer
|
||||||
type: array
|
type: array
|
||||||
|
|
|
||||||
|
|
@ -38,19 +38,19 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
blockSize:
|
blockSize:
|
||||||
description: The block size to use for IP address assignments from
|
description: The block size to use for IP address assignments from
|
||||||
this pool. Defaults to 26 for IPv4 and 112 for IPv6.
|
this pool. Defaults to 26 for IPv4 and 122 for IPv6.
|
||||||
type: integer
|
type: integer
|
||||||
cidr:
|
cidr:
|
||||||
description: The pool CIDR.
|
description: The pool CIDR.
|
||||||
type: string
|
type: string
|
||||||
|
disableBGPExport:
|
||||||
|
description: 'Disable exporting routes from this IP Pool''s CIDR over
|
||||||
|
BGP. [Default: false]'
|
||||||
|
type: boolean
|
||||||
disabled:
|
disabled:
|
||||||
description: When disabled is true, Calico IPAM will not assign addresses
|
description: When disabled is true, Calico IPAM will not assign addresses
|
||||||
from this pool.
|
from this pool.
|
||||||
type: boolean
|
type: boolean
|
||||||
disableBGPExport:
|
|
||||||
description: "Disable exporting routes from this IP Pool's CIDR over
|
|
||||||
BGP. [Default: false]"
|
|
||||||
type: boolean
|
|
||||||
ipip:
|
ipip:
|
||||||
description: 'Deprecated: this field is only used for APIv1 backwards
|
description: 'Deprecated: this field is only used for APIv1 backwards
|
||||||
compatibility. Setting this field is not allowed, this field is
|
compatibility. Setting this field is not allowed, this field is
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
|
annotations:
|
||||||
|
controller-gen.kubebuilder.io/version: (devel)
|
||||||
|
creationTimestamp: null
|
||||||
name: ipreservations.crd.projectcalico.org
|
name: ipreservations.crd.projectcalico.org
|
||||||
spec:
|
spec:
|
||||||
group: crd.projectcalico.org
|
group: crd.projectcalico.org
|
||||||
|
|
|
||||||
|
|
@ -99,6 +99,11 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
|
debugProfilePort:
|
||||||
|
description: DebugProfilePort configures the port to serve memory
|
||||||
|
and cpu profiles on. If not specified, profiling is disabled.
|
||||||
|
format: int32
|
||||||
|
type: integer
|
||||||
etcdV3CompactionPeriod:
|
etcdV3CompactionPeriod:
|
||||||
description: 'EtcdV3CompactionPeriod is the period between etcdv3
|
description: 'EtcdV3CompactionPeriod is the period between etcdv3
|
||||||
compaction requests. Set to 0 to disable. [Default: 10m]'
|
compaction requests. Set to 0 to disable. [Default: 10m]'
|
||||||
|
|
@ -209,6 +214,11 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
|
debugProfilePort:
|
||||||
|
description: DebugProfilePort configures the port to serve memory
|
||||||
|
and cpu profiles on. If not specified, profiling is disabled.
|
||||||
|
format: int32
|
||||||
|
type: integer
|
||||||
etcdV3CompactionPeriod:
|
etcdV3CompactionPeriod:
|
||||||
description: 'EtcdV3CompactionPeriod is the period between etcdv3
|
description: 'EtcdV3CompactionPeriod is the period between etcdv3
|
||||||
compaction requests. Set to 0 to disable. [Default: 10m]'
|
compaction requests. Set to 0 to disable. [Default: 10m]'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue