No need to run device-plugin manually anymore. #25
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It's an addon in GCP now. The manifest for that is here:
https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/device-plugins/nvidia-gpu/daemonset.yaml
Instead of that a pause container is run, so that the installer can remain an init container.
Also, added node affinity to only run on nodes that have a label with key 'cloud.google.com/gke-accelerator'.
There are three files now:
(1) already existed but its name no longer makes sense. (2) is copy of (1).
(3) is copy of (2) except that the installer image is assumed to be present on
the node. (1) would be deleted once tests in kubernetes/kubernetes are updated
to point to (2) or (3).