private-agents
dcos-terraform/private-agents/gcp
Create DC/OS Private Agents instance and have conditional DC/OS Prereqs for gcp
 DC/OS Instances Creates DC/OS Private Agent intances Usage ``hcl module "pvtagts" { source = "dcos-terraform/instances/gcp" version = "~> 0.2.0" num_instance = "${var.instances_count}" disk_size = "${var.gcp_instances_disk_size}" disk_type = "${var.gcp_instances_disktype}" region = "${var.gcp_region}" machine_type = "${var.gcp_instances_gce_type}" cluster_name = "${var.cluster_name}" public_ssh_key = "${var.gcp_ssh_key}" instances_subnetwork_name = "${module.network.instances_subnetwork_name}" instances_targetpool_self_link = "${module.network.instances_targetpool_self_link}" customer_image = "${var.image}" region = "${var.gcp_region}" zon
| Name | Type | Description | Default |
|---|---|---|---|
| private_agent_subnetwork_name | string | Instance Subnetwork Name | required |
| ssh_user | string | SSH User | required |
| num_private_agents | string | Specify the amount of private agents. These agents will provide your main resour | required |
| cluster_name | string | Name of the DC/OS cluster | required |
| zone_list | list(string) | Element by zone list | required |
| public_ssh_key | string | SSH Public Key | required |
| name_prefix | string | Name Prefix | "" |
| machine_type | string | Instance Type | "n1-standard-2" |
| user_data | string | User data to be used on these instances (cloud-init) | "" |
| labels | map(string) | Add custom labels to all resources | {} |
| hostname_format | string | Format the hostname inputs are index+1, region, cluster_name | "%[3]s-privateagent%[1]d-%[2]s" |
| guest_accelerator_type | string | Type of guest accelerator | "nvidia-tesla-k80" |
| tags | list(string) | Add custom tags to all resources | [] |
| scheduling_preemptible | string | Deploy instance with preemptible scheduling | false |
| image | string | Source image to boot from | "" |
| disk_type | string | Disk Type to Leverage The GCE disk type. Can be either 'pd-ssd', 'local-ssd', or | "pd-ssd" |
| disk_size | string | Disk Size in GB | "120" |
| dcos_instance_os | string | Operating system to use. Instead of using your own AMI you could use a provided | "centos_7" |
| guest_accelerator_count | string | Count of guest accelerator type | 0 |
num_private_agents — Specify the amount of private agents. These agents will provide your main resourceszone_list — Element by zone listmachine_type — Instance Typeimage — Source image to boot frompublic_ips — List of public ip addresses created by this modulescheduling_preemptible — Deploy instance with preemptible schedulinginstances_self_link — List of instance self linksname_prefix — Name Prefixdisk_type — Disk Type to Leverage The GCE disk type. Can be either 'pd-ssd', 'local-ssd', or 'pd-standard'. (optdisk_size — Disk Size in GBpublic_ssh_key — SSH Public Keyprereq-id — Returns the ID of the prereq script (if user_data or ami are not used)private_agent_subnetwork_name — Instance Subnetwork Nameuser_data — User data to be used on these instances (cloud-init)os_user — The OS user to be usedprivate_ips — List of private ip addresses created by this moduledcos_instance_os — Operating system to use. Instead of using your own AMI you could use a provided OS.