mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 01:59:07 +00:00
containerd: Don't expose metrics by default
This can be turned on if required but we'll default to leaving it off It's been enabled in the top-level linuxkit.yml This port is also non-standard and there doesn't appear to be a standard port for this as yet. Signed-off-by: Dave Tucker <dt@docker.com>
This commit is contained in:
parent
7efb87da50
commit
1af1a20a0d
18
linuxkit.yml
18
linuxkit.yml
@ -28,6 +28,24 @@ services:
|
|||||||
files:
|
files:
|
||||||
- path: etc/docker/daemon.json
|
- path: etc/docker/daemon.json
|
||||||
contents: '{"debug": true}'
|
contents: '{"debug": true}'
|
||||||
|
- path: etc/containerd/config.toml
|
||||||
|
contents: |
|
||||||
|
state = "/run/containerd"
|
||||||
|
root = "/var/lib/containerd"
|
||||||
|
snapshotter = "overlay"
|
||||||
|
subreaper = false
|
||||||
|
|
||||||
|
[grpc]
|
||||||
|
address = "/run/containerd/containerd.sock"
|
||||||
|
uid = 0
|
||||||
|
gid = 0
|
||||||
|
|
||||||
|
[debug]
|
||||||
|
address = "/run/containerd/debug.sock"
|
||||||
|
level = "info"
|
||||||
|
|
||||||
|
[metrics]
|
||||||
|
address = ":13337"
|
||||||
trust:
|
trust:
|
||||||
org:
|
org:
|
||||||
- linuxkit
|
- linuxkit
|
||||||
|
@ -13,4 +13,4 @@ subreaper = false
|
|||||||
level = "info"
|
level = "info"
|
||||||
|
|
||||||
[metrics]
|
[metrics]
|
||||||
address = ":13337"
|
address = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user