kubernetes_node_pool

package
v0.1.57 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 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" json:"cluster_name"`
	NodeGroupName       string            `hcl:"node_group_name" json:"node_group_name"`
	NodeRoleArn         string            `hcl:"node_role_arn,expr" json:"node_role_arn"`
	SubnetIds           []string          `hcl:"subnet_ids,expr" json:"subnet_ids"`
	ScalingConfig       []ScalingConfig   `hcl:"scaling_config,blocks" json:"scaling_config"`
	UpdateConfig        []UpdateConfig    `hcl:"update_config,blocks" hcle:"omitempty" json:"update_config"`
	Labels              map[string]string `hcl:"labels" hcle:"omitempty" json:"labels"`
	InstanceTypes       []string          `hcl:"instance_types" json:"instance_types"`
	DiskSize            int               `hcl:"disk_size" hcle:"omitempty"  json:"disk_size"`

	Arn string `json:"arn" hcle:"omitempty" json:"arn"`
}

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" json:"kubernetes_cluster_id"`
	Name                   string            `hcl:"name,optional"  hcle:"omitempty" json:"name"`
	NodeCount              int               `hcl:"node_count" json:"node_count"`
	MaxSize                int               `hcl:"max_count" json:"max_count"`
	MinSize                int               `hcl:"min_count" json:"min_count"`
	Labels                 map[string]string `hcl:"node_labels" hcle:"omitempty" json:"node_labels"`
	EnableAutoScaling      bool              `hcl:"enable_auto_scaling" json:"enable_auto_scaling"`
	VmSize                 string            `hcl:"vm_size" json:"vm_size"`
	VirtualNetworkSubnetId string            `hcl:"vnet_subnet_id,expr" json:"vnet_subnet_id"`
	Zones                  []string          `hcl:"zones" hcle:"omitempty" json:"zones"`
	OsDiskSizeGb           int               `hcl:"os_disk_size_gb" hcle:"omitempty" json:"os_disk_size_gb" `
}

type GoogleContainerNetworkConfig added in v0.1.52

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

type GoogleContainerNodeConfig added in v0.1.52

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

	ServiceAccount string   `hcl:"service_account,expr" json:"service_account"`
	OAuthScopes    []string `hcl:"oauth_scopes" json:"o_auth_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" json:"cluster"` //expr
	InitialNodeCount    int                                  `hcl:"initial_node_count" json:"initial_node_count"`
	NodeLocations       []string                             `hcl:"node_locations" hcle:"omitempty" json:"node_locations"`
	Autoscaling         []GoogleContainerNodePoolAutoScaling `hcl:"autoscaling,blocks" json:"autoscaling"`
	NodeConfig          []GoogleContainerNodeConfig          `hcl:"node_config,blocks" json:"node_config"`
	NetworkConfig       []GoogleContainerNetworkConfig       `hcl:"network_config,blocks" hcle:"omitempty" json:"network_config"`
}

type GoogleContainerNodePoolAutoScaling added in v0.1.52

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

type ScalingConfig

type ScalingConfig struct {
	DesiredSize int `hcl:"desired_size" json:"desired_size"`
	MaxSize     int `hcl:"max_size" json:"max_size"`
	MinSize     int `hcl:"min_size" json:"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