From 2d5692006ee70e736cdafaa62802ee0fdcb144b6 Mon Sep 17 00:00:00 2001 From: Windfarer Date: Fri, 14 Mar 2025 17:17:11 +0800 Subject: [PATCH 1/2] fix image name --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 92cd30e..cb13c4b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -REPO ?= ghcr.io/BirenTechnology +REPO ?= ghcr.io/birentechnology PROJECT ?= k8s-device-plugin BUILD_ENV?= tag=$(shell git describe --abbrev=0 --tags) @@ -19,4 +19,4 @@ build: ${BUILD_ENV} GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -ldflags="-X 'main.Version=$(VERSION)' -X 'main.Time=$(shell LC_TIME=en_US.UTF-8 date)' -X 'main.Commit=$(shell git rev-parse --short HEAD)'" -o k8s-device-topo debug/topo/topo.go build-arm: - ${BUILD_ENV} GOOS=linux GOARCH=arm64 CGO_ENABLED=1 go build -ldflags="-X 'main.Version=$(VERSION)' -X 'main.Time=$(shell LC_TIME=en_US.UTF-8 date)' -X 'main.Commit=$(shell git rev-parse --short HEAD)'" -o k8s-device-plugin cmd/manager.go \ No newline at end of file + ${BUILD_ENV} GOOS=linux GOARCH=arm64 CGO_ENABLED=1 go build -ldflags="-X 'main.Version=$(VERSION)' -X 'main.Time=$(shell LC_TIME=en_US.UTF-8 date)' -X 'main.Commit=$(shell git rev-parse --short HEAD)'" -o k8s-device-plugin cmd/manager.go -- Gitee From 412642ff57e95c4bc698430d64f0e379ed73cb29 Mon Sep 17 00:00:00 2001 From: cnrock Date: Tue, 18 Mar 2025 03:00:34 +0000 Subject: [PATCH 2/2] update deploy/biren-device-plugin.yaml. change scheduler.alpha.kubernetes.io/critical-pod: "" to priorityClassName: system-node-critical Signed-off-by: cnrock --- deploy/biren-device-plugin.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/biren-device-plugin.yaml b/deploy/biren-device-plugin.yaml index 11efcf4..4ee47c6 100644 --- a/deploy/biren-device-plugin.yaml +++ b/deploy/biren-device-plugin.yaml @@ -49,7 +49,7 @@ spec: template: metadata: annotations: - scheduler.alpha.kubernetes.io/critical-pod: "" + priorityClassName: system-node-critical labels: name: biren-device-plugin app.kubernetes.io/component: exporter -- Gitee