Skip to content

Commit

Permalink
upd stork configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed Dec 25, 2020
1 parent 7be3f46 commit 6ee731e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
10 changes: 9 additions & 1 deletion helm/kube-linstor/templates/stork-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,17 @@ spec:
command:
- /stork
- --driver=linstor
- --health-monitor=false
- --leader-elect=true
- --lock-object-name={{ $fullName }}-stork
- --lock-object-namespace=$(NAMESPACE)
- --health-monitor=false
- --snapshotter=false
- --cluster-domain-controllers=false
env:
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: LS_CONTROLLERS
{{- if not .Values.controller.ssl.enabled }}
value: http://{{ $fullName }}-controller:{{ .Values.controller.port }}
Expand Down
12 changes: 9 additions & 3 deletions helm/kube-linstor/templates/stork-scheduler-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,17 @@ spec:
command:
- /usr/local/bin/kube-scheduler
- --address=0.0.0.0
- --leader-elect=true
- --scheduler-name=stork
- --policy-configmap={{ $fullName }}-stork
- --policy-configmap-namespace={{ .Release.Namespace }}
- --lock-object-name=stork-scheduler
- --policy-configmap-namespace=$(NAMESPACE)
- --leader-elect=true
- --leader-elect-resource-name={{ $fullName }}-stork-scheduler
- --leader-elect-resource-namespace=$(NAMESPACE)
env:
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
livenessProbe:
httpGet:
path: /healthz
Expand Down

0 comments on commit 6ee731e

Please sign in to comment.