Skip to content

Example using Pulumi to create EKS cluster with AWS AutoScalingGroup using MixedInstancesPolicy

Notifications You must be signed in to change notification settings

kahkeng/pulumi-eks-mixed-asg-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Pulumi EKS with Autoscaling Group using Mixed Instances Policy

Motivation

Currently, EKS supports managed node groups, but these do not have support for spot instances. You could use the unmanaged node groups with Pulumi's EKS library, but these currently utilize a CloudFormation stack for AutoScalingGroup via Launch Configurations instead of Launch Templates, so it is not possible to get MixedInstancesPolicy to apply herek

This repo provides a minimal example for using Pulumi's AWS library to create an AutoScalingGroup with the MixedInstancesPolicy and integrating them with EKS.

The steps below are taken from https://github.com/pulumi/kubernetes-guides, but index.ts of step 3 (cluster configuration) has been modified to showcase the above example.

AWS
Identity
Managed Infrastructure
Cluster Configuration

About

Example using Pulumi to create EKS cluster with AWS AutoScalingGroup using MixedInstancesPolicy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published