Giter VIP home page Giter VIP logo

fount's Introduction

FOUNT ⛲

The goal of FOUNT is to set up a cloud native and vendor neutral platform in a simple way. It starts with a bare metal machine and aims at a full fledged cluster configuration. The aim is also to make the setup simple and modular in order to support the familiarization and understanding of Kubernetes.

Prerequisites

In order to be able to experiment with FOUNT, the following hardware requirements are needed:

  • Debian based (e.g. Ubuntu) machine with at least 1GB of ram and one core - for Gitlab 4 cores and 4GB of memory are recommended.
  • A DNS record that points to the public IP address of the machine.
  • A SSH connection to the machine - preferably using Public Key Authentication.
  • A local kubectl and helm installation.

Additionally FOUNT uses Ansible for the setup and configuration. If Python 3 is installed you can easily install Ansible via Pip. This is shown in the following script:

$ python -m venv .venv
$ source .venv/bin/activate
$ pip install --upgrade pip
$ pip install ansible

Setup the Cluster

The minimal setup of the k3s cluster on the machine is defined in the Ansible playbook playbooks/setup-k3s-cluster.yml.

⚠️ The setup runs a retrieved script! This is potentially malicious and should be checked in advance.

Before the playbook can be executed the playbooks/hosts.yml has to be adapted. Please replace k3s.l4b.space with your DNS record. You may also want to customize the SSH user and port.

After that navigate into the playbooks directory and run: ansible-playbook setup-k3s-cluster.yml

If everything went fine something similar to

PLAY RECAP ******************************************************************************************************************
1-single-dev.node.k3s      : ok=6    changed=5    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

should be shown at the end of the log after the play finished.

Although the playbook already does it, you can check the status fo the cluster node by executing: kubectl get nodes If the node reached the Ready status your cluster is up and running 🎉

Sources and further information

fount's People

Contributors

kle1n-com avatar sitaaax avatar

Watchers

 avatar  avatar

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.