Skip to content

Commit

Permalink
Merge pull request #3036 from wangyang0616/update_image_1.8.0
Browse files Browse the repository at this point in the history
update image to v1.8.0
  • Loading branch information
volcano-sh-bot authored Aug 8, 2023
2 parents 225cfdc + fbb77a4 commit f03837a
Show file tree
Hide file tree
Showing 10 changed files with 619 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code_verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
make lint
make verify
make TAG=latest generate-yaml
make TAG=v1.8.0 generate-yaml
make verify-generated-yaml
make unit-test
working-directory: ./src/github.com/${{ github.repository }}
4 changes: 2 additions & 2 deletions .github/workflows/e2e_spark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
- name: Build lastest volcano images
run: |
eval $(minikube docker-env)
make TAG=latest update-development-yaml
make TAG=latest images
make TAG=v1.8.0 update-development-yaml
make TAG=v1.8.0 images
docker images | grep volcano
cat ./installer/volcano-development.yaml | grep image:
minikube kubectl -- apply -f ./installer/volcano-development.yaml
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -195,5 +195,5 @@ CONTROLLER_GEN=$(shell which controller-gen)
endif

update-development-yaml:
make generate-yaml TAG=latest RELEASE_DIR=installer
mv installer/volcano-latest.yaml installer/volcano-development.yaml
make generate-yaml TAG=v1.8.0 RELEASE_DIR=installer
mv installer/volcano-v1.8.0.yaml installer/volcano-development.yaml
4 changes: 2 additions & 2 deletions Makefile.def
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

# If tag not explicitly set in users default to the git sha.
TAG ?= $(shell git rev-parse --verify HEAD)
TAG ?= v1.8.0
GitSHA=`git rev-parse HEAD`
Date=`date "+%Y-%m-%d %H:%M:%S"`
RELEASE_VER=latest
RELEASE_VER=v1.8.0
LD_FLAGS=" \
-X '${REPO_PATH}/pkg/version.GitSHA=${GitSHA}' \
-X '${REPO_PATH}/pkg/version.Built=${Date}' \
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Note:
Install Volcano on an existing Kubernetes cluster. This way is both available for x86_64 and arm64 architecture.

```
kubectl apply -f https://raw.githubusercontent.com/volcano-sh/volcano/master/installer/volcano-development.yaml
kubectl apply -f https://raw.githubusercontent.com/volcano-sh/volcano/release-1.8/installer/volcano-development.yaml
```

Enjoy! Volcano will create the following resources in `volcano-system` namespace.
Expand Down Expand Up @@ -122,8 +122,8 @@ This way is only available for x86_64 temporarily.
If you want to get prometheus and grafana volcano dashboard after volcano installed, try following commands:

```bash
make TAG=latest generate-yaml
kubectl create -f _output/release/volcano-monitoring-latest.yaml
make TAG=v1.8.0 generate-yaml
kubectl create -f _output/release/volcano-monitoring-v1.8.0.yaml
```

## Kubernetes compatibility
Expand Down
6 changes: 3 additions & 3 deletions hack/check-generated-yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ set -o pipefail
VK_ROOT=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/..
export RELEASE_FOLDER=${VK_ROOT}/${RELEASE_DIR}

if ! diff ${VK_ROOT}/installer/volcano-development.yaml ${RELEASE_FOLDER}/volcano-latest.yaml ; then
if ! diff ${VK_ROOT}/installer/volcano-development.yaml ${RELEASE_FOLDER}/volcano-v1.8.0.yaml ; then
{
echo
echo "The Generated yaml is different from the one in installer/volcano-development.yaml"
echo "please run 'make generate-yaml TAG=latest RELEASE_DIR=installer \
&& mv ${VK_ROOT}/installer/volcano-latest.yaml ${VK_ROOT}/installer/volcano-development.yaml' to update"
echo "please run 'make generate-yaml TAG=v1.8.0 RELEASE_DIR=installer \
&& mv ${VK_ROOT}/installer/volcano-v1.8.0.yaml ${VK_ROOT}/installer/volcano-development.yaml' to update"
echo
} >&2
false
Expand Down
6 changes: 3 additions & 3 deletions installer/helm/chart/volcano/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for Volcano
name: volcano
version: "1.5"
version: "1.8.0"
appVersion: "0.1"
icon: https://raw.githubusercontent.com/volcano-sh/charts/master/docs/images/volcano-logo.png
home: https://volcano.sh
Expand All @@ -12,7 +12,7 @@ dependencies:
version: "1.0.0"
repository: "file://../charts/jobflow"
maintainers:
- name: k82cn
email: klaus1982.cn@gmail.com
- name: william-wang
email: wang.platform@gmail.com
- name: kevin-wangzefeng
email: kevinwzf0126@gmail.com
4 changes: 2 additions & 2 deletions installer/helm/chart/volcano/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ basic:
admission_config_file: "config/volcano-admission.conf"
scheduler_config_file: "config/volcano-scheduler.conf"
image_pull_secret: ""
image_pull_policy: "Always"
image_tag_version: "latest"
image_pull_policy: "IfNotPresent"
image_tag_version: "v1.8.0"
admission_port: 8443
custom:
metrics_enable: false
Expand Down
16 changes: 8 additions & 8 deletions installer/volcano-development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ spec:
- --port=8443
- -v=4
- 2>&1
image: volcanosh/vc-webhook-manager:latest
imagePullPolicy: Always
image: volcanosh/vc-webhook-manager:v1.8.0
imagePullPolicy: IfNotPresent
name: admission
volumeMounts:
- mountPath: /admission.local.config/certificates
Expand Down Expand Up @@ -185,8 +185,8 @@ spec:
restartPolicy: Never
containers:
- name: main
image: volcanosh/vc-webhook-manager:latest
imagePullPolicy: Always
image: volcanosh/vc-webhook-manager:v1.8.0
imagePullPolicy: IfNotPresent
command: ["./gen-admission-secret.sh", "--service", "volcano-admission-service", "--namespace",
"volcano-system", "--secret", "volcano-admission-secret"]
---
Expand Down Expand Up @@ -8619,14 +8619,14 @@ spec:
priorityClassName: system-cluster-critical
containers:
- name: volcano-controllers
image: volcanosh/vc-controller-manager:latest
image: volcanosh/vc-controller-manager:v1.8.0
args:
- --logtostderr
- --enable-healthz=true
- --leader-elect=false
- -v=4
- 2>&1
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
---
# Source: volcano/templates/scheduler.yaml
apiVersion: v1
Expand Down Expand Up @@ -8787,7 +8787,7 @@ spec:
priorityClassName: system-cluster-critical
containers:
- name: volcano-scheduler
image: volcanosh/vc-scheduler:latest
image: volcanosh/vc-scheduler:v1.8.0
args:
- --logtostderr
- --scheduler-conf=/volcano.scheduler/volcano-scheduler.conf
Expand All @@ -8796,7 +8796,7 @@ spec:
- --leader-elect=false
- -v=3
- 2>&1
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
volumeMounts:
- name: scheduler-config
mountPath: /volcano.scheduler
Expand Down
Loading

0 comments on commit f03837a

Please sign in to comment.