You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Runner is the subset of command.Runner this package consumes
60
52
typeRunnerinterface {
61
53
RunCmd(cmd*exec.Cmd) (*command.RunResult, error)
@@ -200,25 +192,41 @@ func applyManifest(cc config.ClusterConfig, r Runner, f assets.CopyableFile) err
200
192
returnnil
201
193
}
202
194
203
-
// ConfigureLoopback ensures loopback has expected version ("1.0.0") and valid name ("loopback") in its config file in /etc/cni/net.d
204
-
// cri-o is leaving name out atm (https://github.com/cri-o/cri-o/pull/6273)
205
-
// avoid errors like:
195
+
// ConfigureLoopbackCNI configures loopback cni.
196
+
// If disable is true, sets extension of its config file in /etc/cni/net.d to "mk_disabled".
197
+
// Otherwise, ensures loopback cni has expected version ("1.0.0") and valid name ("loopback") in its config file in /etc/cni/net.d.
198
+
// Note: cri-o is leaving out name atm (https://github.com/cri-o/cri-o/pull/6273).
199
+
// Avoid errors like:
206
200
// - Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container "..." network for pod "...": networkPlugin cni failed to set up pod "..." network: missing network name:,
207
201
// - failed to clean up sandbox container "..." network for pod "...": networkPlugin cni failed to teardown pod "..." network: missing network name]
208
202
// It is caller's responsibility to restart container runtime for these changes to take effect.
// avoid containerd v1.6.14+ "failed to load plugin io.containerd.grpc.v1.cri" error="invalid plugin config: `systemd_cgroup` only works for runtime io.containerd.runtime.v1.linux" error
154
159
// that then leads to crictl "getting the runtime version: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" error
0 commit comments