1.29.4. 問題の解決: ベアメタルクラスターの Submariner エンドツーエンドテストが失敗する
ハードウェアによる User Datagram Protocal (UDP) チェックサム計算のバグが根本原因となり、ベアメタルクラスターのエンドツーエンドデータプレーンテストが失敗している可能性があります。このバグをトラブルシューティングするには、次の YAML ファイルを適用してハードウェアオフロードを無効にします。
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: disable-offload
namespace: submariner-operator
spec:
selector:
matchLabels:
app: disable-offload
template:
metadata:
labels:
app: disable-offload
spec:
tolerations:
- operator: Exists
containers:
- name: disable-offload
image: nicolaka/netshoot
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: true
capabilities:
add:
- net_admin
drop:
- all
privileged: true
readOnlyRootFilesystem: false
runAsNonRoot: false
command: ["/bin/sh", "-c"]
args:
- ethtool --offload vxlan-tunnel rx off tx off;
ethtool --offload vx-submariner rx off tx off;
sleep infinity
restartPolicy: Always
securityContext: {}
serviceAccount: submariner-routeagent
serviceAccountName: submariner-routeagent
hostNetwork: true