mirror of
https://github.com/jbowdre/vsphere-k8s.git
synced 2024-11-21 15:42:19 +00:00
Automating the deployment of vanilla Kubernetes clusters on vSphere with Packer and Terraform
packer | ||
terraform | ||
.gitignore | ||
LICENSE | ||
README.md |
Vanilla Kubernetes on VMware vSphere
Packer
cd packer
.- Copy
linux-server.example.pkrvars.hcl
tolinux-server.auto.pkrvars.hcl
and update it as appropriate for your environment. - Put the SSH private key which corresponds to the
build_key
variable inpacker_cache/ssh_private_key_packer.pem
. - Run it with
packer build -on-error=abort -force .
.
Terraform
cd terraform
.- Copy
terraform.example.tfvars
toterraform.auto.tfvars
and update it as appropriate for your environment. - Run it with
terraform apply
.