Serve streaming on localhost by default to match k8s 1.11 default.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
42a98de252
commit
b3d6f16383
@ -169,6 +169,7 @@ disabled_plugins = ["restart"]
|
||||
|
||||
[plugins.cri]
|
||||
stream_server_address = "127.0.0.1"
|
||||
stream_server_port = "0"
|
||||
max_container_log_line_size = ${max_container_log_line}
|
||||
[plugins.cri.cni]
|
||||
bin_dir = "${cni_bin_dir}"
|
||||
|
@ -7,10 +7,10 @@ The explanation and default value of each configuration item are as follows:
|
||||
[plugins.cri]
|
||||
|
||||
# stream_server_address is the ip address streaming server is listening on.
|
||||
stream_server_address = ""
|
||||
stream_server_address = "127.0.0.1"
|
||||
|
||||
# stream_server_port is the port streaming server is listening on.
|
||||
stream_server_port = "10010"
|
||||
stream_server_port = "0"
|
||||
|
||||
# enable_selinux indicates to enable the selinux support.
|
||||
enable_selinux = false
|
||||
|
@ -152,8 +152,8 @@ func DefaultConfig() PluginConfig {
|
||||
},
|
||||
NoPivot: false,
|
||||
},
|
||||
StreamServerAddress: "",
|
||||
StreamServerPort: "10010",
|
||||
StreamServerAddress: "127.0.0.1",
|
||||
StreamServerPort: "0",
|
||||
EnableSelinux: false,
|
||||
EnableTLSStreaming: false,
|
||||
SandboxImage: "k8s.gcr.io/pause:3.1",
|
||||
|
Loading…
Reference in New Issue
Block a user