diff --git a/docs/source/markdown/podman-kube-play.1.md.in b/docs/source/markdown/podman-kube-play.1.md.in index a42ef21a52..396cb9c607 100644 --- a/docs/source/markdown/podman-kube-play.1.md.in +++ b/docs/source/markdown/podman-kube-play.1.md.in @@ -97,6 +97,23 @@ The build considers `foobar` to be the context directory for the build. If there called `foobar`, the image is not built unless the `--build` flag is used. Use `--build=false` to completely disable builds. +Kube play supports CDI (Container Device Interface) device selectors to share +host devices (e.g. GPUs) with containers. The configuration format follows +Kubernetes extended resource management: +``` +apiVersion: v1 +kind: Pod +spec: + containers: + - name: container + resources: + limits: + nvidia.com/gpu=all: 1 +``` + +To enable sharing host devices, analogous to using the `--device` flag Podman +kube supports a custom CDI selector: `podman.io/device=`. + `Kubernetes ConfigMap` Kubernetes ConfigMap can be referred as a source of environment variables or volumes in Pods or Deployments.