Giter Site home page Giter Site logo

Comments (2)

SweBarre avatar SweBarre commented on June 24, 2024

Hi,
I do have a start and a stop script for the cluster
I haven't pushed it though, don't know exactly how it should be implemented.

Should it be a complete new script (I think so, it doesn't make sense too me to have it as an option to deploy_caasp.sh)
Should it be two scripts, eg. cluster_start.sh and cluster_stop.sh or one script with a start/stop parameter?

Cheers

from vagrant-caasp.

SweBarre avatar SweBarre commented on June 24, 2024

I also experience some issues when deploying a cluster, not always though.
But sometimes it can take several minutes for the masters and workers to reach Ready state.
And if the workers are not in "Ready" state the Dashboard fails to install (and sometimes tiller aswell).

So I also included wait_for_masters_ready and wait_for_workers_ready in the 04.add_workers.sh so the deployment won't continue until all cluster nodes has reached Ready state.

I pushed my rough scripts to my fork SweBarre@b0ba6ab

You can take a look at it and give some feedback on what you think.

./cluster.sh -h
Usage cluster.sh [options..] [command]
-v, --verbose        Make the operation more talkative
-h,-?, --help        Show help and exit

start                start a previosly provisioned cluster
stop                 stop a running cluster

getToken             get Dashboard token

from vagrant-caasp.

Related Issues (20)

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.