-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5e3b6d
commit 1403a2f
Showing
12 changed files
with
1,026 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.