mirror of
https://github.com/bitnami/charts.git
synced 2026-02-25 07:38:03 +08:00
update resources formatting
Signed-off-by: Sameer Naik <sameersbn@vmware.com>
This commit is contained in:
@@ -86,7 +86,7 @@ The following table lists the configurable parameters of the Node Exporter chart
|
||||
| `hostNetwork` | Expose the service to the host network | `true` |
|
||||
| `minReadySeconds` | `minReadySeconds` to avoid killing pods before we are ready | `0` |
|
||||
| `priorityClassName` | Priority class assigned to the Pods | `nil` |
|
||||
| `resources` | CPU/Memory resource requests/limits for node | `{}` |
|
||||
| `resources` | Resource requests/limit | `{}` |
|
||||
| `podLabels` | Pod labels | `{}` |
|
||||
| `podAnnotations` | Pod annotations | `{}` |
|
||||
| `affinity` | Map of node/pod affinities | `{} (The value is evaluated as a template)` |
|
||||
|
||||
@@ -60,7 +60,9 @@ spec:
|
||||
path: /
|
||||
port: metrics
|
||||
{{ toYaml .Values.readinessProbe | indent 12 }}
|
||||
{{- if .Values.resources }}
|
||||
resources: {{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- name: proc
|
||||
mountPath: /host/proc
|
||||
|
||||
@@ -137,10 +137,20 @@ minReadySeconds: 0
|
||||
##
|
||||
priorityClassName: ""
|
||||
|
||||
## Configure resource requests and limits
|
||||
## Resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
resources: {}
|
||||
resources:
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
limits: {}
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
requests: {}
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
## Pod labels
|
||||
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
||||
|
||||
@@ -137,10 +137,20 @@ minReadySeconds: 0
|
||||
##
|
||||
priorityClassName: ""
|
||||
|
||||
## Configure resource requests and limits
|
||||
## Resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
resources: {}
|
||||
resources:
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
limits: {}
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
requests: {}
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
## Pod labels
|
||||
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
||||
|
||||
Reference in New Issue
Block a user