@@ -199,7 +199,7 @@ struct K8sHelper {
199199 executable: executable, arguments: arguments, environment: [ ] , terminal: false )
200200 let proc = try await client. createProcess (
201201 containerId: containerId, processId: UUID ( ) . uuidString. lowercased ( ) ,
202- configuration: config, stdio: [ nil , pipe. fileHandleForWriting, nil ] )
202+ configuration: config, stdio: [ nil , pipe. fileHandleForWriting, pipe . fileHandleForWriting ] )
203203 try await proc. start ( )
204204 pipe. fileHandleForWriting. closeFile ( )
205205 let data = pipe. fileHandleForReading. readDataToEndOfFile ( )
@@ -291,8 +291,8 @@ struct K8sHelper {
291291 sysctl -w net.bridge.bridge-nf-call-ip6tables=1 2>/dev/null || true
292292 systemctl restart containerd
293293 ctr -n k8s.io images tag registry.k8s.io/pause:3.10 registry.k8s.io/pause:3.10.1 2>/dev/null || true
294- /usr/sbin/iptables-nft -t mangle -A OUTPUT -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1220 2>/dev/null || true
295- /usr/sbin/iptables-nft -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1220 2>/dev/null || true
294+ /usr/sbin/iptables-nft -t mangle -A OUTPUT -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1220
295+ /usr/sbin/iptables-nft -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1220
296296 """
297297 } ( )
298298
0 commit comments