From d9cb0fc3f969a5ae105a6413277f7f7d0751abc4 Mon Sep 17 00:00:00 2001 From: Tuomas Katila Date: Wed, 25 Sep 2024 13:15:36 +0300 Subject: [PATCH 1/2] gpu: add a note about non-default namespaces with fractional resources Signed-off-by: Tuomas Katila --- cmd/gpu_plugin/fractional.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/gpu_plugin/fractional.md b/cmd/gpu_plugin/fractional.md index 731b636ce..abb05b5aa 100644 --- a/cmd/gpu_plugin/fractional.md +++ b/cmd/gpu_plugin/fractional.md @@ -32,6 +32,8 @@ $ kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes $ kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/gpu_plugin/overlays/fractional_resources?ref=' ``` +> **NOTE:** The yaml deployment above does not support deployment to non-default namespace. The ClusterRoleBinding object has a hardcoded namespace and does not respect the target namespace. If you would like to deploy to a custom namespace, you will need to either modify the [yaml file](../../deployments/gpu_plugin/overlays/fractional_resources/gpu-manager-rolebinding.yaml) or deploy using the Operator. + ### With Device Plugin Operator Install the Device Plugin Operator according to the [install](../operator/README.md#installation) instructions. When applying the [GPU plugin Custom Resource](../../deployments/operator/samples/deviceplugin_v1_gpudeviceplugin.yaml) (CR), set `resourceManager` option to `true`. The Operator will install all the required RBAC objects and service accounts. From b63a1aa6a828a83e4f365f74cb8f3305260753d0 Mon Sep 17 00:00:00 2001 From: Tuomas Katila Date: Thu, 26 Sep 2024 11:48:47 +0300 Subject: [PATCH 2/2] workflow: run checks for all PRs Signed-off-by: Tuomas Katila --- .github/workflows/ci.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3603a124e..5d7fc618e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,9 +7,6 @@ on: branches: - main - 'release-*' - # ignore PRs with only documentation changes - paths-ignore: - - '**/*.md' permissions: contents: read