hcloud

fogs/hcloud/k8s

Terraform Module HCL K8S

A simple project to spin your k8s cluster with terraform, kubeadm on hcloud

Install
module "hcloud" {
source = "fogs/hcloud/k8s"
version = "0.3.0"
}
plain text: /constructs/tfmod-fogs-hcloud-k8s/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Kubernetes on Hetzner Cloud This repository will help to setup an opionated Kubernetes Cluster with kubeadm on Hetzner Cloud. Usage `` $ git clone https://github.com/solidnerd/terraform-k8s-hcloud.git $ terraform init $ terraform apply ` Example ` $ terraform init $ terraform apply $ KUBECONFIG=secrets/admin.conf kubectl get nodes $ KUBECONFIG=secrets/admin.conf kubectl apply -f https://docs.projectcalico.org/v3.2/getting-started/kubernetes/installation/hosted/etcd.yaml $ KUBECONFIG=secrets/admin.conf kubectl apply -f https://docs.projectcalico.org/v3.2/getting-started/kubernetes/installation/rbac.yaml $ KUBECONFIG=secrets/admin.conf kubectl apply -f https://docs.projectcalico.org/v3.2/getting-started/kubernetes/installation/hosted/calico.yaml $ KUBECONFIG=secrets/admin.conf kube

Inputs (13)
NameTypeDescriptionDefault
hcloud_tokenstring required
master_countstring required
node_countstring required
core_dnsstringfalse
calico_enabledstringfalse
master_typestringFor more types have a look at https://www.hetzner.de/cloud"cx11"
node_imagestringPredefined Image that will be used to spin up the machines (Currently supported:"ubuntu-16.04"
node_typestringFor more types have a look at https://www.hetzner.de/cloud"cx11"
docker_versionstring"18.06"
master_imagestringPredefined Image that will be used to spin up the machines (Currently supported:"ubuntu-16.04"
ssh_private_keystringPrivate Key to access the machines"~/.ssh/id_ed25519"
ssh_public_keystringPublic Key to authorized the access for the machines"~/.ssh/id_ed25519.pub"
kubernetes_versionstring"1.12.2"
Outputs (2)
node_ips
master_ips
Resources (3)
hcloud_serverhcloud_ssh_keynull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version0.3.0
Cloud K8S
★ Stars0
Forks2
Total downloads799
Inputs13
Outputs2
Resources3
LicenseMIT
Namespacefogs
Updated