terraform-dcos icon indicating copy to clipboard operation
terraform-dcos copied to clipboard

A question about getting started

Open twashing opened this issue 7 years ago • 3 comments

I can see the Network Security section of the repo README. I simply added the dcos moddule to one of my existing terraform configs.

...
provider "aws" {
  region = "${var.region}"
  access_key = "${var.access_key}"
  secret_key = "${var.secret_key}"
}

module "dcos" {
  source = "github.com/zutherb/terraform-dcos"

  aws_access_key = "${var.access_key}"
  aws_secret_key = "${var.secret_key}"
  aws_region     = "${var.region}"
  ssh_public_key = "${var.ssh_key}"
  openvpn_admin_user = "${var.openvpn_admin_user}"
  openvpn_admin_pw = "${var.openvpn_admin_pw}"
  exhibitor_uid = "${var.exhibitor_uid}"
}
...

But I still have a few questions.

  • Where can we find the Marathon Dashboard ?
  • How do we deploy an application to Marathon ?
  • Where can we find the Mesos Dashboard for a better look into everything that's been setup ?

twashing avatar Jun 18 '17 18:06 twashing

As a follow on, I saw the this function in vpn_user_data.sh.

function wait_until_marathon_is_running {
    until $(curl --output /dev/null --silent --head --fail http://${internal_master_lb_dns_name}:8080/v2/info); do
        echo "waiting for marathon"
        sleep 5
    done
}

So I tried manually calling curl http://<actual_internal_master_lb_dns_name>:8080/v2/info, with an Operation timed out response.

  • Is that the correct endpoint for Marathon?
  • The Mesos Dashboard is supposed to be served by the Admin Router. But I don't see an admin for that either.

twashing avatar Jun 18 '17 20:06 twashing

@twashing

  • Where can we find the Marathon Dashboard ? in the cluster you can access it with the url http://master.mesos/marathon see https://docs.mesosphere.com/1.9/networking/mesos-dns/service-naming/

How do we deploy an application to Marathon ? https://dcos.io/docs/1.9/deploying-services/

Where can we find the Mesos Dashboard for a better look into everything that's been setup ? http://master.mesos/mesos

zutherb avatar Jun 21 '17 18:06 zutherb

Sorry for the delay in responding. And thanks for the feedback, that helps.

Tim Washington Interruptsoftware.com http://interruptsoftware.com 415.283.8889

On Wed, Jun 21, 2017 at 2:02 PM, Bernd Zuther [email protected] wrote:

@twashing https://github.com/twashing

  • Where can we find the Marathon Dashboard ? in the cluster you can access it with the url http://master.mesos/marathon see https://docs.mesosphere.com/1.9/networking/mesos-dns/ service-naming/

How do we deploy an application to Marathon ? https://dcos.io/docs/1.9/deploying-services/

Where can we find the Mesos Dashboard for a better look into everything that's been setup ? http://master.mesos/mesos

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zutherb/terraform-dcos/issues/10#issuecomment-310158844, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOoqG1GNB6Ozivw1IAw5PALI1TWcBB2ks5sGVqngaJpZM4N9kOV .

twashing avatar Jul 08 '17 06:07 twashing