Helm Chart Configuration Reference#
appVersion: Configures which version of Determined to install. Users can specify a release version (e.g.,
0.13.0) or specify any commit hash from the upstream Determined repo (e.g.,
b13461ed06f2fad339e179af8028d4575db71a81). Users are encouraged to use a released version.
If using a non-release branch of the Determined repository,
appVersion is going to be set to
X.Y.Z.dev0. This is not an official release version and deploying this version result in a
ImagePullBackOff error. Users should remove
.dev0 to get the latest released version, or
they can specify a specific commit hash instead.
masterPort: The port at which the Determined master listens for connections on. (Required)
useNodePortForMaster: When set to false (default), a LoadBalancer service is deployed to make the Determined master reachable from outside the cluster. When set to true, the master will instead be exposed behind a NodePort service. When using a NodePort service users will typically have to configure an Ingress to make the Determined master reachable from outside the cluster. NodePort service is recommended when configuring TLS termination in a load-balancer.
tlsSecret: enables TLS encryption for all communication with the Determined master (TLS termination is performed in the Determined master). This includes communication between the Determined master and the task containers it launches, but does not include communication between the task containers (distributed training). The specified Secret of type tls must already exist in the same namespace in which Determined is being installed.
db: Specifies the configuration of the database.
name: The database name to use. (Required)
user: The database user to use when logging in the database. (Required)
password: The password to use when logging in the database. (Required)
port: The database port to use. (Required)
hostAddress: Optional configuration to indicate the address of a user provisioned database If configured, the Determined helm chart will not deploy a database.
storageSize: Only used when
hostAddressis left blank. Configures the size of the PersistentVolumeClaim for the Determined deployed database.
cpuRequest: The CPU requirements for the Determined database.
memRequest: The memory requirements for the Determined database.
cpuLimit: Optional configuration. The CPU limits for the Determined database.
memLimit: Optional configuration. The memory limits for the Determined database.
useNodePortForDB: Optional configuration that configures whether ClusterIP or NodePort service type is used for the Determined database. By default ClusterIP is used.
storageClassName: Optional configuration to indicate StorageClass that should be used by the PersistentVolumeClaim for the Determined deployed database. This can be left blank if a default storage class is specified in the cluster. If dynamic provisioning of PersistentVolumes is disabled, users must manually create a PersistentVolume that will match the PersistentVolumeClaim.
checkpointStorage: Specifies where model checkpoints will be stored. This can be overridden on a per-experiment basis in the Experiment Configuration Reference. A checkpoint contains the architecture and weights of the model being trained. Determined currently supports several kinds of checkpoint storage,
shared_fs, identified by the
type: gcs: Checkpoints are stored on Google Cloud Storage (GCS). Authentication is done using GCP’s “Application Default Credentials” approach. When using Determined inside Google Kubernetes Engine (GCE), the simplest approach is to ensure that the nodes used by Determined are running in a service account that has the “Storage Object Admin” role on the GCS bucket being used for checkpoints. As an alternative (or when running outside of GKE), you can add the appropriate service account credentials to your container (e.g., via a bind-mount), and then set the
GOOGLE_APPLICATION_CREDENTIALSenvironment variable to the container path where the credentials are located. See Environment Variables for more information on how to set environment variables in trial environments.
bucket: The GCS bucket name to use.
prefix: The optional path prefix to use. Must not contain
... Note: Prefix is normalized, e.g.,
type: s3: Checkpoints are stored in Amazon S3.
bucket: The S3 bucket name to use.
accessKey: The AWS access key to use.
secretKey: The AWS secret key to use.
prefix: The optional path prefix to use. Must not contain
... Note: Prefix is normalized, e.g.,
endpointUrl: The optional endpoint to use for S3 clones, e.g., http://127.0.0.1:8080/.
type: azure: Checkpoints are stored in Microsoft’s Azure Blob Storage. Authentication is performed by providing either a connection string, or an account URL and an optional credential.
container: The Azure Blob Storage container name to use.
connection_string: The connection string for the service account to use.
account_url: The account URL for the service account to use.
credential: The optional credential to use in conjunction with the account URL.
Please only specify either
type: shared_fs: Checkpoints are written to a
hostPath Volume. Users are strongly discouraged from using
shared_fsfor storage beyond initial testing as most Kubernetes cluster nodes do not have a shared file system.
hostPath: The file system path on each node to use. This directory will be mounted to
/determined_shared_fsinside the trial pod.
When an experiment finishes, the system will optionally delete some checkpoints to reclaim space. The
saveTrialLatestparameters specify which checkpoints to save. See Checkpoint Garbage Collection for more details.
maxSlotsPerPod: Specifies number of GPUs there are per machine. Determined uses this information when scheduling multi-GPU tasks. Each multi-GPU (distributed training) task will be scheduled as a set of
slotsPerTask / maxSlotsPerPodseparate pods, with each pod assigned up to
maxSlotsPerPodGPUs. Distributed tasks with sizes that are not divisible by
maxSlotsPerPodare never scheduled. If you have a cluster of different size nodes, set the
maxSlotsPerPodto greatest common divisor of all the sizes. For example, if you have some nodes with 4 GPUs and other nodes with 8 GPUs, set
4so that all distributed experiments will launch with 4 GPUs per pod (with two pods on 8-GPU nodes). (Required)
masterCpuRequest: The CPU requirements for the Determined master.
masterMemRequest: The memory requirements for the Determined master.
masterCpuLimit: Optional configuration. The CPU limits for the Determined master.
masterMemLimit: Optional configuration. The memory limits for the Determined master.
taskContainerDefaults: Specifies Docker defaults for all task containers. A task represents a single schedulable unit, such as a trial, command, or tensorboard.
networkMode: The Docker network to use for the Determined task containers. If this is set to “host”, Docker host-mode networking will be used instead. Defaults to “bridge”.
dtrainNetworkInterface: The network interface to use during Distributed Training with HPE Machine Learning Development Environment. If not set, Determined automatically determines the network interface. When training a model with multiple machines, the host network interface used by each machine must have the same interface name across machines. This is usually determined automatically, but there may be issues if there is an interface name common to all machines but it is not routable between machines. Determined already filters out common interfaces like
docker0, but agent machines may have others. If interface detection is not finding the appropriate interface, the
dtrainNetworkInterfaceoption can be used to set it explicitly (e.g.,
forcePullImage: Defines the default policy for forcibly pulling images from the Docker registry and bypassing the Docker cache. If a pull policy is specified in the experiment config this default is overriden. Please note that as of November 1st, 2020 unauthenticated users will be capped at 100 pulls from Docker per 6 hours. Defaults to
cpuPodSpec: Sets the default pod spec for all non-GPU tasks. See Customize a Pod for details.
gpuPodSpec: Sets the default pod spec for all GPU tasks. See Customize a Pod for details.
cpuImage: Sets the default Docker image for all non-GPU tasks. If a Docker image is specified in the experiment config this default is overriden. Defaults to:
gpuImage: Sets the default Docker image for all GPU tasks. If a Docker image is specified in the experiment config this default is overriden. Defaults to:
enterpriseEdition: Specifies whether to use Determined enterprise edition.
imagePullSecretName: Specifies the image pull secret for pulling the Determined master image. Required when using the enterprise edition.
telemetry: Specifies whether we collect anonymous information about the usage of Determined.
enabled: Whether collection is enabled. Defaults to
observability: Specifies whether Determined enables Prometheus monitoring routes. See Prometheus for details.
enable_prometheus: Whether Prometheus is enabled. Defaults to
tensorboardTimeout: Specifies the duration in seconds before idle TensorBoard instances are automatically terminated. A TensorBoard instance is considered to be idle if it does not receive any HTTP traffic. The default timeout is 300 (5 minutes).
defaultPassword: Specifies a string containing the default password for the admin and determined user accounts.
logging: Configures where trial logs are stored. This section takes the same shape as the logging configuration in the cluster configuration, except that names are changed to camel case to match Helm conventions (e.g.,
logging.security.tls.certificate: Contains the contents of an expected TLS certificate for the Elasticsearch cluster, rather than a path as it does in the cluster configuration. This can be conveniently set at the command line using
helm install --set-file logging.security.tls.certificate=<path>.
defaultScheduler: Configures the default scheduler that Determined will use. Currently supports the
coscheduleroption, which enables the lightweight coscheduling plugin, and the
preemptionoption, which enables a priority-based preemption scheduler. Unless specified as
coscheduler, Determined will use the default Kubernetes scheduler.
resourcePools: This section contains the names of the resource pools and their linked namespaces. Maps to the
resource_poolssection from the master configuration.