0 votes

Hi guys,

Following the documentation of using docker containers for job deployments I had to run ./bin/dssadmin/build-code-env-images --all

However, this command isn't recognised by dssadmin itself although it is listed as a command in the CLI.


[[email protected] dataiku-data]$ ./bin/dssadmin
Usage: dssadmin ACTION [ARGUMENT ...]
Actions:
        install-hadoop-integration [-keytab KEYTAB_FILE_LOCATION -principal KERBEROS_PRINCIPAL]
        install-spark-integration [-sparkHome SPARK_HOME] [-pysparkPython PYSPARK_PYTHON]
        install-h2o-integration [-sparklingWaterDir SPARKLING_WATER_DIR]
        install-R-integration [-noDeps] [-repo REPO_URL | -pkgDir DIR]
        build-container-exec-base-image [-tag TAG]
        build-container-exec-code-env-images [--all] [--dry-run]
        build-container-exec-base-image [-t TAG]
        build-code-env-images [--all] [--dry-run]
        build-mad-kubernetes-base-image [-tag TAG]
        install-monitoring-integration -graphiteServer HOSTNAME:PORT [-prefix PREFIX] [-pkg LOCAL_COLLECTD_PACKAGE]
        regenerate-config
        install-impersonation [-pythonBin PYTHONBIN] [-noInstallSudoSnippet] DSS_USER
        run-diagnosis [OPTIONS] OUTPUT_FILE
        install-dashboard-export [-noDeps]
        compact-internal-databases

[[email protected] dataiku-data]$ ./bin/dssadmin build-code-env-images
[-] Unsupported action build-code-env-images

 

Afterwards, I ran build-container-exec-code-env-images but this didn't build any sort of usable image in the container exec settings.

Am I overlooking something?

EDIT:

 

asked by
edited by

1 Answer

0 votes

Hi,

There is some duplication in this help message, which will be amended in the next DSS release.

The correct command to build the base image is given by the documentation on setting up Container execution:
./bin/dssadmin build-container-exec-base-image

If you are trying to build container execution images for code envs, remember to first mark for which container execution configuration you want to make code env available, in the code env's settings. Then updating the code env should build the corresponding docker image(s) (provided you already have a base image).
The build-container-exec-code-env-images command is rather when you want to rebuild those images for all code envs , e.g. after rebuilding the base image (required when you upgrade DSS to a newer version).

answered by
Hi Adrien,

Yes I am trying to build container execution images for code env. I have a Python 3.6 configured environment and I wish to distribute Python processes through Docker.

I've built the exec base image, restarted Dataiku a couple of times but still am not able to select any possible configuration for this code environment.

I've updated my original post with screenshots. I hope you can help me.
You need to create the container execution configurations.

In Administration > Settings > Container exec, click "Add another config", choose Docker or Kubernetes and if necessary, specify an image repository (in which case you'll need to push the base image using the eponymous button).
992 questions
1,025 answers
1,077 comments
3,154 users

┬ęDataiku 2012-2018 - Privacy Policy