Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated Flannel version update 0.26.1 #5460

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions addons/flannel/0.26.1/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
image flannel-flannel docker.io/flannel/flannel:v0.26.1
image flannel-flannel-cni-plugin docker.io/flannel/flannel-cni-plugin:v1.5.1-flannel2
12 changes: 12 additions & 0 deletions addons/flannel/0.26.1/flannel-ethtool.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=Disable vxlan checksum offloading for flannel.1
After=sys-devices-virtual-net-flannel.1.device
Requires=sys-devices-virtual-net-flannel.1.device

[Service]
Type=oneshot
ExecStart=/sbin/ethtool -K flannel.1 tx-checksum-ip-generic off
RemainAfterExit=yes

[Install]
WantedBy=sys-devices-virtual-net-flannel.1.device
27 changes: 27 additions & 0 deletions addons/flannel/0.26.1/host-preflight.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: troubleshoot.sh/v1beta2
kind: HostPreflight
metadata:
name: flannel
spec:
collectors:
- udpPortStatus:
collectorName: Flannel UDP port 8472
port: 8472
exclude: '{{kurl .IsUpgrade }}'
analyzers:
- udpPortStatus:
checkName: "Flannel UDP port 8472 status"
collectorName: Flannel UDP port 8472
exclude: '{{kurl .IsUpgrade }}'
outcomes:
- warn:
when: "address-in-use"
message: Another process is already listening on port
- fail:
when: "error"
message: Unexpected port status
- pass:
when: "connected"
message: Port is open
- warn:
message: Unexpected port status
Loading
Loading