k0s

jfklingler/k0s/proxmox

Terraform Module HCL PROXMOX

A collection of modules for building and managing k0s kubernetes clusters on the Proxmox hypervisor.

Install
module "k0s" {
source = "jfklingler/k0s/proxmox"
version = "1.0.2"
}
plain text: /constructs/tfmod-jfklingler-k0s-proxmox/install.txt
⭐ Source on GitHub 📦 Registry page
README

Proxmox k0s Kubernetes Cluster Module This module creates k0s Kubernetes clusters on the Proxmox hypervisor. The k0sctl cluster manager is used for bootstrapping and managing the k0s clusters. There are a number of sub-modules used for configuring a complete cluster. cluster-ssh - shared cluster SSH configuration control-plane - LXC container based controller pool configuration load-balancer - LXC container based control plane load balancer configuration worker-pool-vm - QEMU VM based worker pool configuration Providers These modules make use of the telmate/proxmox and danitso/proxmox providers. Since they're both named proxmox, the danitso/proxmox provider has been aliased to proxmox-resource because it's only used for creating snippets, etc. The telmate/proxmox provider is used for the m

Inputs (8)
NameTypeDescriptionDefault
worker_poolslist(object({ ip_addressesThe worker pool configurations for the cluster. These should be instances of the required
pod_cidrstringThe CIDR block from which pod IP addresses will be assigned required
service_cidrstringThe CIDR block from which service IP addresses will be assigned required
local_storagestringThe directory in which to write out necessary files (k0sctl binary, k0sctl confi required
k0sctlobject({ version = strThe k0sctl configuration for this cluster. * version - The k0sctl version to us required
sshobject({ controller = objeThe SSH configuration used by k0sctl for node setup. An instance of the cluster- required
control_planeobject({ ip_addresses = liThe control plane configuration for the cluster. This should be either an instan required
namestringThe name of the k0s cluster; informational; used in proxmox resource names"default"
Outputs (2)
k0sctl_config — The generated k0sctl config file contents for this cluster
kube_config — The kubernetes config file context for this cluster
Resources (3)
local_filelocal_sensitive_filenull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.2
Cloud PROXMOX
Total downloads166
Inputs8
Outputs2
Resources3
Submodules4
Namespacejfklingler
Updated