Skip to content

Commit

Permalink
Rename scheduler to kube-batch
Browse files Browse the repository at this point in the history
  • Loading branch information
asifdxtreme committed May 14, 2019
1 parent 027b62d commit e54846c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ init:
mkdir -p ${BIN_DIR}

kube-batch: init
go build -ldflags ${LD_FLAGS} -o=${BIN_DIR}/kube-batch ./cmd/scheduler
go build -ldflags ${LD_FLAGS} -o=${BIN_DIR}/vk-kube-batch ./cmd/kube-batch

vk-controllers: init
go build -ldflags ${LD_FLAGS} -o=${BIN_DIR}/vk-controllers ./cmd/controllers
Expand All @@ -33,12 +33,12 @@ vkctl: init
image_bins:
go get github.com/mitchellh/gox
CGO_ENABLED=0 gox -osarch=${REL_OSARCH} -ldflags ${LD_FLAGS} -output ${BIN_DIR}/${REL_OSARCH}/vkctl ./cmd/cli
for name in controllers scheduler admission; do\
for name in controllers kube-batch admission; do\
CGO_ENABLED=0 gox -osarch=${REL_OSARCH} -ldflags ${LD_FLAGS} -output ${BIN_DIR}/${REL_OSARCH}/vk-$$name ./cmd/$$name; \
done

images: image_bins
for name in controllers scheduler admission; do\
for name in controllers kube-batch admission; do\
cp ${BIN_DIR}/${REL_OSARCH}/vk-$$name ./installer/dockerfile/$$name/; \
docker build --no-cache -t $(IMAGE_PREFIX)-$$name:$(TAG) ./installer/dockerfile/$$name; \
rm installer/dockerfile/$$name/vk-$$name; \
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion installer/chart/volcano/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
basic:
image_tag_version: "latest"
controller_image_name: "volcanosh/vk-controllers"
scheduler_image_name: "volcanosh/vk-scheduler"
scheduler_image_name: "volcanosh/vk-kube-batch"
admission_image_name: "volcanosh/vk-admission"
admission_secret_name: "volcano-admission-secret"
image_pull_secret: ""
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@

FROM alpine:latest

ADD vk-scheduler /vk-scheduler
ENTRYPOINT ["/vk-scheduler"]
ADD vk-kube-batch /vk-kube-batch
ENTRYPOINT ["/vk-kube-batch"]

0 comments on commit e54846c

Please sign in to comment.