Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated references to GitHub Org #50

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>" \
org.opencontainers.image.vendor="Advanced Micro Devices, Inc." \
org.opencontainers.image.licenses="Apache-2.0"
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
Expand All @@ -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
Expand All @@ -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
```


Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cmd/k8s-device-plugin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion cmd/k8s-node-labeller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/RadeonOpenCompute/k8s-device-plugin
module github.com/ROCm/k8s-device-plugin

go 1.21

Expand Down
6 changes: 3 additions & 3 deletions helm/amd-gpu/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
keywords:
Expand Down
2 changes: 1 addition & 1 deletion helm/amd-gpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
10 changes: 5 additions & 5 deletions labeller.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>" \
org.opencontainers.image.vendor="Advanced Micro Devices, Inc." \
org.opencontainers.image.licenses="Apache-2.0"
Expand Down