Skip to content

Commit

Permalink
resolve merge conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: aakcht <aakcht@gmail.com>
  • Loading branch information
Aakcht committed Jun 1, 2023
1 parent 1495275 commit 64768c9
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 41 deletions.
4 changes: 3 additions & 1 deletion installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ Kubernetes that are commonly required by many classes of batch & elastic workloa
## Installing volcano via yaml file

All-in-one yaml has been generated for quick deployment. Try command:

```$xslt
kubectl apply -f volcano-v0.0.x.yaml
```

Check the status in namespace `volcano-system`

```$xslt
$kubectl get all -n volcano-system
NAME READY STATUS RESTARTS AGE
Expand Down Expand Up @@ -129,7 +132,6 @@ $ helm install --name volcano-release --set basic.image_pull_policy=Always volca

The above command set image pull policy to `Always`, so docker image will be pulled each time.


Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

```bash
Expand Down
13 changes: 0 additions & 13 deletions installer/helm/chart/volcano/templates/admission.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,6 @@ spec:
configMap:
name: {{ .Release.Name }}-admission-configmap

{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}

---
apiVersion: v1
kind: Service
Expand Down
12 changes: 0 additions & 12 deletions installer/helm/chart/volcano/templates/controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,4 @@ spec:
- -v=4
- 2>&1
imagePullPolicy: {{ .Values.basic.image_pull_policy }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
12 changes: 0 additions & 12 deletions installer/helm/chart/volcano/templates/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,18 +167,6 @@ spec:
- name: scheduler-config
configMap:
name: {{ .Release.Name }}-scheduler-configmap
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
---
apiVersion: v1
kind: Service
Expand Down
3 changes: 0 additions & 3 deletions installer/helm/chart/volcano/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ custom:
scheduler_replicas: 1
leader_elect_enable: false
enabled_admissions: "/jobs/mutate,/jobs/validate,/podgroups/mutate,/pods/validate,/pods/mutate,/queues/mutate,/queues/validate"
nodeSelector: {}
affinity: []
tolerations: []

# Specify affinity for all main Volcano components or per component.
# For example:
Expand Down

0 comments on commit 64768c9

Please sign in to comment.