Skip to content

Latest commit

 

History

History

k8s-setup-new

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Terraform Equinix Labs Kubernetes Setup Example

This is an example of how to utilize the root module to deploy the invite-from-csv module and the k8s module. In this example, each user identified in the users.csv file (see users.csv.example) will have a project provisioned and an invitation sent by email to join that project. Kubernetes will then be provisioned into each user's project with the configurations set within the variables.tf file.

Requirements

Name Version
terraform >= 1.3
equinix >= 1.10.0

Providers

No providers.

Modules

Name Source Version
deploy_k8s ../../ n/a
workshop_setup ../../ n/a

Resources

No resources.

Inputs

Name Description Type Default Required
metal_auth_token Equinix Metal user api token. string n/a yes
metal_organization_id Equinix Metal organization id string n/a yes
enable_k8s Enable EKSA module bool true no
enable_workshop_setup Enable Workshop Setup module bool true no
k8s_config Module configuration for k8s module
object({
kube_vip_version = string
kubernetes_version = string
ssh_private_key_path = string
cp_ha = bool
worker_host_count = number
})
{
"cp_ha": true,
"kube_vip_version": "v0.6.2",
"kubernetes_version": "v1.27.5",
"ssh_private_key_path": "",
"worker_host_count": 1
}
no

Outputs

Name Description
deploy_k8s_outputs Outputs of the Deploy k8s module
workshop_setup_outputs Outputs of the Workshop Setup module