Documentation ¶
Index ¶
Constants ¶
View Source
const (
ResourceName = "tanzu-mission-control_cluster_node_pool"
)
Variables ¶
View Source
var NodePoolTkgAWS = &schema.Schema{ Type: schema.TypeList, Description: "TKGAWSNodepool is the nodepool spec for TKG AWS cluster", Optional: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ classKey: { Type: schema.TypeString, Description: "Nodepool instance type", Optional: true, }, storageClassKey: { Type: schema.TypeString, Description: "Storage Class to be used for storage of the disks which store the root filesystem of the nodes", Optional: true, }, }, }, }
View Source
var NodePoolTkgServiceVsphere = &schema.Schema{ Type: schema.TypeList, Description: "TKGServiceVsphereNodepool is the nodepool spec for TKG service vsphere cluster", Optional: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ classKey: { Type: schema.TypeString, Description: "Nodepool instance type", Required: true, ForceNew: true, }, storageClassKey: { Type: schema.TypeString, Description: "Storage Class to be used for storage of the disks which store the root filesystem of the nodes", Required: true, ForceNew: true, }, failureDomainKey: { Type: schema.TypeString, Description: "Configure the failure domain of node pool. The potential values could be found using cluster:options api. This parameter will be ignored by the backend if the TKG service vsphere cluster doesn't support.", Optional: true, Default: "", ForceNew: true, }, volumesKey: tkgServiceVolumes, }, }, }
View Source
var NodePoolTkgVsphere = &schema.Schema{ Type: schema.TypeList, Description: "TkgVsphereNodepool is the nodepool config for the TKG vsphere cluster", Optional: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ vmConfigKey: { Type: schema.TypeList, Description: "VM specific configuration", Required: true, MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ cpuKey: { Type: schema.TypeString, Description: "Number of CPUs per node", Optional: true, }, diskKey: { Type: schema.TypeString, Description: "Root disk size in gigabytes for the VM", Optional: true, }, memoryKey: { Type: schema.TypeString, Description: "Memory associated with the node in megabytes", Optional: true, }, }, }, }, }, }, }
Functions ¶
func ResourceNodePool ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.