Skip to content

Commit be76ac8

Browse files
committed
adjust docs ,submodule libvgpu, update ci
Signed-off-by: limengxuan <limengxuan@4paradigm.com>
1 parent 1e0d95d commit be76ac8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+28
-11992
lines changed

.github/workflows/main.yml

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
- uses: actions/setup-go@v2
1616
with:
1717
go-version: "^1.19.x"
18+
19+
- name: Checkout submodule
20+
uses: Mushus/checkout-submodule@v1.0.1
21+
with:
22+
submodulePath: libvgpu
23+
1824
- run: go version
1925
# Runs a set of commands to initialize and analyze with FOSSA
2026

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "libvgpu"]
2+
path = libvgpu
3+
url = https://github.com/Project-HAMi/HAMi-core.git

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Volcano device plugin for Kubernetes
22

33
**Note**:
4-
This is based on [Nvidia Device Plugin](https://github.com/NVIDIA/k8s-device-plugin) to support soft isolation of GPU card.
4+
This is based on [Nvidia Device Plugin](https://github.com/NVIDIA/k8s-device-plugin), it uses [HAMi-core](https://github.com/Project-HAMi/HAMi-core) to support hard isolation of GPU card.
5+
56
And collaborate with volcano, it is possible to enable GPU sharing.
67

78
## Table of Contents
@@ -23,6 +24,7 @@ The Volcano device plugin for Kubernetes is a Daemonset that allows you to autom
2324
- Expose the number of GPUs on each node of your cluster
2425
- Keep track of the health of your GPUs
2526
- Run GPU enabled containers in your Kubernetes cluster.
27+
- Enforce hard resource limit in container.
2628

2729
This repository contains Volcano's official implementation of the [Kubernetes device plugin](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/resource-management/device-plugin.md).
2830

docker/amd64/Dockerfile.vgpu-ubuntu20.04

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN export CGO_LDFLAGS_ALLOW='-Wl,--unresolved-symbols=ignore-in-object-files' &
3535
go build -ldflags="-s -w" -o volcano-vgpu-device-plugin ./cmd/vgpu
3636

3737
FROM $NVIDIA_IMAGE AS NVBUILD
38-
COPY ./lib/nvidia/libvgpu /libvgpu
38+
COPY ./libvgpu /libvgpu
3939
WORKDIR /libvgpu
4040
RUN apt-get -y update; apt-get -y install wget
4141
RUN wget https://cmake.org/files/v3.19/cmake-3.19.8-Linux-x86_64.tar.gz

lib/nvidia/libvgpu/CMakeLists.txt

-76
This file was deleted.

lib/nvidia/libvgpu/README.md

-88
This file was deleted.

lib/nvidia/libvgpu/build.sh

-38
This file was deleted.

lib/nvidia/libvgpu/dockerfiles/Dockerfile.aarch64

-11
This file was deleted.

lib/nvidia/libvgpu/dockerfiles/Dockerfile.x86_64

-11
This file was deleted.
Binary file not shown.

lib/nvidia/libvgpu/framework_test/Dockerfile

-4
This file was deleted.

lib/nvidia/libvgpu/framework_test/README.md

-2
This file was deleted.

lib/nvidia/libvgpu/framework_test/clients/dockerclient.go

-53
This file was deleted.

lib/nvidia/libvgpu/framework_test/clients/nvmlclient.go

-41
This file was deleted.

lib/nvidia/libvgpu/framework_test/config.toml

-6
This file was deleted.

0 commit comments

Comments
 (0)