hcloud
fogs/hcloud/k8s
A simple project to spin your k8s cluster with terraform, kubeadm on hcloud
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
| Name | Type | Description | Default |
|---|---|---|---|
| hcloud_token | string | required | |
| master_count | string | required | |
| node_count | string | required | |
| core_dns | string | false | |
| calico_enabled | string | false | |
| master_type | string | For more types have a look at https://www.hetzner.de/cloud | "cx11" |
| node_image | string | Predefined Image that will be used to spin up the machines (Currently supported: | "ubuntu-16.04" |
| node_type | string | For more types have a look at https://www.hetzner.de/cloud | "cx11" |
| docker_version | string | "18.06" | |
| master_image | string | Predefined Image that will be used to spin up the machines (Currently supported: | "ubuntu-16.04" |
| ssh_private_key | string | Private Key to access the machines | "~/.ssh/id_ed25519" |
| ssh_public_key | string | Public Key to authorized the access for the machines | "~/.ssh/id_ed25519.pub" |
| kubernetes_version | string | "1.12.2" |
node_ipsmaster_ips