Complete Kubeadm Example
The Terraform scripts use the module kubeadm to install and configure a Kubernetes cluster with Kubeadm.
First, you should have a list of barre metal ou virtual machines, and then you have to update values PUBLIC_DNS_HERE
, PRIVATE_DNS_HERE and TLS_PRIVATE_KEY_FILE_HERE in the file terraform.tfvars.
Requirements
Name |
Version |
|---|---|
>= 1.0 |
|
~> 3.2.1 |
|
~> 3.5.1 |
Providers
Name |
Version |
|---|---|
~> 3.2.1 |
|
~> 3.5.1 |
Modules
Name |
Source |
Version |
|---|---|---|
../../../kubeadm |
n/a |
Resources
Name |
Type |
|---|---|
resource |
|
resource |
|
resource |
Inputs
Name |
Description |
Type |
Default |
Required |
|---|---|---|---|---|
The master node to be deployed. |
object({ |
n/a |
yes |
|
user used to execute docker + kubernetes scripts. must be updated accordingly with the linux image used |
|
n/a |
yes |
|
The worker nodes to be deployed. |
map(object({ |
n/a |
yes |
Outputs
Name |
Description |
|---|---|
A sample command to display nodes of your cluster |
|
Use this export to begin to use your cluster |