Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

WIP initial GPU SUpport #7

Merged
merged 2 commits into from
Oct 5, 2020
Merged

WIP initial GPU SUpport #7

merged 2 commits into from
Oct 5, 2020

Conversation

Gsantomaggio
Copy link
Member

Initial support for GPU.

Installed k3s using docker:

curl -sfL https://get.k3s.io | sh -s - --docker --kubelet-arg="feature-gates=DevicePlugins=true" 

Enabled the nvidia-contaier-runtime:

 cat /etc/docker/daemon.json
{
    "default-runtime": "nvidia",
        "runtimes": {
        "nvidia": {
            "path": "nvidia-container-runtime",
            "runtimeArgs": []
        }
    }
}

And I can see the GPU inside k3s :)!

Screenshot from 2020-10-01 19-22-21

@Gsantomaggio Gsantomaggio added ena New feature or request and removed work-in-progress/do-not-merge labels Oct 5, 2020
@Gsantomaggio Gsantomaggio self-assigned this Oct 5, 2020
@Gsantomaggio Gsantomaggio merged commit 91eafb0 into master Oct 5, 2020
@alfsuse alfsuse added this to the gpu support milestone Oct 5, 2020
@Gsantomaggio Gsantomaggio deleted the gpu_support branch October 8, 2020 11:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ena New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants