mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 06:47:28 +08:00
[bitnami/pytorch] Add hostAliases (#5303)
This commit is contained in:
committed by
GitHub
parent
f8ffed1d6b
commit
d14849389e
@@ -24,4 +24,4 @@ name: pytorch
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-pytorch
|
||||
- http://pytorch.org/
|
||||
version: 2.1.4
|
||||
version: 2.2.0
|
||||
|
||||
@@ -67,6 +67,7 @@ The following table lists the configurable parameters of the PyTorch chart and t
|
||||
| `git.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
|
||||
| `nameOverride` | String to partially override common.names.fullname template with a string (will prepend the release name) | `nil` |
|
||||
| `fullnameOverride` | String to fully override common.names.fullname template with a string | `nil` |
|
||||
| `hostAliases` | Add deployment host aliases | `[]` |
|
||||
| `volumePermissions.enabled` | Enable init container that changes volume permissions in the data directory (for cases where the default k8s `runAsUser` and `fsUser` values do not work) | `false` |
|
||||
| `volumePermissions.image.registry` | Init container volume-permissions image registry | `docker.io` |
|
||||
| `volumePermissions.image.repository` | Init container volume-permissions image name | `bitnami/minideb` |
|
||||
|
||||
@@ -14,7 +14,10 @@ spec:
|
||||
labels: {{- include "common.labels.standard" . | nindent 8 }}
|
||||
app.kubernetes.io/component: master
|
||||
spec:
|
||||
{{- include "pytorch.imagePullSecrets" . | nindent 6 }}
|
||||
{{- include "pytorch.imagePullSecrets" . | nindent 6 }}
|
||||
{{- if .Values.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" ( dict "value" .Values.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -30,6 +30,7 @@ image:
|
||||
## Set to true if you would like to see extra information on logs
|
||||
## It turns BASH and NAMI debugging in minideb
|
||||
## ref: https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
|
||||
##
|
||||
debug: false
|
||||
|
||||
## String to partially override common.names.fullname template (will maintain the release name)
|
||||
@@ -40,7 +41,6 @@ image:
|
||||
##
|
||||
# fullnameOverride:
|
||||
|
||||
|
||||
## Bitnami git image version
|
||||
## ref: https://hub.docker.com/r/bitnami/git/tags/
|
||||
##
|
||||
@@ -118,6 +118,11 @@ entrypoint:
|
||||
##
|
||||
mode: standalone
|
||||
|
||||
## Deployment pod host aliases
|
||||
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||
##
|
||||
hostAliases: []
|
||||
|
||||
## Number of nodes that will run the code
|
||||
## WORLD_SIZE will be set to this value
|
||||
##
|
||||
@@ -166,6 +171,7 @@ podAntiAffinityPreset: soft
|
||||
nodeAffinityPreset:
|
||||
## Node affinity type
|
||||
## Allowed values: soft, hard
|
||||
##
|
||||
type: ""
|
||||
## Node label key to match
|
||||
## E.g.
|
||||
|
||||
Reference in New Issue
Block a user