GithubHelp home page GithubHelp logo

egibide-ciberseguridad / kubernetes-opennebula Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 1.46 MB

Cluster Kubernetes desplegado con Terraform y Ansible en OpenNebula.

License: Apache License 2.0

Makefile 16.20% Dockerfile 3.22% Shell 16.61% HCL 63.97%
2023 ansible docker kubernetes terraform opennebula

kubernetes-opennebula's Introduction

kubernetes-opennebula

Cluster Kubernetes desplegado con Terraform y Ansible en OpenNebula.

Puesta en marcha

  1. Crear el fichero .env a partir de env-example y configurar las variables.

  2. Crear el fichero terraform/variables.tf a partir de terraform/variables.tf.example y configurar las variables.

  3. Construir el contenedor donde se ejecuta Terraform.

    make build
  4. Crear la clave privada SSH para Ansible e inicializar Terraform.

    make init
  5. Desplegar el cluster en OpenNebula.

    make apply
  6. Conectarse al nodo maestro del cluster.

    make ssh

Acceso al Dashboard

Obtener el token temporal de acceso:

make dashboard-token

Establecer el túnel SSH de acceso:

make dashboard-tunnel

Y acceder a:

https://localhost:9999

Timeline de creación del cluster

Recursos necesarios

Nodo CPUs Memoria (GB) Disco (GB)
master 2 4 16
node-0 1 3 24
node-1 1 3 24
node-2 1 3 24
haproxy 1 1 8
Total 6 14 96

Referencias

HAProxy

Rook

Dashboard

Portainer

kubernetes-opennebula's People

Contributors

ijaureguialzo avatar

Stargazers

 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.