mxnet
Apache MXNet (Incubating) is a flexible and efficient library for deep learning designed to work as a neural network. Bitnami image ships OpenBLAS as math library.
About this chart
Apache MXNet (Incubating) packaged by Bitnami
Apache MXNet (Incubating) is a flexible and efficient library for deep learning designed to work as a neural network. Bitnami image ships OpenBLAS as math library.
Overview of Apache MXNet (Incubating)
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/mxnet
Introduction
This chart bootstraps an Apache MXNet (Incubating) deployment on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/mxnet
These commands deploy Apache MXNet (Incubating) on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
namespaceOverride | String to fully override common.names.namespace template | "" |
commonAnnotations | Annotations to add to all deployed objects | {} |
commonLabels | Labels to add to all deployed objects | {} |
extraDeploy | Array of extra objects to deploy with the release | [] |
clusterDomain | Kubernetes cluster domain name | cluster.local |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the the deployment(s)/statefulset(s) | ["sleep"] |
diagnosticMode.args | Args to override all containers in the the deployment(s)/statefulset(s) | ["infinity"] |
Common Mxnet parameters
| Name | Description | Value |
|---|---|---|
image.registry | Apache MXNet (Incubating) image registry | docker.io |
image.repository | Apache MXNet (Incubating) image repository | bitnami/mxnet |
image.tag | Apache MXNet (Incubating) image tag (immutable tags are recommended) | 1.9.1-debian-11-r50 |
image.digest | Apache MXNet (Incubating) image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | Apache MXNet (Incubating) image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Specify if debug logs should be enabled | false |
entrypoint | The main entrypoint of your app, this will be executed as: | {} |
mode | Apache MXNet (Incubating) deployment mode. Can be standalone or distributed | standalone |
existingSecret | Name of a secret with sensitive data to mount in the pods | "" |
configMap | Name of an existing config map containing all the files you want to load in Apache MXNet (Incubating) | "" |
cloneFilesFromGit.enabled | Enable in order to download files from git repository | false |
cloneFilesFromGit.repository | Repository to clone | "" |
cloneFilesFromGit.revision | Branch name to clone | master |
cloneFilesFromGit.extraVolumeMounts | Add extra volume mounts for the GIT container | [] |
persistence.enabled | Use a PVC to persist data | false |
persistence.storageClass | discourse & sidekiq data Persistent Volume Storage Class | "" |
persistence.existingClaim | Use a existing PVC which must be created manually before bound | "" |
persistence.mountPath | Path to mount the volume at | /bitnami/mxnet |
persistence.accessModes | Persistent Volume Access Mode | ["ReadWriteOnce"] |
persistence.size | Size of data volume | 8Gi |
persistence.annotations | Persistent Volume annotations | {} |
extraEnvVars | Array with extra environment variables to add to all the pods | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars for all the pods | "" |
extraEnvVarsSecret | Name of existing Secret containing extra env vars for all the pods | "" |
extraVolumes | Array to add extra volumes (evaluated as a template) | [] |
extraVolumeMounts | Array to add extra mounts (normally used with extraVolumes, evaluated as a template) | [] |
sidecars | Attach additional containers to the pods (scheduler, worker and server nodes) | [] |
initContainers | Attach additional init containers to the pods (scheduler, worker and server nodes) | [] |
Mxnet Standalone parameters (only for standalone mode)
| Name | Description | Value |
|---|---|---|
standalone.affinity | Affinity for Mxnet standalone pods assignment | {} |
standalone.nodeAffinityPreset.type | Node affinity preset type. Ignored if standalone.affinity is set. Allowed values: soft or hard | "" |
standalone.nodeAffinityPreset.key | Node label key to match. Ignored if standalone.affinity is set | "" |
standalone.nodeAffinityPreset.values | Node label values to match. Ignored if standalone.affinity is set | [] |
standalone.nodeSelector | Node labels for Mxnet standalone pods assignment | {} |
standalone.podAffinityPreset | Pod affinity preset. Ignored if standalone.affinity is set. Allowed values: soft or hard | "" |
standalone.podAntiAffinityPreset | Pod anti-affinity preset. Ignored if standalone.affinity is set. Allowed values: soft or hard | soft |
standalone.hostAliases | Mxnet standalone pods host aliases | [] |
standalone.tolerations | Tolerations for Mxnet standalone pods assignment | [] |
standalone.podAnnotations | Annotations for Mxnet standalone pods | {} |
standalone.podLabels | Extra labels for Mxnet standalone pods | {} |
standalone.podSecurityContext.enabled | Enabled Mxnet standalone pods' Security Context | true |
standalone.podSecurityContext.fsGroup | Set Mxnet standalone pod's Security Context fsGroup | 1001 |
standalone.containerSecurityContext.enabled | Enabled Mxnet standalone containers' Security Context | true |
standalone.containerSecurityContext.runAsUser | Set Mxnet standalone containers' Security Context runAsUser | 1001 |
standalone.containerSecurityContext.runAsNonRoot | Set Mxnet standalone container's Security Context runAsNonRoot | true |
standalone.command | Override default container command (useful when using custom images) | [] |
standalone.args | Override default container |
Deploy mxnet with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mxnet on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmxnet is pinned at v3.1.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply