From eb4d4feb29db1934de589c79c7720bb3fc55385e Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Hernandez Date: Fri, 7 Jun 2019 12:29:38 +0000 Subject: [PATCH] [bitnami/mxnet] Unify and document production values Signed-off-by: Carlos Rodriguez Hernandez --- bitnami/mxnet/Chart.yaml | 2 +- bitnami/mxnet/README.md | 30 +++++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/bitnami/mxnet/Chart.yaml b/bitnami/mxnet/Chart.yaml index 1f155b699..acaa30aff 100644 --- a/bitnami/mxnet/Chart.yaml +++ b/bitnami/mxnet/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mxnet -version: 0.0.1 +version: 0.0.2 appVersion: 1.4.1 description: A flexible and efficient library for deep learning keywords: diff --git a/bitnami/mxnet/README.md b/bitnami/mxnet/README.md index 56d338faa..e1c51d883 100644 --- a/bitnami/mxnet/README.md +++ b/bitnami/mxnet/README.md @@ -51,7 +51,7 @@ The following table lists the configurable parameters of the MinIO chart and the | `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) | | `image.registry` | MXNet image registry | `docker.io` | | `image.repository` | MXNet image name | `bitnami/MXNet` | -| `image.tag` | MXNet image tag | `{VERSION}` | +| `image.tag` | MXNet image tag | `{TAG_NAME}` | | `image.pullPolicy` | Image pull policy | `IfNotPresent` | | `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) | | `image.debug` | Specify if debug logs should be enabled | `false` | @@ -126,6 +126,34 @@ $ helm install --name my-release -f values.yaml bitnami/mxnet > **Tip**: You can use the default [values.yaml](values.yaml) +### Production configuration + +This chart includes a `values-production.yaml` file where you can find some parameters oriented to production configuration in comparison to the regular `values.yaml`: + +- Run MXNet in distributed mode: +```diff +- mode: standalone ++ mode: distributed +``` + +- Number of server nodes that will execute your code: +```diff +- serverCount: 1 ++ serverCount: 2 +``` + +- Number of worker nodes that will execute your code: +```diff +- workerCount: 1 ++ workerCount: 4 +``` + +### [Rolling VS Immutable tags](https://docs.bitnami.com/containers/how-to/understand-rolling-tags-containers/) + +It is strongly recommended to use immutable tags in a production environment. This ensures your deployment does not change automatically if the same tag is updated with a different image. + +Bitnami will release a new chart updating its containers if a new version of the main container, significant changes, or critical vulnerabilities exist. + ## Loading your files The MXNet chart supports three different ways to load your files. In order of priority, they are: