Skip to content

Commit

Permalink
Prepare for release 0.5.0
Browse files Browse the repository at this point in the history
Signed-off-by: Aldo Culquicondor <[email protected]>
  • Loading branch information
alculquicondor committed Apr 16, 2024
1 parent 79a9b37 commit a22c30d
Show file tree
Hide file tree
Showing 6 changed files with 6,451 additions and 7,949 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# TODO: Once the gcr.io/distroless/base-debian12 is released, we can use `golang:1.20` as a base image.
# REF: https://github.com/GoogleContainerTools/distroless/issues/1342
FROM golang:1.20-bullseye AS build
FROM golang:1.22 AS build

# Set mpi-operator version
# Defaults to v2
Expand All @@ -12,7 +10,7 @@ WORKDIR /go/src/github.com/kubeflow/mpi-operator
RUN make RELEASE_VERSION=${RELEASE_VERSION} mpi-operator.$VERSION
RUN ln -s mpi-operator.${VERSION} _output/cmd/bin/mpi-operator

FROM gcr.io/distroless/base-debian11:latest
FROM gcr.io/distroless/base-debian12:latest

ENV CONTROLLER_VERSION=$VERSION
COPY --from=build /go/src/github.com/kubeflow/mpi-operator/_output/cmd/bin/* /opt/
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ REPO_PATH="github.com/kubeflow/mpi-operator"
REL_OSARCH="linux/amd64"
GitSHA=$(shell git rev-parse HEAD)
Date=$(shell date "+%Y-%m-%d %H:%M:%S")
RELEASE_VERSION?=v0.4.0
RELEASE_VERSION?=v0.5.0
CONTROLLER_VERSION?=v2
BASE_IMAGE_SSH_PORT?=2222
IMG_BUILDER=docker
Expand Down Expand Up @@ -162,7 +162,7 @@ helm: bin
CONTROLLER_GEN = $(PROJECT_DIR)/bin/controller-gen
.PHONY: controller-gen
controller-gen: bin
@GOBIN=$(PROJECT_DIR)/bin go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.12.0
@GOBIN=$(PROJECT_DIR)/bin go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0

KUSTOMIZE = $(PROJECT_DIR)/bin/kustomize
.PHONY: kustomize
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kubectl apply -f https://raw.githubusercontent.com/kubeflow/mpi-operator/master/
- Release Version

```shell
kubectl apply -f https://raw.githubusercontent.com/kubeflow/mpi-operator/v0.4.0/deploy/v2beta1/mpi-operator.yaml
kubectl apply -f https://raw.githubusercontent.com/kubeflow/mpi-operator/v0.5.0/deploy/v2beta1/mpi-operator.yaml
```

Alternatively, follow the [getting started guide](https://www.kubeflow.org/docs/started/getting-started/) to deploy Kubeflow.
Expand Down
12 changes: 12 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# MPI Operator Releases

## Release v0.5.0
* Features:
* Add support for MPICH (#562, @sheevy)
* Field runLauncherAsWorker allows to add the launcher pod into the hostfile as a worker (#612, @kuizhiqing)
* Add PodGroup minResources calculation for volcano integration (#566, @lowang-bh)
* Clean up:
* Fail the mpi-operator binary if access to API is denied (#619, @emsixteeen)
* Bug fixes
* Fix panic when using PodGroups and PriorityClasses (#561, @tenzen-y)
* Fix installation of mpijob Python module (#579, @vsoch)
* Fix hostfile when jobs in different namespaces have the same name (#622, @kuizhiqing)

## Release v0.4.0
* Breaking changes
* Removed v1 operator. If you want to use MPIJob v1, you can use the training-operator.
Expand Down
Loading

0 comments on commit a22c30d

Please sign in to comment.