Giter VIP home page Giter VIP logo

cloudproject-cloud's Introduction

CloudProject-Cloud

Cloud project Cloud section repository.

Prepare your envroiment

  1. Install Ansible as a python dependency:
    pip install -r requirements.txt
    
  2. Then:
    source add-scripts-to-path.sh
    
  3. Edit config.sh and configure it to match your infrastructure.
  4. Generate your Ansible's hosts.ini by running compile-ansible-hosts.sh.
  5. Generate a new ed25519 keypair under the setup_kube folder by running generate-kube-keypair.sh.
  6. Open a new shell and run the command garr-0 to create the needed ssh tunnel (just leave the shell in the background).
  7. Run every Ansible playbook under playbooks by running playbook-run-all.sh.
  8. To build the Docker images, refer to the CloudProject-Edge repository.
  9. To stop the cluster, run:
    ./playbook-run.sh cluster-teardown
    

Repo structure

Playbooks for provisioning

  • sync: sync via rsync the entire local repository folder, including secrets, literally every file you have added in that folder so far, so be careful!
  • common: install all the needed utilities.
  • boot-master: start the Kubernetes control plane.
  • boot-workers: start the Kubernetes workers.
  • cluster-teardown: stops the Kubernetes cluster and remove the previously registered workers.

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.