Skip to content

Commit 891b388

Browse files
committed
chore: bump karpenter to v0.22.1
1 parent a8c0f20 commit 891b388

File tree

14 files changed

+554
-473
lines changed

14 files changed

+554
-473
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/upgrade-main.yml

Lines changed: 3 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/deps.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/tasks.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ const project = new awscdk.AwsCdkConstructLibrary({
1616
},
1717
compat: true,
1818
stability: 'experimental',
19-
cdkVersion: '2.54.0',
20-
workflowNodeVersion: '^18.12.1',
19+
cdkVersion: '2.60.0',
20+
workflowNodeVersion: '^18.13.0',
2121
autoApproveOptions: {
2222
allowedUsernames: ['cdk-karpenter-automation'],
2323
secret: 'GITHUB_TOKEN',
2424
},
25-
majorVersion: 3,
25+
majorVersion: 4,
2626
autoApproveProjenUpgrades: true,
2727
projenTokenSecret: 'PROJEN_GITHUB_TOKEN',
2828
autoApproveUpgrades: true,

API.md

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ More info about Karpenter at: https://karpenter.sh
88

99
Karpenter Best Practices: https://aws.github.io/aws-eks-best-practices/karpenter/
1010

11-
Karpenter version: v0.20.0
11+
Karpenter version: v0.22.1
1212

1313
Notes:
14-
- As of v0.16.0 changed the default replicas from 1 to 2. See: https://github.com/aws/karpenter/blob/main/website/content/en/v0.16.1/troubleshooting.md
14+
- Karpenter no longer supports Kubernetes v1.20, but now supports Kubernetes v1.25. This change is due to the v1 PDB API, which was introduced in K8s v1.20 and subsequent removal of the v1beta1 API in K8s v1.25.
1515
- Prior to v0.20.0, Karpenter would prioritize certain instance type categories absent of any requirements in the Provisioner. v0.20.0+ removes prioritizing these instance type categories (“m”, “c”, “r”, “a”, “t”, “i”) in code. Bare Metal and GPU instance types are still deprioritized and only used if no other instance types are compatible with the node requirements. This means that, now, you will need to explicitly define the instance types, sizes or categories you want to allow in your Provisioner; otherwise, it is possible that you receive more exotic instance types.
16+
- As of v0.16.0 changed the default replicas from 1 to 2. See: https://github.com/aws/karpenter/blob/main/website/content/en/v0.16.1/troubleshooting.md
1617

1718
## Showcase
1819

@@ -42,7 +43,7 @@ const karpenter = new Karpenter(stack, 'karpenter', {
4243
// default provisioner
4344
karpenter.addProvisioner('default');
4445
//Note: Default provisioner has no cpu/mem limits, nor will cleanup provisioned resources. Use with caution.
45-
// see: https://karpenter.sh/v0.20.0/provisioner/#node-deprovisioning
46+
// see: https://karpenter.sh/v0.22.1/concepts/deprovisioning/
4647

4748
// custom provisoner - kitchen sink
4849
karpenter.addProvisioner('custom', {
@@ -87,7 +88,6 @@ karpenter.addProvisioner('custom', {
8788
tags: {
8889
Foo: 'Bar',
8990
},
90-
launchTemplate: 'MyLaunchTemplate',
9191
blockDeviceMappings: [
9292
{
9393
deviceName: 'test',

package.json

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)