mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-21 19:16:48 +10:00
Add affinity to wildfly
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: wildfly
|
||||
version: 3.2.4
|
||||
version: 3.2.5
|
||||
appVersion: 17.0.1
|
||||
description: Chart for Wildfly
|
||||
keywords:
|
||||
|
||||
@@ -82,6 +82,7 @@ The following tables lists the configurable parameters of the WildFly chart and
|
||||
| `persistence.accessMode` | PVC Access Mode for WildFly volume | `ReadWriteOnce` |
|
||||
| `persistence.size` | PVC Storage Request for WildFly volume | `8Gi` |
|
||||
| `resources` | CPU/Memory resource requests/limits | Memory: `512Mi`, CPU: `300m` |
|
||||
| `affinity` | Map of node/pod affinities | `{}` |
|
||||
|
||||
The above parameters map to the env variables defined in [bitnami/wildfly](http://github.com/bitnami/bitnami-docker-wildfly). For more information please refer to the [bitnami/wildfly](http://github.com/bitnami/bitnami-docker-wildfly) image documentation.
|
||||
|
||||
|
||||
@@ -82,3 +82,7 @@ spec:
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end -}}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -117,3 +117,8 @@ resources:
|
||||
requests:
|
||||
memory: 512Mi
|
||||
cpu: 300m
|
||||
|
||||
## Affinity for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
##
|
||||
affinity: {}
|
||||
Reference in New Issue
Block a user