kubevela.github.io/docs/end-user/components/cloud-services/terraform/gcp-private-agents.md

44 lines
2.1 KiB
Markdown

---
title: Gcp-Private-Agents
---
## Description
Create DC/OS Private Agents instance and have conditional DC/OS Prereqs for gcp
## Specification
### Properties
Name | Description | Type | Required | Default
------------ | ------------- | ------------- | ------------- | -------------
cluster_name | Name of the DC/OS cluster | | true |
dcos_instance_os | Operating system to use. Instead of using your own AMI you could use a provided OS. | | false |
disk_size | Disk Size in GB | | false |
disk_type | Disk Type to Leverage The GCE disk type. Can be either 'pd-ssd', 'local-ssd', or 'pd-standard'. (optional) | | false |
guest_accelerator_count | Count of guest accelerator type | | false |
guest_accelerator_type | Type of guest accelerator | | false |
hostname_format | Format the hostname inputs are index+1, region, cluster_name | | false |
image | Source image to boot from | | false |
labels | Add custom labels to all resources | map | false |
machine_type | Instance Type | | false |
name_prefix | Name Prefix | | false |
num_private_agents | Specify the amount of private agents. These agents will provide your main resources | | true |
private_agent_subnetwork_name | Instance Subnetwork Name | | true |
public_ssh_key | SSH Public Key | | true |
scheduling_preemptible | Deploy instance with preemptible scheduling | | false |
ssh_user | SSH User | | true |
tags | Add custom tags to all resources | list | false |
user_data | User data to be used on these instances (cloud-init) | | false |
writeConnectionSecretToRef | The secret which the cloud resource connection will be written to | [writeConnectionSecretToRef](#writeConnectionSecretToRef) | false |
zone_list | Element by zone list | list | true |
#### writeConnectionSecretToRef
Name | Description | Type | Required | Default
------------ | ------------- | ------------- | ------------- | -------------
name | The secret name which the cloud resource connection will be written to | string | true |
namespace | The secret namespace which the cloud resource connection will be written to | string | false |