Skip to content

Latest commit

 

History

History
35 lines (33 loc) · 6.3 KB

inputs.md

File metadata and controls

35 lines (33 loc) · 6.3 KB

Inputs

Name Description Type Default Required
gcp_project GCP project ID string n/a yes
gcp_region GCP region string n/a yes
gcp_zone GCP zone string n/a yes
gke_cluster_name GKE Cluster name string n/a yes
kubernetes_config_path Path to the file of kubernetes credentials config string n/a yes
available_scopes Available GCP scopes of node pool for polyaxon list(string)
[
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring.write",
"https://www.googleapis.com/auth/pubsub",
"https://www.googleapis.com/auth/service.management.readonly",
"https://www.googleapis.com/auth/servicecontrol",
"https://www.googleapis.com/auth/trace.append",
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/devstorage.full_control",
"https://www.googleapis.com/auth/monitoring"
]
no
bucket_data Attributes of GCS bucket for polyaxon data
object({
storage_class = string # MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE
age = number
action_type = string # Delete or SetStorageClass
action_storage_class = string # MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE
force_destroy = bool
})
{
"action_storage_class": "NEARLINE",
"action_type": "SetStorageClass",
"age": 90,
"force_destroy": true,
"storage_class": "REGIONAL"
}
no
bucket_logs Attributes of GCS bucket for polyaxon logs
object({
storage_class = string # MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE
age = number
action_type = string # Delete or SetStorageClass
action_storage_class = string # MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE
force_destroy = bool
})
{
"action_storage_class": "NEARLINE",
"action_type": "SetStorageClass",
"age": 90,
"force_destroy": true,
"storage_class": "REGIONAL"
}
no
bucket_outputs Attributes of GCS bucket for polyaxon outputs
object({
storage_class = string # MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE
age = number
action_type = string # Delete or SetStorageClass
action_storage_class = string # MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE
force_destroy = bool
})
{
"action_storage_class": "NEARLINE",
"action_type": "SetStorageClass",
"age": 90,
"force_destroy": true,
"storage_class": "REGIONAL"
}
no
disk_size_gb_experiments disk_size_gb of a node for polyaxon experiments number 1024 no
disk_type_experiments disk_type of a node for polyaxon experiments ('pd-standard' or 'pd-ssd') string "pd-standard" no
filestore_core capacity_gb of the core Cloud Filestore
object({
capacity_gb = number
tier = string
})
{
"capacity_gb": 1024,
"tier": "STANDARD"
}
no
filestore_extras A list of extra Cloud Filestore
list(object({
capacity_gb = number
tier = string # STANDARD or PREMIUM
}))
[] no
install_polyaxon Flag to install polyaxon (it should be no, manual or auto) string "no" no
kubernetes_enabled Kubernetes bool false no
memorystore_enabled Flag to use Cloud MemoryStore bool false no
memorystore_size_gb Memory size of Cloud MemoryStore in GB number 3 no
polyaxon_builds_node_pool Node pool configuration for polyaxon builds
object({
min_node_count = number
max_node_count = number
machine_type = string
disk_size_gb = number
})
{
"disk_size_gb": 512,
"machine_type": "n1-standard-4",
"max_node_count": 3,
"min_node_count": 1
}
no
polyaxon_config_template_path Path to the template of polyaxon config string null no
polyaxon_core_node_pool Node pool configuration for polyaxon core
object({
min_node_count = number
max_node_count = number
machine_type = string
disk_size_gb = number
})
{
"disk_size_gb": 256,
"machine_type": "n1-standard-4",
"max_node_count": 5,
"min_node_count": 3
}
no
polyaxon_users A list of google account emails of polyaxon users list(string) [] no
polyaxon_version Polyaxon version string "0.6.1" no
preemptible_cpu_experiments_node_pools Regular CPU instance node pools for polyaxon experiments
list(object({
min_node_count = number
max_node_count = number
machine_type = string
}))
[] no
preemptible_gpu_experiments_node_pools A list of GPU node pool definitions for polyaxon experiments
list(object({
min_node_count = number
max_node_count = number
machine_type = string
guest_accelerator = object({
type = string
count = number
})
}))
[] no
private_network_name GCP private network name string "polyaxon-private-network" no
regular_cpu_experiments_node_pool Regular CPU instance node pools for polyaxon experiments
list(object({
min_node_count = number
max_node_count = number
machine_type = string
}))
[] no
regular_gpu_experiments_node_pools A list of GPU node pool definitions for polyaxon experiments
list(object({
min_node_count = number
max_node_count = number
machine_type = string
guest_accelerator = object({
type = string
count = number
})
}))
[] no
sql_disk_size_gb Cloud SQL disk size in GB number 256 no
sql_name Cloud SQL instance name for polyaxon string "polyaxon-postgres" no
sql_settings_tier Cloud SQL machine type string "db-custom-2-8192" no