add note that a namespace cannot be named "version"

Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
This commit is contained in:
Iceber Gu 2022-05-19 22:53:13 +08:00
parent 8d95f2b599
commit b69182c71d

View File

@ -24,6 +24,8 @@ ns, ok := namespaces.Namespace(ctx)
Because the client calls containerd's gRPC API to interact with the daemon, all API calls require a context with a namespace set. Because the client calls containerd's gRPC API to interact with the daemon, all API calls require a context with a namespace set.
> Note that a namespace cannot be named `"version"` ([#6944](https://github.com/containerd/containerd/issues/6944)).
## How low level is the implementation? ## How low level is the implementation?
Namespaces are passed through the containerd API to the underlying plugins providing functionality. Namespaces are passed through the containerd API to the underlying plugins providing functionality.