SuperEks wraps eks.Cluster to include batteries.
import { SuperEks } from '@superluminar-io/super-eks'
new SuperEks(scope: Construct, id: string, props: SuperEksProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
SuperEksProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: SuperEksProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
nodeTaintUserdata |
Generates ec2.MultipartUserData to attach to a eks.Nodegroup ec2.LaunchTemplate so that the Nodes are getting tainted with the given NodeTaint . |
public toString(): string
Returns a string representation of this construct.
public nodeTaintUserdata(taint: NodeTaint): MultipartUserData
Generates ec2.MultipartUserData
to attach to a eks.Nodegroup
ec2.LaunchTemplate
so that the Nodes are getting tainted with the given NodeTaint
.
- Type: NodeTaint
the taint that should be applied to the Nodes.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { SuperEks } from '@superluminar-io/super-eks'
SuperEks.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
additionalNodegroups |
aws-cdk-lib.aws_eks.Nodegroup[] |
eks.Nodegroup s added to the cluster. |
cluster |
aws-cdk-lib.aws_eks.Cluster |
The created cluster. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly additionalNodegroups: Nodegroup[];
- Type: aws-cdk-lib.aws_eks.Nodegroup[]
- Default: An internal
eks.Nodegroup
will be created for super-eks related workloads
eks.Nodegroup
s added to the cluster.
public readonly cluster: Cluster;
- Type: aws-cdk-lib.aws_eks.Cluster
The created cluster.
Specific properties for EKS managed add-ons.
import { AddonProps } from '@superluminar-io/super-eks'
const addonProps: AddonProps = { ... }
Name | Type | Description |
---|---|---|
vpcCniAddonVersion |
VpcCniAddonVersion |
No description. |
public readonly vpcCniAddonVersion: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
Represents a Kubernetes taint.
See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
import { NodeTaint } from '@superluminar-io/super-eks'
const nodeTaint: NodeTaint = { ... }
Name | Type | Description |
---|---|---|
effect |
TaintEffect |
No description. |
key |
string |
No description. |
value |
string |
No description. |
public readonly effect: TaintEffect;
- Type: TaintEffect
public readonly key: string;
- Type: string
public readonly value: string;
- Type: string
Constructor properties for SuperEks.
Get merged with defaultSuperEksProps
.
import { SuperEksProps } from '@superluminar-io/super-eks'
const superEksProps: SuperEksProps = { ... }
Name | Type | Description |
---|---|---|
hostedZone |
aws-cdk-lib.aws_route53.IHostedZone |
A hosted zone for DNS management. |
addonProps |
AddonProps |
Specific properties for EKS managed add-ons. |
adminRoles |
aws-cdk-lib.aws_iam.IRole[] |
Additional Roles that should be granted cluster admin privileges. |
clusterProps |
aws-cdk-lib.aws_eks.ClusterProps |
Wrapper for all cluster props>. |
superEksNodegroupProps |
aws-cdk-lib.aws_eks.NodegroupOptions |
Config for the Nodegroup created to host SuperEks specific workloads. |
public readonly hostedZone: IHostedZone;
- Type: aws-cdk-lib.aws_route53.IHostedZone
A hosted zone for DNS management.
Records in this zone will be created for your workloads by 'external-dns'.
public readonly addonProps: AddonProps;
- Type: AddonProps
Specific properties for EKS managed add-ons.
public readonly adminRoles: IRole[];
- Type: aws-cdk-lib.aws_iam.IRole[]
Additional Roles that should be granted cluster admin privileges.
Can also be added manually after cluster creation by using cluster.awsAuth.addMastersRole(role)
.
public readonly clusterProps: ClusterProps;
- Type: aws-cdk-lib.aws_eks.ClusterProps
Wrapper for all cluster props>.
public readonly superEksNodegroupProps: NodegroupOptions;
- Type: aws-cdk-lib.aws_eks.NodegroupOptions
Config for the Nodegroup created to host SuperEks specific workloads.
If you override the launchTemplateSpec
you're responsible for adding the necessary userdata to taint the nodes,
see ../config/cluster#nodeTaintUserdata
vpc-cni add-on versions.
import { VpcCniAddonVersion } from '@superluminar-io/super-eks'
new VpcCniAddonVersion(version: string)
Name | Type | Description |
---|---|---|
version |
string |
add-on version. |
- Type: string
add-on version.
Name | Description |
---|---|
of |
Custom add-on version. |
import { VpcCniAddonVersion } from '@superluminar-io/super-eks'
VpcCniAddonVersion.of(version: string)
Custom add-on version.
- Type: string
custom add-on version.
Name | Type | Description |
---|---|---|
version |
string |
add-on version. |
public readonly version: string;
- Type: string
add-on version.
Name | Type | Description |
---|---|---|
V1_6_3 |
VpcCniAddonVersion |
vpc-cni version 1.6.3. |
V1_7_5 |
VpcCniAddonVersion |
vpc-cni version 1.7.5. |
V1_7_6 |
VpcCniAddonVersion |
vpc-cni version 1.7.6. |
V1_7_9 |
VpcCniAddonVersion |
vpc-cni version 1.7.9. |
public readonly V1_6_3: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.6.3.
public readonly V1_7_5: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.7.5.
public readonly V1_7_6: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.7.6.
public readonly V1_7_9: VpcCniAddonVersion;
- Type: VpcCniAddonVersion
vpc-cni version 1.7.9.
Represents a Kubernetes taint effect.
See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
Name | Description |
---|---|
NO_SCHEDULE |
No description. |
PREFER_NO_SCHEDULE |
No description. |
NO_EXECUTE |
No description. |