- install proxmox and setup requirement for terraform.
- create init-cloud image using this guide and install this before capturing.
- clone repo and create new terraform.tfvars and enter the following info:
proxmox_user
= proxmox username created in step 1proxmox_password
= proxmox password created in step 1ssh_key_path
= ssh key location for ansible to manage created VMs.
- in
variables.tf
change values - in
main.tf
enter the correct ip range (@ipconfig0 section) - in ansible folder:
- if you setup NFS share uncomment the corresponding line in
all_pre.yml
andSC-openEBS.yml
- for use of load balancer in k8s uncomment the
MetalLB.sh
and change the values in thecidr_block line
andingress
lines
- if you setup NFS share uncomment the corresponding line in
terraform init
>terraform plan
>terraform apply
.
-
Notifications
You must be signed in to change notification settings - Fork 0
HadadAvsha/k8s-with-Ansible-Terraform
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published