Update calico to version 3.28.0

This commit is contained in:
Adrien Reslinger 2024-05-12 13:01:23 +02:00
parent 7548f12db8
commit d6f17858ce
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
10 changed files with 55 additions and 36 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
CALICO_VERSION="3.27.3" CALICO_VERSION="3.28.0"
#BASEURL=https://docs.projectcalico.org/manifests #BASEURL=https://docs.projectcalico.org/manifests
#BASEURL=https://docs.projectcalico.org/archive/v3.18/manifests #BASEURL=https://docs.projectcalico.org/archive/v3.18/manifests
BASEURL="https://raw.githubusercontent.com/projectcalico/calico/v${CALICO_VERSION}/manifests" BASEURL="https://raw.githubusercontent.com/projectcalico/calico/v${CALICO_VERSION}/manifests"

View file

@ -64,7 +64,7 @@ spec:
numAllowedLocalASNumbers: numAllowedLocalASNumbers:
description: Maximum number of local AS numbers that are allowed in description: Maximum number of local AS numbers that are allowed in
the AS path for received routes. This removes BGP loop prevention the AS path for received routes. This removes BGP loop prevention
and should only be used if absolutely necesssary. and should only be used if absolutely necessary.
format: int32 format: int32
type: integer type: integer
password: password:

View file

@ -36,7 +36,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.27.3 image: docker.io/calico/kube-controllers:v3.28.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
# Choose which controllers to run. # Choose which controllers to run.

View file

@ -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.27.3 image: docker.io/calico/cni:v3.28.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: ["/opt/cni/bin/calico-ipam", "-upgrade"] command: ["/opt/cni/bin/calico-ipam", "-upgrade"]
envFrom: envFrom:
@ -72,7 +72,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.27.3 image: docker.io/calico/cni:v3.28.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: ["/opt/cni/bin/install"] command: ["/opt/cni/bin/install"]
envFrom: envFrom:
@ -115,7 +115,7 @@ spec:
# i.e. bpf at /sys/fs/bpf and cgroup2 at /run/calico/cgroup. Calico-node initialisation is executed # i.e. bpf at /sys/fs/bpf and cgroup2 at /run/calico/cgroup. Calico-node initialisation is executed
# in best effort fashion, i.e. no failure for errors, to not disrupt pod creation in iptable mode. # in best effort fashion, i.e. no failure for errors, to not disrupt pod creation in iptable mode.
- name: "mount-bpffs" - name: "mount-bpffs"
image: docker.io/calico/node:v3.27.3 image: docker.io/calico/node:v3.28.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: ["calico-node", "-init", "-best-effort"] command: ["calico-node", "-init", "-best-effort"]
volumeMounts: volumeMounts:
@ -141,7 +141,7 @@ spec:
# 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.27.3 image: docker.io/calico/node:v3.28.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
envFrom: envFrom:
- configMapRef: - configMapRef:

View file

@ -11,9 +11,9 @@ spec:
serviceAccountName: calicoctl serviceAccountName: calicoctl
containers: containers:
- name: calicoctl - name: calicoctl
image: calico/ctl:v3.27.3 image: calico/ctl:v3.28.0
command: command:
- /calicoctl - calicoctl
args: args:
- version - version
- --poll=1m - --poll=1m

View file

@ -1,7 +1,7 @@
# Calico Version master # Calico Version master
# https://projectcalico.docs.tigera.io/releases#master # https://projectcalico.docs.tigera.io/releases#master
# This manifest includes the following component versions: # This manifest includes the following component versions:
# calico/ctl:v3.27.3 # calico/ctl:v3.28.0
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount

View file

