diff --git a/Dockerfile b/Dockerfile index c15eff83c7a76fc0f0c0962427a1b75843941ebd..f812c94a99408333c110c08c5ded6d02f0d456a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,15 +14,15 @@ FROM docker.io/golang:1.21.6-alpine3.19 RUN apk --no-cache add git pkgconfig build-base libdrm-dev RUN apk --no-cache add hwloc-dev --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community -RUN mkdir -p /go/src/github.com/RadeonOpenCompute/k8s-device-plugin -ADD . /go/src/github.com/RadeonOpenCompute/k8s-device-plugin -WORKDIR /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/cmd/k8s-device-plugin +RUN mkdir -p /go/src/github.com/ROCm/k8s-device-plugin +ADD . /go/src/github.com/ROCm/k8s-device-plugin +WORKDIR /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-device-plugin RUN go install \ - -ldflags="-X main.gitDescribe=$(git -C /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/ describe --always --long --dirty)" + -ldflags="-X main.gitDescribe=$(git -C /go/src/github.com/ROCm/k8s-device-plugin/ describe --always --long --dirty)" FROM alpine:3.19.0 LABEL \ - org.opencontainers.image.source="https://github.com/RadeonOpenCompute/k8s-device-plugin" \ + org.opencontainers.image.source="https://github.com/ROCm/k8s-device-plugin" \ org.opencontainers.image.authors="Kenny Ho <Kenny.Ho@amd.com>" \ org.opencontainers.image.vendor="Advanced Micro Devices, Inc." \ org.opencontainers.image.licenses="Apache-2.0" diff --git a/README.md b/README.md index 0a7a8482d173ef2c18c87838386ce59051feb8cf..7f0be1fcbe38cba0a0b56326be06c6b01abe5fc0 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # AMD GPU device plugin for Kubernetes -[](https://goreportcard.com/report/github.com/RadeonOpenCompute/k8s-device-plugin) +[](https://goreportcard.com/report/github.com/ROCm/k8s-device-plugin) ## Introduction This is a [Kubernetes][k8s] [device plugin][dp] implementation that enables the registration of AMD GPU in a container cluster for compute workload. With the appropriate hardware and this plugin deployed in your Kubernetes cluster, you will be able to run jobs that require AMD GPU. -More information about [RadeonOpenCompute (ROCm)][rocm] +More information about [ROCm][rocm]. ## Prerequisites @@ -25,7 +25,7 @@ $ kubectl create -f k8s-ds-amdgpu-dp.yaml ``` or directly pull from the web using ``` -kubectl create -f https://raw.githubusercontent.com/RadeonOpenCompute/k8s-device-plugin/master/k8s-ds-amdgpu-dp.yaml +kubectl create -f https://raw.githubusercontent.com/ROCm/k8s-device-plugin/master/k8s-ds-amdgpu-dp.yaml ``` If you want to enable the experimental device health check, please use `k8s-ds-amdgpu-dp-health.yaml` **after** `--allow-privileged=true` is set for kube-apiserver and kublet. @@ -43,7 +43,7 @@ $ kubectl create -f alexnet-gpu.yaml or ``` -$ kubectl create -f https://raw.githubusercontent.com/RadeonOpenCompute/k8s-device-plugin/master/example/pod/alexnet-gpu.yaml +$ kubectl create -f https://raw.githubusercontent.com/ROCm/k8s-device-plugin/master/example/pod/alexnet-gpu.yaml ``` and then check the pod status by running @@ -68,7 +68,7 @@ $ kubectl create -f k8s-ds-amdgpu-labeller.yaml or ``` -$ kubectl create -f https://raw.githubusercontent.com/RadeonOpenCompute/k8s-device-plugin/master/k8s-ds-amdgpu-labeller.yaml +$ kubectl create -f https://raw.githubusercontent.com/ROCm/k8s-device-plugin/master/k8s-ds-amdgpu-labeller.yaml ``` @@ -84,7 +84,7 @@ $ kubectl create -f https://raw.githubusercontent.com/RadeonOpenCompute/k8s-devi [dp]: https://kubernetes.io/docs/concepts/cluster-administration/device-plugins/ [helmamdgpu]: https://artifacthub.io/packages/helm/amd-gpu-helm/amd-gpu [rocm]: https://docs.amd.com/en/latest/what-is-rocm.html -[rock]: https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver +[rock]: https://github.com/ROCm/ROCK-Kernel-Driver [rocminstall]: https://docs.amd.com/en/latest/deploy/linux/quick_start.html [amdgpuinstall]: https://amdgpu-install.readthedocs.io/en/latest/ [sysreq]: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html diff --git a/cmd/k8s-device-plugin/main.go b/cmd/k8s-device-plugin/main.go index 86a5b922b758c8690faa40e96f79a1eda59b3034..6d3ccc8ad742a9322cc17bf571a92c1f5c347ddb 100644 --- a/cmd/k8s-device-plugin/main.go +++ b/cmd/k8s-device-plugin/main.go @@ -27,8 +27,8 @@ import ( "strconv" "time" - "github.com/RadeonOpenCompute/k8s-device-plugin/internal/pkg/amdgpu" - "github.com/RadeonOpenCompute/k8s-device-plugin/internal/pkg/hwloc" + "github.com/ROCm/k8s-device-plugin/internal/pkg/amdgpu" + "github.com/ROCm/k8s-device-plugin/internal/pkg/hwloc" "github.com/golang/glog" "github.com/kubevirt/device-plugin-manager/pkg/dpm" "golang.org/x/net/context" diff --git a/cmd/k8s-node-labeller/main.go b/cmd/k8s-node-labeller/main.go index bb10df01a8cdff3132a52be050b008ba6c9a8732..db04b2c340334f90494eeb864d0236d23f7bfd3f 100644 --- a/cmd/k8s-node-labeller/main.go +++ b/cmd/k8s-node-labeller/main.go @@ -11,7 +11,7 @@ import ( "strconv" "strings" - "github.com/RadeonOpenCompute/k8s-device-plugin/internal/pkg/amdgpu" + "github.com/ROCm/k8s-device-plugin/internal/pkg/amdgpu" corev1 "k8s.io/api/core/v1" "sigs.k8s.io/controller-runtime/pkg/client/config" "sigs.k8s.io/controller-runtime/pkg/controller" diff --git a/go.mod b/go.mod index a02c3616a61a1c0d0978c4975f65d95bfab2edc6..8d6759224ab7667c829ca46d70c70e63057b59a8 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/RadeonOpenCompute/k8s-device-plugin +module github.com/ROCm/k8s-device-plugin go 1.21 diff --git a/helm/amd-gpu/Chart.yaml b/helm/amd-gpu/Chart.yaml index cfe1021859a512d1ce83a67dd882fb1376316ac4..7aac42353c798bac0982faa9b6b885b90c46fb03 100644 --- a/helm/amd-gpu/Chart.yaml +++ b/helm/amd-gpu/Chart.yaml @@ -2,10 +2,10 @@ apiVersion: v2 name: amd-gpu description: A Helm chart for deploying Kubernetes AMD GPU device plugin type: application -home: https://github.com/RadeonOpenCompute/k8s-device-plugin +home: https://github.com/ROCm/k8s-device-plugin sources: - - https://github.com/RadeonOpenCompute/k8s-device-plugin -icon: https://raw.githubusercontent.com/RadeonOpenCompute/k8s-device-plugin/master/helm/logo.png + - https://github.com/ROCm/k8s-device-plugin +icon: https://raw.githubusercontent.com/ROCm/k8s-device-plugin/master/helm/logo.png maintainers: - name: Kenny Ho <Kenny.Ho@amd.com> keywords: diff --git a/helm/amd-gpu/README.md b/helm/amd-gpu/README.md index ef3dbbc732f88bab8ac36663aec145a9ddd66445..4d2413f1f0a72f48f7688213f1c36bdbccb8156a 100644 --- a/helm/amd-gpu/README.md +++ b/helm/amd-gpu/README.md @@ -34,7 +34,7 @@ Kubernetes: `>= 1.18.0` ## More information -https://github.com/RadeonOpenCompute/k8s-device-plugin +https://github.com/ROCm/k8s-device-plugin ---------------------------------------------- Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0) diff --git a/labeller.Dockerfile b/labeller.Dockerfile index a3d42ea929490c44e9802a01fcad8b6cfb8e1e5a..e1d941a895f87ba10692890625ce54d17ecf3e86 100644 --- a/labeller.Dockerfile +++ b/labeller.Dockerfile @@ -13,15 +13,15 @@ # limitations under the License. FROM docker.io/golang:1.21.6-alpine3.19 RUN apk --no-cache add git pkgconfig build-base libdrm-dev -RUN mkdir -p /go/src/github.com/RadeonOpenCompute/k8s-device-plugin -ADD . /go/src/github.com/RadeonOpenCompute/k8s-device-plugin -WORKDIR /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/cmd/k8s-node-labeller +RUN mkdir -p /go/src/github.com/ROCm/k8s-device-plugin +ADD . /go/src/github.com/ROCm/k8s-device-plugin +WORKDIR /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller RUN go install \ - -ldflags="-X main.gitDescribe=$(git -C /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/ describe --always --long --dirty)" + -ldflags="-X main.gitDescribe=$(git -C /go/src/github.com/ROCm/k8s-device-plugin/ describe --always --long --dirty)" FROM alpine:3.19.0 LABEL \ - org.opencontainers.image.source="https://github.com/RadeonOpenCompute/k8s-device-plugin" \ + org.opencontainers.image.source="https://github.com/ROCm/k8s-device-plugin" \ org.opencontainers.image.authors="Kenny Ho <Kenny.Ho@amd.com>" \ org.opencontainers.image.vendor="Advanced Micro Devices, Inc." \ org.opencontainers.image.licenses="Apache-2.0"