k0s
jfklingler/k0s/proxmox
A collection of modules for building and managing k0s kubernetes clusters on the Proxmox hypervisor.
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
| Name | Type | Description | Default |
|---|---|---|---|
| worker_pools | list(object({ ip_addresses | The worker pool configurations for the cluster. These should be instances of the | required |
| pod_cidr | string | The CIDR block from which pod IP addresses will be assigned | required |
| service_cidr | string | The CIDR block from which service IP addresses will be assigned | required |
| local_storage | string | The directory in which to write out necessary files (k0sctl binary, k0sctl confi | required |
| k0sctl | object({ version = str | The k0sctl configuration for this cluster. * version - The k0sctl version to us | required |
| ssh | object({ controller = obje | The SSH configuration used by k0sctl for node setup. An instance of the cluster- | required |
| control_plane | object({ ip_addresses = li | The control plane configuration for the cluster. This should be either an instan | required |
| name | string | The name of the k0s cluster; informational; used in proxmox resource names | "default" |
k0sctl_config — The generated k0sctl config file contents for this clusterkube_config — The kubernetes config file context for this cluster