@ -168,8 +168,9 @@ spec:
- Disabled - Disabled
type: string type: string
bpfKubeProxyEndpointSlicesEnabled: bpfKubeProxyEndpointSlicesEnabled:
description: BPFKubeProxyEndpointSlicesEnabled in BPF mode, controls description: BPFKubeProxyEndpointSlicesEnabled is deprecated and has
whether Felix's embedded kube-proxy accepts EndpointSlices or not. no effect. BPF kube-proxy always accepts endpoint slices. This option
will be removed in the next release.
type: boolean type: boolean
bpfKubeProxyIptablesCleanupEnabled: bpfKubeProxyIptablesCleanupEnabled:
description: 'BPFKubeProxyIptablesCleanupEnabled, if enabled in BPF description: 'BPFKubeProxyIptablesCleanupEnabled, if enabled in BPF
@ -288,11 +289,23 @@ spec:
type: string type: string
debugDisableLogDropping: debugDisableLogDropping:
type: boolean type: boolean
debugHost:
description: DebugHost is the host IP or hostname to bind the debug
port to. Only used if DebugPort is set. [Default:localhost]
type: string
debugMemoryProfilePath: debugMemoryProfilePath:
type: string type: string
debugPort:
description: DebugPort if set, enables Felix's debug HTTP port, which
allows memory and CPU profiles to be retrieved. The debug port
is not secure, it should not be exposed to the internet.
type: integer
debugSimulateCalcGraphHangAfter: debugSimulateCalcGraphHangAfter:
pattern: ^([0-9]+(\\.[0-9]+)?(ms|s|m|h))*$ pattern: ^([0-9]+(\\.[0-9]+)?(ms|s|m|h))*$
type: string type: string
debugSimulateDataplaneApplyDelay:
pattern: ^([0-9]+(\\.[0-9]+)?(ms|s|m|h))*$
type: string
debugSimulateDataplaneHangAfter: debugSimulateDataplaneHangAfter:
pattern: ^([0-9]+(\\.[0-9]+)?(ms|s|m|h))*$ pattern: ^([0-9]+(\\.[0-9]+)?(ms|s|m|h))*$
type: string type: string
@ -332,6 +345,12 @@ spec:
type: string type: string
endpointReportingEnabled: endpointReportingEnabled:
type: boolean type: boolean
endpointStatusPathPrefix:
description: "EndpointStatusPathPrefix is the path to the directory
where endpoint status will be written. Endpoint status file reporting
is disabled if field is left empty. \n Chosen directory should match
the directory used by the CNI for PodStartupDelay. [Default: \"\"]"
type: string
externalNodesList: externalNodesList:
description: ExternalNodesCIDRList is a list of CIDR's of external-non-calico-nodes description: ExternalNodesCIDRList is a list of CIDR's of external-non-calico-nodes
which may source tunnel traffic and have the tunneled traffic be which may source tunnel traffic and have the tunneled traffic be
@ -603,7 +622,7 @@ spec:
description: 'MetadataAddr is the IP address or domain name of the description: 'MetadataAddr is the IP address or domain name of the
server that can answer VM queries for cloud-init metadata. In OpenStack, server that can answer VM queries for cloud-init metadata. In OpenStack,
this corresponds to the machine running nova-api (or in Ubuntu, this corresponds to the machine running nova-api (or in Ubuntu,
nova-api-metadata). A value of none (case insensitive) means that nova-api-metadata). A value of none (case-insensitive) means that
Felix should not set up any NAT rule for the metadata path. [Default: Felix should not set up any NAT rule for the metadata path. [Default:
127.0.0.1]' 127.0.0.1]'
type: string type: string

View file

@ -818,17 +818,17 @@ spec:
any DNAT. any DNAT.
type: boolean type: boolean
selector: selector:
description: "The selector is an expression used to pick pick out description: "The selector is an expression used to pick out the endpoints
the endpoints that the policy should be applied to. \n Selector that the policy should be applied to. \n Selector expressions follow
expressions follow this syntax: \n \tlabel == \"string_literal\" this syntax: \n \tlabel == \"string_literal\" -> comparison, e.g.
\ -> comparison, e.g. my_label == \"foo bar\" \tlabel != \"string_literal\" my_label == \"foo bar\" \tlabel != \"string_literal\" -> not
\ -> not equal; also matches if label is not present \tlabel in equal; also matches if label is not present \tlabel in { \"a\",
{ \"a\", \"b\", \"c\", ... } -> true if the value of label X is \"b\", \"c\", ... } -> true if the value of label X is one of
one of \"a\", \"b\", \"c\" \tlabel not in { \"a\", \"b\", \"c\", \"a\", \"b\", \"c\" \tlabel not in { \"a\", \"b\", \"c\", ... }
... } -> true if the value of label X is not one of \"a\", \"b\", \ -> true if the value of label X is not one of \"a\", \"b\", \"c\"
\"c\" \thas(label_name) -> True if that label is present \t! expr \thas(label_name) -> True if that label is present \t! expr ->
-> negation of expr \texpr && expr -> Short-circuit and \texpr negation of expr \texpr && expr -> Short-circuit and \texpr ||
|| expr -> Short-circuit or \t( expr ) -> parens for grouping \tall() expr -> Short-circuit or \t( expr ) -> parens for grouping \tall()
or the empty selector -> matches all endpoints. \n Label names are or the empty selector -> matches all endpoints. \n Label names are
allowed to contain alphanumerics, -, _ and /. String literals are allowed to contain alphanumerics, -, _ and /. String literals are
more permissive but they do not support escape characters. \n Examples more permissive but they do not support escape characters. \n Examples

View file

@ -799,17 +799,17 @@ spec:
type: string type: string
type: array type: array
selector: selector:
description: "The selector is an expression used to pick pick out description: "The selector is an expression used to pick out the endpoints
the endpoints that the policy should be applied to. \n Selector that the policy should be applied to. \n Selector expressions follow
expressions follow this syntax: \n \tlabel == \"string_literal\" this syntax: \n \tlabel == \"string_literal\" -> comparison, e.g.
\ -> comparison, e.g. my_label == \"foo bar\" \tlabel != \"string_literal\" my_label == \"foo bar\" \tlabel != \"string_literal\" -> not
\ -> not equal; also matches if label is not present \tlabel in equal; also matches if label is not present \tlabel in { \"a\",
{ \"a\", \"b\", \"c\", ... } -> true if the value of label X is \"b\", \"c\", ... } -> true if the value of label X is one of
one of \"a\", \"b\", \"c\" \tlabel not in { \"a\", \"b\", \"c\", \"a\", \"b\", \"c\" \tlabel not in { \"a\", \"b\", \"c\", ... }
... } -> true if the value of label X is not one of \"a\", \"b\", \ -> true if the value of label X is not one of \"a\", \"b\", \"c\"
\"c\" \thas(label_name) -> True if that label is present \t! expr \thas(label_name) -> True if that label is present \t! expr ->
-> negation of expr \texpr && expr -> Short-circuit and \texpr negation of expr \texpr && expr -> Short-circuit and \texpr ||
|| expr -> Short-circuit or \t( expr ) -> parens for grouping \tall() expr -> Short-circuit or \t( expr ) -> parens for grouping \tall()
or the empty selector -> matches all endpoints. \n Label names are or the empty selector -> matches all endpoints. \n Label names are
allowed to contain alphanumerics, -, _ and /. String literals are allowed to contain alphanumerics, -, _ and /. String literals are
more permissive but they do not support escape characters. \n Examples more permissive but they do not support escape characters. \n Examples