Skip to content

Commit 4989125

Browse files
thtrunckvrutz
andauthored
backport nvidia device location change fix (#74)
Co-authored-by: Valentin Rutz <val.rutz@dataiku.com>
1 parent a11d06e commit 4989125

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## Version 2.1.1 - Bugfix release
4+
- Update Nvidia driver location
5+
36
## Version 2.1.0 - Feature release
47

58
- Support GPU out-of-the-box

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "aks-clusters",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"meta": {
55
"label": "AKS clusters",
66
"description": "Interact with or create Microsoft Azure Kubernetes Service clusters",

python-lib/dku_kube/nvidia_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def has_gpu_driver(kube_config_path):
1212

1313
def add_gpu_driver_if_needed(kube_config_path):
1414
if not has_gpu_driver(kube_config_path):
15-
cmd = ['kubectl', 'apply', '-f', "https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/master/nvidia-device-plugin.yml"]
15+
cmd = ['kubectl', 'apply', '-f', "https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/main/deployments/static/nvidia-device-plugin.yml"]
1616

1717
logging.info("Install NVIDIA GPU drivers with : %s" % json.dumps(cmd))
1818
env = os.environ.copy()

0 commit comments

Comments
 (0)