karpenter_k8s_aws_v1

package
v0.0.0-...-6209148 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: 0BSD Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKarpenterK8SAwsEc2NodeClassV1Manifest

func NewKarpenterK8SAwsEc2NodeClassV1Manifest() datasource.DataSource

Types

type KarpenterK8SAwsEc2NodeClassV1Manifest

type KarpenterK8SAwsEc2NodeClassV1Manifest struct{}

func (*KarpenterK8SAwsEc2NodeClassV1Manifest) Metadata

func (*KarpenterK8SAwsEc2NodeClassV1Manifest) Read

func (*KarpenterK8SAwsEc2NodeClassV1Manifest) Schema

type KarpenterK8SAwsEc2NodeClassV1ManifestData

type KarpenterK8SAwsEc2NodeClassV1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		AmiFamily        *string `tfsdk:"ami_family" json:"amiFamily,omitempty"`
		AmiSelectorTerms *[]struct {
			Alias *string            `tfsdk:"alias" json:"alias,omitempty"`
			Id    *string            `tfsdk:"id" json:"id,omitempty"`
			Name  *string            `tfsdk:"name" json:"name,omitempty"`
			Owner *string            `tfsdk:"owner" json:"owner,omitempty"`
			Tags  *map[string]string `tfsdk:"tags" json:"tags,omitempty"`
		} `tfsdk:"ami_selector_terms" json:"amiSelectorTerms,omitempty"`
		AssociatePublicIPAddress *bool `tfsdk:"associate_public_ip_address" json:"associatePublicIPAddress,omitempty"`
		BlockDeviceMappings      *[]struct {
			DeviceName *string `tfsdk:"device_name" json:"deviceName,omitempty"`
			Ebs        *struct {
				DeleteOnTermination *bool   `tfsdk:"delete_on_termination" json:"deleteOnTermination,omitempty"`
				Encrypted           *bool   `tfsdk:"encrypted" json:"encrypted,omitempty"`
				Iops                *int64  `tfsdk:"iops" json:"iops,omitempty"`
				KmsKeyID            *string `tfsdk:"kms_key_id" json:"kmsKeyID,omitempty"`
				SnapshotID          *string `tfsdk:"snapshot_id" json:"snapshotID,omitempty"`
				Throughput          *int64  `tfsdk:"throughput" json:"throughput,omitempty"`
				VolumeSize          *string `tfsdk:"volume_size" json:"volumeSize,omitempty"`
				VolumeType          *string `tfsdk:"volume_type" json:"volumeType,omitempty"`
			} `tfsdk:"ebs" json:"ebs,omitempty"`
			RootVolume *bool `tfsdk:"root_volume" json:"rootVolume,omitempty"`
		} `tfsdk:"block_device_mappings" json:"blockDeviceMappings,omitempty"`
		Context             *string `tfsdk:"context" json:"context,omitempty"`
		DetailedMonitoring  *bool   `tfsdk:"detailed_monitoring" json:"detailedMonitoring,omitempty"`
		InstanceProfile     *string `tfsdk:"instance_profile" json:"instanceProfile,omitempty"`
		InstanceStorePolicy *string `tfsdk:"instance_store_policy" json:"instanceStorePolicy,omitempty"`
		Kubelet             *struct {
			ClusterDNS                  *[]string          `tfsdk:"cluster_dns" json:"clusterDNS,omitempty"`
			CpuCFSQuota                 *bool              `tfsdk:"cpu_cfs_quota" json:"cpuCFSQuota,omitempty"`
			EvictionHard                *map[string]string `tfsdk:"eviction_hard" json:"evictionHard,omitempty"`
			EvictionMaxPodGracePeriod   *int64             `tfsdk:"eviction_max_pod_grace_period" json:"evictionMaxPodGracePeriod,omitempty"`
			EvictionSoft                *map[string]string `tfsdk:"eviction_soft" json:"evictionSoft,omitempty"`
			EvictionSoftGracePeriod     *map[string]string `tfsdk:"eviction_soft_grace_period" json:"evictionSoftGracePeriod,omitempty"`
			ImageGCHighThresholdPercent *int64             `tfsdk:"image_gc_high_threshold_percent" json:"imageGCHighThresholdPercent,omitempty"`
			ImageGCLowThresholdPercent  *int64             `tfsdk:"image_gc_low_threshold_percent" json:"imageGCLowThresholdPercent,omitempty"`
			KubeReserved                *map[string]string `tfsdk:"kube_reserved" json:"kubeReserved,omitempty"`
			MaxPods                     *int64             `tfsdk:"max_pods" json:"maxPods,omitempty"`
			PodsPerCore                 *int64             `tfsdk:"pods_per_core" json:"podsPerCore,omitempty"`
			SystemReserved              *map[string]string `tfsdk:"system_reserved" json:"systemReserved,omitempty"`
		} `tfsdk:"kubelet" json:"kubelet,omitempty"`
		MetadataOptions *struct {
			HttpEndpoint            *string `tfsdk:"http_endpoint" json:"httpEndpoint,omitempty"`
			HttpProtocolIPv6        *string `tfsdk:"http_protocol_i_pv6" json:"httpProtocolIPv6,omitempty"`
			HttpPutResponseHopLimit *int64  `tfsdk:"http_put_response_hop_limit" json:"httpPutResponseHopLimit,omitempty"`
			HttpTokens              *string `tfsdk:"http_tokens" json:"httpTokens,omitempty"`
		} `tfsdk:"metadata_options" json:"metadataOptions,omitempty"`
		Role                       *string `tfsdk:"role" json:"role,omitempty"`
		SecurityGroupSelectorTerms *[]struct {
			Id   *string            `tfsdk:"id" json:"id,omitempty"`
			Name *string            `tfsdk:"name" json:"name,omitempty"`
			Tags *map[string]string `tfsdk:"tags" json:"tags,omitempty"`
		} `tfsdk:"security_group_selector_terms" json:"securityGroupSelectorTerms,omitempty"`
		SubnetSelectorTerms *[]struct {
			Id   *string            `tfsdk:"id" json:"id,omitempty"`
			Tags *map[string]string `tfsdk:"tags" json:"tags,omitempty"`
		} `tfsdk:"subnet_selector_terms" json:"subnetSelectorTerms,omitempty"`
		Tags     *map[string]string `tfsdk:"tags" json:"tags,omitempty"`
		UserData *string            `tfsdk:"user_data" json:"userData,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

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