kubernetes_node_pool

package
v0.1.42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsKubernetesNodeGroup

type AwsKubernetesNodeGroup struct {
	*common.AwsResource `hcl:",squash" default:"name=aws_eks_node_group"`
	ClusterName         string            `hcl:"cluster_name,expr"`
	NodeGroupName       string            `hcl:"node_group_name"`
	NodeRoleArn         string            `hcl:"node_role_arn,expr"`
	SubnetIds           []string          `hcl:"subnet_ids,expr"`
	ScalingConfig       ScalingConfig     `hcl:"scaling_config"`
	UpdateConfig        UpdateConfig      `hcl:"update_config" hcle:"omitempty"`
	Labels              map[string]string `hcl:"labels" hcle:"omitempty"`
	InstanceTypes       []string          `hcl:"instance_types"`
}

type AzureKubernetesNodePool

type AzureKubernetesNodePool struct {
	*common.AzResource     `hcl:",squash" default:"name=azurerm_kubernetes_cluster_node_pool"`
	ClusterId              string            `hcl:"kubernetes_cluster_id,expr"  hcle:"omitempty"`
	Name                   string            `hcl:"name,optional"  hcle:"omitempty"`
	NodeCount              int               `hcl:"node_count"`
	MaxSize                int               `hcl:"max_count"`
	MinSize                int               `hcl:"min_count"`
	Labels                 map[string]string `hcl:"node_labels" hcle:"omitempty"`
	EnableAutoScaling      bool              `hcl:"enable_auto_scaling"`
	VmSize                 string            `hcl:"vm_size"`
	VirtualNetworkSubnetId string            `hcl:"vnet_subnet_id,expr"`
}

type ScalingConfig

type ScalingConfig struct {
	DesiredSize int `hcl:"desired_size"`
	MaxSize     int `hcl:"max_size"`
	MinSize     int `hcl:"min_size"`
}

type UpdateConfig

type UpdateConfig struct {
	MaxUnavailable int `hcl:"max_unavailable"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL