Skip to content

Commit 47beb87

Browse files
committed
Update amd addon integration test, and add name to daemonset.
1 parent 0b42a2d commit 47beb87

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

deploy/addons/gpu/amd-gpu-device-plugin.yaml.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ spec:
2828
template:
2929
metadata:
3030
labels:
31+
name: amd-gpu-device-plugin
3132
k8s-app: amd-gpu-device-plugin
3233
spec:
3334
nodeSelector:

test/integration/addons_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func TestAddons(t *testing.T) {
100100
// so we override that here to let minikube auto-detect appropriate cgroup driver
101101
os.Setenv(constants.MinikubeForceSystemdEnv, "")
102102

103-
args := append([]string{"start", "-p", profile, "--wait=true", "--memory=4000", "--alsologtostderr", "--addons=registry", "--addons=metrics-server", "--addons=volumesnapshots", "--addons=csi-hostpath-driver", "--addons=gcp-auth", "--addons=cloud-spanner", "--addons=inspektor-gadget", "--addons=nvidia-device-plugin", "--addons=yakd", "--addons=volcano"}, StartArgs()...)
103+
args := append([]string{"start", "-p", profile, "--wait=true", "--memory=4000", "--alsologtostderr", "--addons=registry", "--addons=metrics-server", "--addons=volumesnapshots", "--addons=csi-hostpath-driver", "--addons=gcp-auth", "--addons=cloud-spanner", "--addons=inspektor-gadget", "--addons=nvidia-device-plugin", "--addons=yakd", "--addons=volcano", "--addons=amd-gpu-device-plugin"}, StartArgs()...)
104104
if !NoneDriver() {
105105
args = append(args, "--addons=ingress", "--addons=ingress-dns", "--addons=storage-provisioner-rancher")
106106
}

0 commit comments

Comments
 (0)