https://github.com/mfellner/hello-mesos
Basic example of Apache Mesos on CoreOS.
https://github.com/mfellner/hello-mesos
Last synced: 2 months ago
JSON representation
Basic example of Apache Mesos on CoreOS.
- Host: GitHub
- URL: https://github.com/mfellner/hello-mesos
- Owner: mfellner
- Created: 2015-06-04T21:06:37.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-04T21:07:26.000Z (about 10 years ago)
- Last Synced: 2024-10-12T00:18:39.766Z (8 months ago)
- Homepage:
- Size: 113 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello Mesos
Basic example of Apache Mesos on CoreOS and Digital Ocean, using [Terraform](https://www.terraform.io/).
#### Usage
terraform plan
terraform applyThe pulling of Docker containers for Mesos on CoreOS can take a few minutes.
#### Prerequisites
Create a file `terraform.tfvars` for the following variables:
* do_token (required)
* public_key (optional, default is *~/.ssh/id_rsa.pub*)#### Get Digital Ocean SSH key IDs (when using an existing key)
curl -X GET -H 'Content-Type: application/json' \
-H 'Authorization: Bearer $DO_TOKEN' \
"https://api.digitalocean.com/v2/account/keys"#### Generate a New Discovery URL (for cloud-config.yml)
curl -w "\n" https://discovery.etcd.io/new
Replace *discovery* in cloud-config.yml with the generated URL.
## Resources
* https://www.digitalocean.com/community/tutorials/how-to-set-up-a-coreos-cluster-on-digitalocean
* https://docs.mesosphere.com/tutorials/mesosphere-on-a-single-coreos-instance