Allow to configure affinity for tornjak-frontend
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -49,6 +49,7 @@ port forwarding. See the chart NOTES output for more details.
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| affinity | object | `{}` | |
|
||||
| apiServerURL | string | `"http://localhost:10000/"` | URL of the Tornjak APIs (backend) Since Tornjak Frontend runs in the browser, this URL must be accessible from the machine running a browser. |
|
||||
| fullnameOverride | string | `""` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
|
||||
@@ -55,6 +55,10 @@ spec:
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: cache
|
||||
emptyDir: {}
|
||||
|
||||
@@ -45,6 +45,8 @@ service:
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: amd64
|
||||
|
||||
affinity: {}
|
||||
|
||||
# -- Provide minimal resources to prevent accidental crashes due to resource exhaustion
|
||||
# resources:
|
||||
# requests:
|
||||
|
||||
Reference in New Issue
Block a user