From f952db06b0421a79fee1332822258234d33f4945 Mon Sep 17 00:00:00 2001 From: David Galiffi Date: Thu, 18 Jan 2024 12:43:55 -0500 Subject: [PATCH] Updated references to GitHub Org "RadeonOpenCompute" --> "ROCm" --- Dockerfile | 10 +++++----- README.md | 12 ++++++------ cmd/k8s-device-plugin/main.go | 4 ++-- cmd/k8s-node-labeller/main.go | 2 +- go.mod | 2 +- helm/amd-gpu/Chart.yaml | 6 +++--- helm/amd-gpu/README.md | 2 +- labeller.Dockerfile | 10 +++++----- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Dockerfile b/Dockerfile index c15eff83..f812c94a 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 " \ org.opencontainers.image.vendor="Advanced Micro Devices, Inc." \ org.opencontainers.image.licenses="Apache-2.0" diff --git a/README.md b/README.md index 0a7a8482..7f0be1fc 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # AMD GPU device plugin for Kubernetes -[![Go Report Card](https://goreportcard.com/badge/github.com/RadeonOpenCompute/k8s-device-plugin)](https://goreportcard.com/report/github.com/RadeonOpenCompute/k8s-device-plugin) +[![Go Report Card](https://goreportcard.com/badge/github.com/ROCm/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 86a5b922..6d3ccc8a 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 bb10df01..db04b2c3 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 a02c3616..8d675922 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 cfe10218..7aac4235 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 keywords: diff --git a/helm/amd-gpu/README.md b/helm/amd-gpu/README.md index ef3dbbc7..4d2413f1 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 a3d42ea9..e1d941a8 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 " \ org.opencontainers.image.vendor="Advanced Micro Devices, Inc." \ org.opencontainers.image.licenses="Apache-2.0"