You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.3 KiB

  1. # See: https://developers.upcloud.com/1.3/5-zones/
  2. zone = "fi-hel1"
  3. username = "ubuntu"
  4. inventory_file = "inventory.ini"
  5. # A valid domain name, e.g. host.example.com. The maximum length is 128 characters.
  6. hostname = "example.com"
  7. # Set the operating system using UUID or exact name
  8. template_name = "Ubuntu Server 20.04 LTS (Focal Fossa)"
  9. ssh_public_keys = [
  10. # Put your public SSH key here
  11. "ssh-rsa I-did-not-read-the-docs",
  12. "ssh-rsa I-did-not-read-the-docs 2",
  13. ]
  14. check list of available plan https://developers.upcloud.com/1.3/7-plans/
  15. machines = {
  16. "master-0" : {
  17. "node_type" : "master",
  18. #number of cpu cores
  19. "cpu" : "2",
  20. #memory size in MB
  21. "mem" : "4096"
  22. # The size of the storage in GB
  23. "disk_size" : 250
  24. },
  25. "worker-0" : {
  26. "node_type" : "worker",
  27. #number of cpu cores
  28. "cpu" : "2",
  29. #memory size in MB
  30. "mem" : "4096"
  31. # The size of the storage in GB
  32. "disk_size" : 250
  33. },
  34. "worker-1" : {
  35. "node_type" : "worker",
  36. #number of cpu cores
  37. "cpu" : "2",
  38. #memory size in MB
  39. "mem" : "4096"
  40. # The size of the storage in GB
  41. "disk_size" : 250
  42. },
  43. "worker-2" : {
  44. "node_type" : "worker",
  45. #number of cpu cores
  46. "cpu" : "2",
  47. #memory size in MB
  48. "mem" : "4096"
  49. # The size of the storage in GB
  50. "disk_size" : 250
  51. }
  52. }