user3766324
user3766324

Reputation:

Marathon on Azure Container Service - cannot scale to all nodes

I have setup up a VM cluster using Azure Container Service. The container orchestrator is DC/OS. There are 3 Master nodes and 3 slave agents.

I have a Docker app that I am trying to launch on my cluster using Marathon. Each time I launch, I notice that the CPU utilization of 3 nodes is always 0 i.e. the app is never scheduled on them. The other 3 nodes, on the other hand, have almost 100% CPU utilization. (As I scale the application.) At that point, the scaling stops and Marathon shows state "waiting" for resource ads from Mesos.

I don't understand why Marathon is not scheduling more containers, despite there being empty nodes when I try to scale the application.

I know that Marathon runs on the Master nodes; is it unaware of the presence of the slave agents? (Assuming that the 3 free nodes are the slaves.)

Here is the config file of the application: pastebin-config-file

How can I make full use of the machines using Marathon?

Upvotes: 1

Views: 156

Answers (1)

rgardler
rgardler

Reputation: 592

Tasks are not scheduled to the masters. They are reserved for management of the cluster.

Upvotes: 0

Related Questions