Giter Club home page Giter Club logo

Comments (7)

amitshukla avatar amitshukla commented on July 2, 2024

@navinSing can you clarify what you are looking for? E.g.: are you trying to use these compose files to setup a mesos or kubernetes cluster on your local machine without using Virtual machines?

from swarm-frontends.

navinSing avatar navinSing commented on July 2, 2024

Looking for just 2 things ..

  1. Setup script for the slave machine.. I mean what will be the config/
    order .. Mesos slave ... Or docker slave along with the deamon params to
    connect to consul.
  2. And local docker registry for the LAN.

I spent like 3 days trying to do this without success.

It will be great if you can help me here.

Thanks

On Dec 11, 2015 11:54 PM, "Amit Shukla" [email protected] wrote:

@navinSing https://github.com/navinSing can you clarify what you are
looking for? E.g.: are you trying to use these compose files to setup a
mesos or kubernetes cluster on your local machine without using Virtual
machines?


Reply to this email directly or view it on GitHub
#6 (comment)
.

from swarm-frontends.

amitshukla avatar amitshukla commented on July 2, 2024

@navinSing if you look at init_swarm.sh, you should be able to use this command as a template to get swarm on the machine:
echo "----- create a machine for swarm node 5 -----"
docker-machine create -d virtualbox --swarm
--swarm-discovery="consul://$(docker-machine ip mh-keystore):8500"
--engine-opt="cluster-store=consul://$(docker-machine ip mh-keystore):8500"
--engine-opt="cluster-advertise=eth1:2376"
swarm-node-05

After this, you should be able to use the compose file to configure Mesos master, slaves etc.

Look at the docker-machine documentation for your specific scenarion. For example, this page lists how to use docker-machine to configure a machine in AWS:
https://docs.docker.com/machine/drivers/aws/

from swarm-frontends.

navinSing avatar navinSing commented on July 2, 2024

@amitshukla , sorry.. let me clarify .. i am looking for bare metals .. at this moment not aws or vagrant.

Assume that i have a linux machine. what all things i should do to join it to the swarm. I was specifically looking at mesos example.

so i will have to install swarm-agent and mesos slave .. what will be the order. What ssh keys sharing i need to do ..

Also if i can get a local docker registry it will be great..

from swarm-frontends.

amitshukla avatar amitshukla commented on July 2, 2024

@navinSing please read this article: https://blog.codefresh.io/docker-machine-basics/
And use the generic driver (Ubuntu server over ssh).

from swarm-frontends.

navinSing avatar navinSing commented on July 2, 2024

nah, that is not what i was looking for it simply installs docker-machine on that host, looking for a swarm cluster to connect to the rest of the machines. The example doesn't use ssh keys etc..

from swarm-frontends.

navinSing avatar navinSing commented on July 2, 2024

any updates on this .. please

from swarm-frontends.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.