Skip to content

Commit

Permalink
Merge pull request #15881 from hakman/automated-cherry-pick-of-#15878…
Browse files Browse the repository at this point in the history
…-upstream-release-1.28

Automated cherry pick of #15878: Update Calico to v3.25.2
  • Loading branch information
k8s-ci-robot committed Sep 6, 2023
2 parents 8c16366 + 845bf7c commit 71bdada
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ spec:
version: 9.99.0
- id: k8s-1.25
manifest: networking.projectcalico.org/k8s-1.25.yaml
manifestHash: bde3f2186b82eddaca56d35ff7ec2c96e6f8feb583f3096da045eb0d00cdf492
manifestHash: 5898b8d3b8178048ad8777ba31094d24684e11627cf167923b622cfb4afb12bf
name: networking.projectcalico.org
prune:
kinds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1019,12 +1019,12 @@ spec:
- 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]'
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
bpfPolicyDebugEnabled:
Expand Down Expand Up @@ -4626,7 +4626,7 @@ spec:
- configMapRef:
name: kubernetes-services-endpoint
optional: true
image: docker.io/calico/node:v3.25.1
image: docker.io/calico/node:v3.25.2
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down Expand Up @@ -4706,7 +4706,7 @@ spec:
- configMapRef:
name: kubernetes-services-endpoint
optional: true
image: docker.io/calico/cni:v3.25.1
image: docker.io/calico/cni:v3.25.2
imagePullPolicy: IfNotPresent
name: install-cni
securityContext:
Expand All @@ -4720,7 +4720,7 @@ spec:
- calico-node
- -init
- -best-effort
image: docker.io/calico/node:v3.25.1
image: docker.io/calico/node:v3.25.2
imagePullPolicy: IfNotPresent
name: mount-bpffs
securityContext:
Expand Down Expand Up @@ -4843,7 +4843,7 @@ spec:
value: node
- name: DATASTORE_TYPE
value: kubernetes
image: docker.io/calico/kube-controllers:v3.25.1
image: docker.io/calico/kube-controllers:v3.25.2
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ spec:
version: 9.99.0
- id: k8s-1.25
manifest: networking.projectcalico.org/k8s-1.25.yaml
manifestHash: 8a9f1f3229fc5eb8fb4e134a93eb8a70c00e135fc6eca6046e9b4c4902fa7205
manifestHash: 36e27a220f36800fe4dba1c00904fc41b0a3398f553549235c8bbbd205b47205
name: networking.projectcalico.org
prune:
kinds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1018,12 +1018,12 @@ spec:
- 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]'
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
bpfPolicyDebugEnabled:
Expand Down Expand Up @@ -4621,7 +4621,7 @@ spec:
- configMapRef:
name: kubernetes-services-endpoint
optional: true
image: docker.io/calico/node:v3.25.1
image: docker.io/calico/node:v3.25.2
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down Expand Up @@ -4695,7 +4695,7 @@ spec:
- configMapRef:
name: kubernetes-services-endpoint
optional: true
image: docker.io/calico/cni:v3.25.1
image: docker.io/calico/cni:v3.25.2
imagePullPolicy: IfNotPresent
name: upgrade-ipam
securityContext:
Expand Down Expand Up @@ -4730,7 +4730,7 @@ spec:
- configMapRef:
name: kubernetes-services-endpoint
optional: true
image: docker.io/calico/cni:v3.25.1
image: docker.io/calico/cni:v3.25.2
imagePullPolicy: IfNotPresent
name: install-cni
securityContext:
Expand All @@ -4744,7 +4744,7 @@ spec:
- calico-node
- -init
- -best-effort
image: docker.io/calico/node:v3.25.1
image: docker.io/calico/node:v3.25.2
imagePullPolicy: IfNotPresent
name: mount-bpffs
securityContext:
Expand Down Expand Up @@ -4870,7 +4870,7 @@ spec:
value: node
- name: DATASTORE_TYPE
value: kubernetes
image: docker.io/calico/kube-controllers:v3.25.1
image: docker.io/calico/kube-controllers:v3.25.2
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1017,10 +1017,10 @@ spec:
- 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
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
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: ^.*
Expand Down Expand Up @@ -4507,7 +4507,7 @@ spec:
# It can be deleted if this is a fresh installation, or if you have already
# upgraded to use calico-ipam.
- name: upgrade-ipam
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/cni:{{ or .Networking.Calico.Version "v3.25.1" }}
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/cni:{{ or .Networking.Calico.Version "v3.25.2" }}
imagePullPolicy: IfNotPresent
command: ["/opt/cni/bin/calico-ipam", "-upgrade"]
envFrom:
Expand Down Expand Up @@ -4536,7 +4536,7 @@ spec:
# This container installs the CNI binaries
# and CNI network config file on each node.
- name: install-cni
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/cni:{{ or .Networking.Calico.Version "v3.25.1" }}
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/cni:{{ or .Networking.Calico.Version "v3.25.2" }}
imagePullPolicy: IfNotPresent
command: ["/opt/cni/bin/install"]
envFrom:
Expand Down Expand Up @@ -4579,7 +4579,7 @@ spec:
# 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.
- name: "mount-bpffs"
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/node:{{ or .Networking.Calico.Version "v3.25.1" }}
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/node:{{ or .Networking.Calico.Version "v3.25.2" }}
imagePullPolicy: IfNotPresent
command: ["calico-node", "-init", "-best-effort"]
volumeMounts:
Expand All @@ -4605,7 +4605,7 @@ spec:
# container programs network policy and routes on each
# host.
- name: calico-node
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/node:{{ or .Networking.Calico.Version "v3.25.1" }}
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/node:{{ or .Networking.Calico.Version "v3.25.2" }}
imagePullPolicy: IfNotPresent
envFrom:
- configMapRef:
Expand Down Expand Up @@ -4934,7 +4934,7 @@ spec:
priorityClassName: system-cluster-critical
containers:
- name: calico-kube-controllers
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/kube-controllers:{{ or .Networking.Calico.Version "v3.25.1" }}
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/kube-controllers:{{ or .Networking.Calico.Version "v3.25.2" }}
imagePullPolicy: IfNotPresent
env:
# Choose which controllers to run.
Expand Down Expand Up @@ -4982,9 +4982,18 @@ spec:
matchLabels:
k8s-app: calico-typha
strategy:
type: RollingUpdate
rollingUpdate:
# 100% surge allows a complete up-level set of typha instances to start and become ready,
# which in turn allows all the back-level typha instances to start shutting down. This
# means that connections tend to bounce directly from a back-level instance to an up-level
# instance.
maxSurge: 100%
# In case the cluster is unable to schedule extra surge instances, allow at most one instance
# to shut down to make room. You can set this to 0 if you're sure there'll always be enough room to
# schedule extra typha instances during an upgrade (because setting it to 0 blocks shutdown until
# up-level typha instances are online and ready).
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
labels:
Expand All @@ -4995,6 +5004,9 @@ spec:
nodeSelector:
kubernetes.io/os: linux
hostNetwork: true
# Typha supports graceful shut down, disconnecting clients slowly during the grace period.
# The TYPHA_SHUTDOWNTIMEOUTSECS env var should be kept in sync with this value.
terminationGracePeriodSeconds: 300
tolerations:
# Mark the pod as a critical add-on for rescheduling.
- key: CriticalAddonsOnly
Expand All @@ -5011,7 +5023,7 @@ spec:
securityContext:
fsGroup: 65534
containers:
- image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/typha:{{ or .Networking.Calico.Version "v3.25.1" }}
- image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/typha:{{ or .Networking.Calico.Version "v3.25.2" }}
imagePullPolicy: IfNotPresent
name: calico-typha
ports:
Expand Down

0 comments on commit 71bdada

Please sign in to comment.