@lbrlabs/pulumi-eks
Version:
This repo provides a [multi-language](https://www.pulumi.com/blog/pulumiup-pulumi-packages-multi-language-components/) component that creates a "batteries included" cluster ready for you to attach your EKS nodes to.
77 lines (76 loc) • 2.64 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as pulumiKubernetes from "@pulumi/kubernetes";
export declare class AutoscaledNodeGroup extends pulumi.ComponentResource {
/**
* Returns true if the given object is an instance of AutoscaledNodeGroup. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is AutoscaledNodeGroup;
/**
* Create a AutoscaledNodeGroup resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: AutoscaledNodeGroupArgs, opts?: pulumi.ComponentResourceOptions);
}
/**
* The set of arguments for constructing a AutoscaledNodeGroup resource.
*/
export interface AutoscaledNodeGroupArgs {
/**
* AMI family for the node group.
*/
amiFamily?: pulumi.Input<string>;
/**
* AMI ID for the node group.
*/
amiId?: pulumi.Input<string>;
/**
* Annotations to apply to the node group.
*/
annotations?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Disk size for the node group.
*/
diskSize: pulumi.Input<string>;
disruption?: pulumi.Input<inputs.DisruptionConfigArgs>;
/**
* Key-value map of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument. Other Kubernetes labels applied to the EKS Node Group will not be managed.
*/
labels?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Karpenter NodePool API version.
*/
nodeClassApiVersion?: pulumi.Input<string>;
/**
* Karpenter NodePool API version.
*/
nodePoolApiVersion?: pulumi.Input<string>;
/**
* Node role for the node group.
*/
nodeRole: pulumi.Input<string>;
/**
* List of requirements for the node group.
*/
requirements: pulumi.Input<pulumi.Input<inputs.RequirementArgs>[]>;
/**
* List of security group selector terms for the node group.
*/
securityGroupIds: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of subnet selector terms for the node group.
*/
subnetIds: pulumi.Input<pulumi.Input<string>[]>;
/**
* Optional node taints.
*/
taints?: pulumi.Input<pulumi.Input<pulumiKubernetes.types.input.core.v1.Taint>[]>;
}