We’ve collected some questions we often encounter concerning the usage of DC/OS. Have got a new question you’d like to see? Use the
Submit feedback button at the bottom of this page to suggest it or check out how you can contribute also the answer to it.
Why is my Marathon app stuck in Waiting?
This most commonly occurs when an application being launched has higher system requirements than any of the available offers coming to Marathon via Mesos. The deployment will eventually fail; check system requirements and increase the resources to the application if you want the deployment to succeed.
Why is my Marathon app launching on private agent instead of public?
By default apps are launched on private nodes. For more information, see the documentation.
What is meant by service ports in a Marathon app?
A service port is the globally-unique port assigned to the app when using automatic app discovery through a proxy or load balancer system, as described in Service Discovery and Load Balancing.
Why can’t I start more tasks? I have free resources in my cluster.
The most common causes for this are requesting ports or resource roles that are not available in the cluster. Tasks cannot launch unless they find agents with the required port available, and they will not accept offers that do not contain their accepted resource roles.
How can I add automatically more agents to the cluster?
DC/OS cannot automatically spin up new nodes in response to load on hardware unless the cloud provider autoscaling groups have been configured with standby hosts and
dcos_install.sh placed on the standby node. This is an involved process that requires setting up Autoscaling groups with your Cloud Provider (AWS, GCE, Azure) and placing an install file on each node. Please reach out to Mesosphere Support for more guidance if you need to set this up.
What is your best practice for service discovery?
A comprehensive overview of a few common service discovery implementations is available at Service Discovery in Marathon.
Is it possible to span my cluster over different cloud providers?
This is not currently supported. For more information, see this document.
How to add Mesos roles for a node to dedicate this node for some apps?
Please review this link on the Mesosphere Knowledge Base.
How can I upload files to Spark driver/executor?
Here is the example of a command you should launch to make it work:
dcos spark run --submit-args='--conf spark.mesos.uris=https://path/to/pi.conf --class JavaSparkPiConf https://path/to/sparkPi_without_config_file.jar /mnt/mesos/sandbox/pi.conf'
> --conf spark.mesos.uris=... A comma-separated list of URIs to be downloaded to the sandbox when driver or executor is launched by Mesos. This applies to both coarse-grained and fine-grained mode. > /mnt/mesos/sandbox/pi.conf A path to the downloaded file which your main class receives as a 0th parameter (see the code snippet below). /mnt/mesos/sandbox/ is a standard path inside a container which is mapped to a corespondent mesos-task sandbox.
How does the installer work?
DC/OS is installed in your environment by using a dynamically generated setup file. This file is generated by using specific parameters that are set during configuration. This installation file contains a Bash install script and a Docker container that is loaded with everything you need to deploy a customized DC/OS build.
For more information, see the installation documentation.
What versions of kernel, local OS, Docker Engine, Union Mount are recommended?
We recommend using CoreOS, matched with its correct versions and sensible defaults of Docker, filesystem, and other settings.