mirror of https://github.com/k3s-io/k3s
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: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 7374010c0c
)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/10288/head
parent
c4226adc8f
commit
bfc17af8bb
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue