Skip to content

Commit e22a82d

Browse files
author
Klaus Ma
authored
Merge pull request volcano-sh#70 from volcano-sh/imprd
2 parents f008e25 + 86d2775 commit e22a82d

File tree

3 files changed

+37
-17
lines changed

3 files changed

+37
-17
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BIN_DIR=_output/bin
2-
IMAGE=volcano
3-
TAG = 0.1
2+
IMAGE=volcanosh/volcano
3+
TAG = latest
44

55
.EXPORT_ALL_VARIABLES:
66

README.md

+31-11
Original file line numberDiff line numberDiff line change
@@ -47,33 +47,43 @@ the open source community.
4747

4848
![volcano](docs/images/volcano-intro.png)
4949

50-
## Installation
50+
## Quick Start Guide
5151

52-
The easiest way to use Volcano is to use the Helm chart.
52+
The easiest way to deploy Volcano is to use the Helm chart.
5353

54+
### Pre-requisites
55+
56+
First of all, clone the repo to your local path:
57+
58+
```
59+
# mkdir -p $GOPATH/src/volcano.sh/
60+
# cd $GOPATH/src/volcano.sh/
61+
# git clone https://github.com/volcano-sh/volcano.git
62+
```
5463

5564
### 1. Volcano Image
5665

57-
Official images are not yet available on DockerHub, however you can
66+
Official images are available on [DockerHub](https://hub.docker.com/u/volcanosh), however you can
5867
build them locally with the command:
5968

6069
```
70+
cd $GOPATH/src/volcano.sh/volcano
6171
make docker
72+
73+
## Verify your images
74+
# docker images
75+
REPOSITORY TAG IMAGE ID CREATED SIZE
76+
volcanosh/volcano-admission latest a83338506638 8 seconds ago 41.4MB
77+
volcanosh/volcano-scheduler latest faa3c2a25ac3 9 seconds ago 49.6MB
78+
volcanosh/volcano-controllers latest 7b11606ebfb8 10 seconds ago 44.2MB
79+
6280
```
6381

6482
**NOTE**: You need ensure the images are correctly loaded in your kubernetes cluster, for
6583
example, if you are using [kind cluster](https://github.com/kubernetes-sigs/kind),
6684
try command ```kind load docker-image <image-name>:<tag> ``` for each of the images.
6785

6886
### 2. Helm charts
69-
First of all, clone the repo to your local path:
70-
71-
```
72-
# mkdir -p $GOPATH/src/volcano.sh/
73-
# cd $GOPATH/src/volcano.sh/
74-
# git clone https://github.com/volcano-sh/volcano.git
75-
```
76-
7787
Second, install the required helm plugin and generate valid
7888
certificate, volcano uses a helm plugin **gen-admission-secret** to
7989
generate certificate for admission service to communicate with
@@ -85,12 +95,22 @@ helm plugin install installer/chart/volcano/plugins/gen-admission-secret
8595
8696
#2. Generate secret within service name
8797
helm gen-admission-secret --service <specified-name>-admission-service --namespace <namespace>
98+
99+
## For eg:
100+
kubectl create namespace volcano-trial
101+
102+
helm gen-admission-secret --service volcano-trial-admission-service --namespace volcano-trial
103+
88104
```
89105

90106
Finally, install helm chart.
91107

92108
```
93109
helm install installer/chart/volcano --namespace <namespace> --name <specified-name>
110+
111+
For eg :
112+
helm install installer/chart/volcano --namespace volcano-trial --name volcano-trial
113+
94114
```
95115

96116
**NOTE**:The ```<specified-name>``` used in the two commands above should be identical.

installer/chart/volcano/values.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
basic:
2-
image_tag_version: "1.0"
3-
controller_image_name: "volcano-controllers"
4-
scheduler_image_name: "volcano-scheduler"
5-
admission_image_name: "volcano-admission"
2+
image_tag_version: "latest"
3+
controller_image_name: "volcanosh/volcano-controllers"
4+
scheduler_image_name: "volcanosh/volcano-scheduler"
5+
admission_image_name: "volcanosh/volcano-admission"
66
admission_secret_name: "volcano-admission-secret"
77
image_pull_secret: ""

0 commit comments

Comments
 (0)