POC setup and deployment of a kubernetes cluster for use as a personal compute platform
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.

41 lines
1.1KB

  1. variable "name" {
  2. description = "A name for the Kubernetes cluster."
  3. }
  4. variable "k8s_version" {
  5. description = "The slug identifier for the version of Kubernetes used for the cluster."
  6. default = "1.14.4-do.0"
  7. }
  8. variable "region" {
  9. description = "The slug identifier for the region where the Kubernetes cluster will be created."
  10. default = "nyc1"
  11. }
  12. variable "tags" {
  13. description = "A list of tag names to be applied to the Kubernetes cluster."
  14. type = list(string)
  15. default = []
  16. }
  17. variable "node_count" {
  18. description = "The number of Droplet instances in the node pool."
  19. default = 3
  20. }
  21. variable "node_size" {
  22. description = "The slug identifier for the type of Droplet to be used as workers in the node pool."
  23. default = "s-2vcpu-2gb"
  24. }
  25. variable "node_tags" {
  26. description = "A list of tag names to be applied to the Kubernetes cluster nodes."
  27. type = list(string)
  28. default = []
  29. }
  30. variable "admin_user_name" {
  31. description = "The service account name in kube-system used for administrative purposes."
  32. default = "admin"
  33. }