Skip to content

Commit

Permalink
Fix for k8s single node deployment.
Browse files Browse the repository at this point in the history
The worker doesn't need to be started if there is only one node. The master node will be used as worker.
  • Loading branch information
ThanKarab committed Nov 24, 2022
1 parent f17f8f6 commit b2e06ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Federated-Deployment/kubernetes/templates/exareme-worker.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ if gt .Values.workers 1.0}} # Single node deployment
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -57,3 +58,4 @@ spec:
- name: data
hostPath:
path: {{ .Values.data_path }}
{{end}}

0 comments on commit b2e06ef

Please sign in to comment.