docs: Add documentation for docker-cluster module

This commit is contained in:
2025-08-03 15:40:55 +02:00
parent 90de6441d6
commit b91eaed4b2
2 changed files with 42 additions and 3 deletions
+13 -3
View File
@@ -1,6 +1,16 @@
# Terraform
This repo contains the representation of all infrastructure on Hetzner, including domains from Inwx.
This repo contains the representation of all infrastructure on Hetzner.
It contains modules for a domain and a k8s cluster with MicroK8s on Hetzner. The k8s-cluster module supports
single and multi-node MicroK8s clusters. So far single node cluster have been successfully created.
## Modules
It contains modules for a domain (not really working), a k8s cluster with MicroK8s on Hetzner, and a Docker swarm cluster.
The k8s-cluster module supports single and multi-node MicroK8s clusters. So far, a single node cluster has been successfully created.
More information about the Docker cluster module can be found [here](docs/docker-cluster.md).
## Technical notes
The element function is used not by accident. It allows iterating over a list multiple times with an index higher than
the length of the list. IDEs may suggest using index access instead, but this will not work.