Commit 4fae0011 authored by Brad Davidson's avatar Brad Davidson Committed by Brad Davidson

Use fixed stream server bind address for cri-dockerd

Will now use 127.0.0.1:10010, same as containerd's CRI Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com> (cherry picked from commit 7374010c) Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com>
parent 59c1b2d2
...@@ -53,6 +53,7 @@ func getDockerCRIArgs(cfg *config.Node) []string { ...@@ -53,6 +53,7 @@ func getDockerCRIArgs(cfg *config.Node) []string {
argsMap := map[string]string{ argsMap := map[string]string{
"container-runtime-endpoint": cfg.CRIDockerd.Address, "container-runtime-endpoint": cfg.CRIDockerd.Address,
"cri-dockerd-root-directory": cfg.CRIDockerd.Root, "cri-dockerd-root-directory": cfg.CRIDockerd.Root,
"streaming-bind-addr": "127.0.0.1:10010",
} }
if dualNode, _ := utilsnet.IsDualStackIPs(cfg.AgentConfig.NodeIPs); dualNode { if dualNode, _ := utilsnet.IsDualStackIPs(cfg.AgentConfig.NodeIPs); dualNode {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment