mxnet

by joaquinito2051

Helm chartv3.1.6App 1.9.1

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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
nameOverrideString to partially override common.names.fullname template (will maintain the release name)""
fullnameOverrideString to fully override common.names.fullname template""
namespaceOverrideString to fully override common.names.namespace template""
commonAnnotationsAnnotations to add to all deployed objects{}
commonLabelsLabels to add to all deployed objects{}
extraDeployArray of extra objects to deploy with the release[]
clusterDomainKubernetes cluster domain namecluster.local
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the the deployment(s)/statefulset(s)["sleep"]
diagnosticMode.argsArgs to override all containers in the the deployment(s)/statefulset(s)["infinity"]

Common Mxnet parameters

NameDescriptionValue
image.registryApache MXNet (Incubating) image registrydocker.io
image.repositoryApache MXNet (Incubating) image repositorybitnami/mxnet
image.tagApache MXNet (Incubating) image tag (immutable tags are recommended)1.9.1-debian-11-r50
image.digestApache MXNet (Incubating) image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
image.pullPolicyApache MXNet (Incubating) image pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[]
image.debugSpecify if debug logs should be enabledfalse
entrypointThe main entrypoint of your app, this will be executed as:{}
modeApache MXNet (Incubating) deployment mode. Can be standalone or distributedstandalone
existingSecretName of a secret with sensitive data to mount in the pods""
configMapName of an existing config map containing all the files you want to load in Apache MXNet (Incubating)""
cloneFilesFromGit.enabledEnable in order to download files from git repositoryfalse
cloneFilesFromGit.repositoryRepository to clone""
cloneFilesFromGit.revisionBranch name to clonemaster
cloneFilesFromGit.extraVolumeMountsAdd extra volume mounts for the GIT container[]
persistence.enabledUse a PVC to persist datafalse
persistence.storageClassdiscourse & sidekiq data Persistent Volume Storage Class""
persistence.existingClaimUse a existing PVC which must be created manually before bound""
persistence.mountPathPath to mount the volume at/bitnami/mxnet
persistence.accessModesPersistent Volume Access Mode["ReadWriteOnce"]
persistence.sizeSize of data volume8Gi
persistence.annotationsPersistent Volume annotations{}
extraEnvVarsArray with extra environment variables to add to all the pods[]
extraEnvVarsCMName of existing ConfigMap containing extra env vars for all the pods""
extraEnvVarsSecretName of existing Secret containing extra env vars for all the pods""
extraVolumesArray to add extra volumes (evaluated as a template)[]
extraVolumeMountsArray to add extra mounts (normally used with extraVolumes, evaluated as a template)[]
sidecarsAttach additional containers to the pods (scheduler, worker and server nodes)[]
initContainersAttach additional init containers to the pods (scheduler, worker and server nodes)[]

Mxnet Standalone parameters (only for standalone mode)

NameDescriptionValue
standalone.affinityAffinity for Mxnet standalone pods assignment{}
standalone.nodeAffinityPreset.typeNode affinity preset type. Ignored if standalone.affinity is set. Allowed values: soft or hard""
standalone.nodeAffinityPreset.keyNode label key to match. Ignored if standalone.affinity is set""
standalone.nodeAffinityPreset.valuesNode label values to match. Ignored if standalone.affinity is set[]
standalone.nodeSelectorNode labels for Mxnet standalone pods assignment{}
standalone.podAffinityPresetPod affinity preset. Ignored if standalone.affinity is set. Allowed values: soft or hard""
standalone.podAntiAffinityPresetPod anti-affinity preset. Ignored if standalone.affinity is set. Allowed values: soft or hardsoft
standalone.hostAliasesMxnet standalone pods host aliases[]
standalone.tolerationsTolerations for Mxnet standalone pods assignment[]
standalone.podAnnotationsAnnotations for Mxnet standalone pods{}
standalone.podLabelsExtra labels for Mxnet standalone pods{}
standalone.podSecurityContext.enabledEnabled Mxnet standalone pods' Security Contexttrue
standalone.podSecurityContext.fsGroupSet Mxnet standalone pod's Security Context fsGroup1001
standalone.containerSecurityContext.enabledEnabled Mxnet standalone containers' Security Contexttrue
standalone.containerSecurityContext.runAsUserSet Mxnet standalone containers' Security Context runAsUser1001
standalone.containerSecurityContext.runAsNonRootSet Mxnet standalone container's Security Context runAsNonRoottrue
standalone.commandOverride default container command (useful when using custom images)[]
standalone.argsOverride 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmxnet is pinned at v3.1.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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