GithubHelp home page GithubHelp logo

davosian / proxmox-nomad-cluster Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kencx/homelab

0.0 0.0 0.0 1.79 MB

Nomad, Consul & Vault cluster in Proxmox

Home Page: https://kencx.github.io/homelab/

License: MIT License

Shell 8.48% Python 3.32% Makefile 0.44% Smarty 11.24% HCL 30.27% YAML 40.00% Jinja 6.25%

proxmox-nomad-cluster's Introduction

Hubble Homelab

Documentation

This repository contains infrastructure-as-code for the automated deployment and configuration and management of a Hashicorp (Nomad + Consul + Vault) cluster. The cluster is hosted on Proxmox as a personal, private homelab.

Disclaimer

This project is in alpha status and subject to bugs and breaking changes.

Please do not run any code on your machine without understanding the provisioning flow, in case of data loss. Some playbooks may perform destructive actions that are irreversible!

Overview

This project aims to provision a full Hashicorp cluster in a semi-automated manner. It utilizes Packer, Ansible and Terraform:

  • Packer creates base Proxmox VM templates from cloud images and ISOs
  • Terraform provisions cluster nodes by cloning existing VM templates
  • Ansible installs and configures Vault, Consul, Nomad on cluster nodes

It comprises minimally of one server and one client node with no high availability (HA). The nodes run Vault, Consul and Nomad as a cluster.

To support HA, the setup can be further expanded to at least three server nodes and multiple client nodes hosted on a Proxmox cluster, spanning multiple physical machines.

Features

  • Golden image creation with Packer
  • Declarative configuration of Proxmox VMs and Vault with Terraform
  • Automated post-provisioning with Ansible
  • Nomad container scheduling and orchestration
  • Consul service discovery
  • Secure node communication via mTLS
  • Personal Certificate Authority hosted on Vault
  • Automated certificate management with Vault and consul-template
  • Let's Encrypt certificates on Traefik reverse proxy
  • Scheduled, automated backups with Restic and Autorestic

Getting Started

See the documentation for more information on the concrete steps to configure and provision the cluster.

Acknowledgements

proxmox-nomad-cluster's People

Contributors

kencx 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.