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.

106 lines
1.7 KiB

  1. variable "cluster_name" {
  2. default = "example"
  3. }
  4. variable "number_of_k8s_masters" {
  5. default = 2
  6. }
  7. variable "number_of_k8s_masters_no_etcd" {
  8. default = 2
  9. }
  10. variable "number_of_etcd" {
  11. default = 2
  12. }
  13. variable "number_of_k8s_masters_no_floating_ip" {
  14. default = 2
  15. }
  16. variable "number_of_k8s_masters_no_floating_ip_no_etcd" {
  17. default = 2
  18. }
  19. variable "number_of_k8s_nodes" {
  20. default = 1
  21. }
  22. variable "number_of_k8s_nodes_no_floating_ip" {
  23. default = 1
  24. }
  25. variable "number_of_gfs_nodes_no_floating_ip" {
  26. default = 0
  27. }
  28. variable "gfs_volume_size_in_gb" {
  29. default = 75
  30. }
  31. variable "public_key_path" {
  32. description = "The path of the ssh pub key"
  33. default = "~/.ssh/id_rsa.pub"
  34. }
  35. variable "image" {
  36. description = "the image to use"
  37. default = "ubuntu-14.04"
  38. }
  39. variable "image_gfs" {
  40. description = "Glance image to use for GlusterFS"
  41. default = "ubuntu-16.04"
  42. }
  43. variable "ssh_user" {
  44. description = "used to fill out tags for ansible inventory"
  45. default = "ubuntu"
  46. }
  47. variable "ssh_user_gfs" {
  48. description = "used to fill out tags for ansible inventory"
  49. default = "ubuntu"
  50. }
  51. variable "flavor_k8s_master" {
  52. default = 3
  53. }
  54. variable "flavor_k8s_node" {
  55. default = 3
  56. }
  57. variable "flavor_etcd" {
  58. default = 3
  59. }
  60. variable "flavor_gfs_node" {
  61. default = 3
  62. }
  63. variable "network_name" {
  64. description = "name of the internal network to use"
  65. default = "internal"
  66. }
  67. variable "floatingip_pool" {
  68. description = "name of the floating ip pool to use"
  69. default = "external"
  70. }
  71. variable "username" {
  72. description = "Your openstack username"
  73. }
  74. variable "password" {
  75. description = "Your openstack password"
  76. }
  77. variable "tenant" {
  78. description = "Your openstack tenant/project"
  79. }
  80. variable "auth_url" {
  81. description = "Your openstack auth URL"
  82. }