For example, one could use a label on a namespace to set the default snapshotter:
~ ❯❯❯ sudo ctr namespaces ls ⏎
NAME LABELS
default
k8s.io
~ ❯❯❯ sudo ctr namespaces label k8s.io containerd.io/defaults/snapshotter=btrfs ⏎
~ ❯❯❯ sudo ctr namespaces ls
NAME LABELS
default
k8s.io containerd.io/defaults/snapshotter=btrfs
Then, the client would query the namespace for the labels and set the appropriate defaults for that namespace. Other examples might include platform, runtime or gc behavior that is performed in the client.
For example, one could use a label on a namespace to set the default snapshotter:
Then, the client would query the namespace for the labels and set the appropriate defaults for that namespace. Other examples might include platform, runtime or gc behavior that is performed in the client.