Skip to content

GPU device plugin deployment issue (non default namespace) #1840

@pawel-gacek

Description

@pawel-gacek

Describe the bug
GPU device plugin will not work properly once NOT installed in default namespace. For the ClusterRoleBinding resource the ServiceAccount namespace is set to "default" once installed using kustomization tool regardless of namespace configured/used during GPU device plugin deployment:
https://github.com/intel/intel-device-plugins-for-kubernetes/blob/main/deployments/gpu_plugin/overlays/fractional_resources/gpu-manager-rolebinding.yaml

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: gpu-manager-rolebinding
subjects:

  • kind: ServiceAccount
    name: gpu-manager-sa
    namespace: default ->>> here
    roleRef:
    kind: ClusterRole
    name: gpu-manager-role
    apiGroup: rbac.authorization.k8s.io

To Reproduce
Install GPU device plugin in non default namespace with kustomization.

Expected behavior
For ClusterRoleBinding resource (name gpu-manager-rolebinding) the ServiceAccount namespace is set to desired namespace.

System (please complete the following information):

  • OS version: Ubuntu 22.04
  • Kernel version: Linux 5.15
  • Device plugins version: v0.30.0
  • Hardware info:
    Xeon 8360Y,
    System Information
    Manufacturer: Intel Corporation
    Product Name: M50CYP2SBSTD
    Version: M50CYP2UR208

Thank you
Pawel

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocsDocumentation related issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions