Giter Site home page Giter Site logo

terraform-proxmox's Introduction

Terraform Proxmox K8s Setup

Screenshot of Proxmox VE logo. Screenshot of Terraform logo. Screenshot of Debian logo. Screenshot of Cloudinit logo.

My homelab consists of several Debian-based VMs and LXC/Docker containers running together.
I've always delayed deployments because provisioning VMs has historically been a lengthy and error-prone task.
This repo helps me deploy VMs reliably and quickly within Proxox VE environment using Terraform and Cloudinit templates.

Prerequisites

Tools required for Proxmox and local host

What's Installed?

List of apps and plugins I find useful for VMs

Troubleshooting

Issues and fixes to things I've encountered

Set up a VM with Terraform

cloudinit FAQ:

Meta

Proxmox Provider:

Other providers:

I want to run cloud init commands on my lxc container:

Ansible vs. Terraform Differences:

AWS Terraform Tutorial:

Get Debian Cloud Images:

wget https://cdimage.debian.org/cdimage/cloud/bullseye/latest/debian-11-generic-amd64.qcow2
wget https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2

Virt-customize and virt-builder:

Install docker and k8s on ubuntu

cloudinit reference:

Helpful K8s Aliases:

To set permanent bash aliases change this file ~/.bash_aliases

alias k='kubectl
alias kc='k config view --minify | grep name'
alias kdp='kubectl describe pod'
alias c='clear'
alias kd='kubectl describe pod'
alias ke='kubectl explain'
alias kf='kubectl create -f'
alias kg='kubectl get pods --show-labels'
alias kr='kubectl replace -f'
alias ks='kubectl get namespaces'
alias l='ls -lrt'
alias kga='k get pod --all-namespaces'
alias kgaa='kubectl get all --show-labels'

MD reference:

useradd manual:

terraform-proxmox's People

Contributors

edariasdev avatar

Watchers

 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.