kubernetes_node_pool

package
v0.1.52 Latest Latest
Warning

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

Go to latest
Published: Jul 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"`
	Zones                  []string          `hcl:"zones" hcle:"omitempty"`
}

type GoogleContainerNetworkConfig added in v0.1.52

type GoogleContainerNetworkConfig struct {
	CreatePodRange   bool   `hcl:"create_pod_range"`
	PodIpv4CidrBlock string `hcl:"pod_ipv4_cidr_block"`
}

type GoogleContainerNodeConfig added in v0.1.52

type GoogleContainerNodeConfig struct {
	DiskSizeGb  int               `hcl:"disk_size_gb" hcle:"omitempty"`
	DiskType    string            `hcl:"disk_type" hcle:"omitempty"`
	ImageType   string            `hcl:"image_type" hcle:"omitempty"`
	Labels      map[string]string `hcl:"labels" hcle:"omitempty"`
	MachineType string            `hcl:"machine_type"`
	Metadata    map[string]string `hcl:"metadata" hcle:"omitempty"`
	Tags        []string          `hcl:"tags" hcle:"omitempty"`

	ServiceAccount string   `hcl:"service_account,expr"`
	OAuthScopes    []string `hcl:"oauth_scopes"`
}

type GoogleContainerNodePool added in v0.1.52

type GoogleContainerNodePool struct {
	*common.GcpResource `hcl:",squash"  default:"name=google_container_node_pool"`
	Cluster             string                             `hcl:"cluster,expr"` //expr
	InitialNodeCount    int                                `hcl:"initial_node_count"`
	NodeLocations       []string                           `hcl:"node_locations" hcle:"omitempty"`
	Autoscaling         GoogleContainerNodePoolAutoScaling `hcl:"autoscaling"`
	NodeConfig          GoogleContainerNodeConfig          `hcl:"node_config"`
	NetworkConfig       GoogleContainerNetworkConfig       `hcl:"network_config" hcle:"omitempty"`
}

type GoogleContainerNodePoolAutoScaling added in v0.1.52

type GoogleContainerNodePoolAutoScaling struct {
	MinNodeCount int `hcl:"min_node_count"`
	MaxNodeCount int `hcl:"max_node_count"`
}

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