Skip to content

Latest commit

 

History

History
88 lines (60 loc) · 2.48 KB

kubernetes.md

File metadata and controls

88 lines (60 loc) · 2.48 KB
page_title subcategory description
grid_kubernetes Resource - terraform-provider-grid
Kubernetes resource.

grid_kubernetes (Resource)

Kubernetes resource.

Schema

Required

  • master (Block List, Min: 1, Max: 1) (see below for nested schema)
  • nodes_ip_range (Map of String) Network IP ranges of nodes in the cluster (usually assigned from grid_network..nodes_ip_range)
  • token (String) The cluster secret token

Optional

  • network_name (String) The network name to deploy the cluster on
  • ssh_key (String) SSH key to access the cluster nodes
  • workers (Block List) (see below for nested schema)

Read-Only

  • id (String) The ID of this resource.
  • node_deployment_id (Map of Number) Mapping from each node to its deployment id

Nested Schema for master

Required:

  • cpu (Number) Number of VCPUs
  • disk_size (Number) Data disk size in GBs
  • memory (Number) Memory size
  • name (String) Master name
  • node (Number) Node ID

Optional:

  • flist (String)
  • flist_checksum (String) if present, the flist is rejected if it has a different hash. the flist hash can be found by append
  • planetary (Boolean) Enable Yggdrasil allocation
  • publicip (Boolean) true to enable public ip reservation
  • publicip6 (Boolean) true to enable public ipv6 reservation

Read-Only:

  • computedip (String) The reserved public IP
  • computedip6 (String) The reserved public IPv6
  • ip (String) The private IP (computed from nodes_ip_range)
  • ygg_ip (String) Allocated Yggdrasil IP

Nested Schema for workers

Required:

  • cpu (Number) Number of VCPUs
  • disk_size (Number) Data disk size in GBs
  • memory (Number) Memory size
  • name (String)
  • node (Number) Node ID

Optional:

  • flist (String)
  • flist_checksum (String) if present, the flist is rejected if it has a different hash. the flist hash can be found by append
  • planetary (Boolean) Enable Yggdrasil allocation
  • publicip (Boolean) true to enable public ip reservation
  • publicip6 (Boolean) true to enable public ipv6 reservation

Read-Only:

  • computedip (String) The reserved public ip
  • computedip6 (String) The reserved public ipv6
  • ip (String) The private IP (computed from nodes_ip_range)
  • ygg_ip (String) Allocated Yggdrasil IP