Skip to content

Commit 0397a1f

Browse files
authored
Merge pull request #569 from ChengyuZhu6/guest-pull
misc: add daemon_mode option to guest pull config
2 parents b42e3f5 + af40ded commit 0397a1f

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
version = 1
2-
32
# Snapshotter's own home directory where it stores and creates necessary resources
43
root = "/var/lib/containerd-nydus"
5-
64
# The snapshotter's GRPC server socket, containerd will connect to plugin on this socket
75
address = "/run/containerd-nydus/containerd-nydus-grpc.sock"
6+
# No nydusd daemon needed
7+
daemon_mode = "none"
88

99
[daemon]
1010
# Enable proxy mode
1111
fs_driver = "proxy"
1212

1313
[snapshot]
1414
# Insert Kata volume information to `Mount.Options`
15-
enable_kata_volume = true
15+
enable_kata_volume = true

misc/snapshotter/config-coco-host-sharing.toml

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
version = 1
32
# Snapshotter's own home directory where it stores and creates necessary resources
43
root = "/var/lib/containerd-nydus"

misc/snapshotter/config.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ version = 1
33
root = "/var/lib/containerd-nydus"
44
# The snapshotter's GRPC server socket, containerd will connect to plugin on this socket
55
address = "/run/containerd-nydus/containerd-nydus-grpc.sock"
6+
# The nydus daemon mode can be one of the following options: multiple, dedicated, shared, or none.
7+
# If `daemon_mode` option is not specified, the default value is multiple.
68
daemon_mode = "dedicated"
79
# Whether snapshotter should try to clean up resources when it is closed
810
cleanup_on_close = false
@@ -129,4 +131,4 @@ max_concurrent_proc = 0
129131
# - "image_block": generate a raw block disk image with tarfs for an image
130132
# - "layer_block_with_verity": generate a raw block disk image with tarfs for a layer with dm-verity info
131133
# - "image_block_with_verity": generate a raw block disk image with tarfs for an image with dm-verity info
132-
export_mode = ""
134+
export_mode = ""

0 commit comments

Comments
 (0)