Skip to content

Commit d80cb86

Browse files
authored
docs: upgrade guide (#9025)
1 parent 7efa451 commit d80cb86

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

website/content/en/preview/reference/cloudformation.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,3 +712,19 @@ These rules include:
712712
- Id: KarpenterInterruptionQueueTarget
713713
Arn: !GetAtt KarpenterInterruptionQueue.Arn
714714
```
715+
716+
* CapacityReservationInterruptionRule: An EC2 Capacity Reservation Interruption warning informs users that the capacity owner within an AWS Organization is reclaiming reserved capacity, triggering a notification for node reclamation. The [AWS::Events::Rule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html) here creates a rule to send events from the `aws.ec2` source to `KarpenterInterruptionQueue`.
717+
718+
```yaml
719+
CapacityReservationInterruptionRule:
720+
Type: 'AWS::Events::Rule'
721+
Properties:
722+
EventPattern:
723+
source:
724+
- aws.ec2
725+
detail-type:
726+
- EC2 Capacity Reservation Instance Interruption Warning
727+
Targets:
728+
- Id: KarpenterInterruptionQueueTarget
729+
Arn: !GetAtt KarpenterInterruptionQueue.Arn
730+
```

website/content/en/preview/upgrading/upgrade-guide.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,21 @@ If you get the error `invalid ownership metadata; label validation error:` while
8686
WHEN CREATING A NEW SECTION OF THE UPGRADE GUIDANCE FOR NEWER VERSIONS, ENSURE THAT YOU COPY THE BETA API ALERT SECTION FROM THE LAST RELEASE TO PROPERLY WARN USERS OF THE RISK OF UPGRADING WITHOUT GOING TO 0.32.x FIRST
8787
-->
8888

89+
### Upgrading to `1.10.0`+
90+
91+
{{% alert title="Warning" color="warning" %}}
92+
Karpenter `1.1.0` drops the support for `v1beta1` APIs.
93+
**Do not** upgrade to `1.1.0`+ without following the [Migration Guide]({{<ref "../../v1.0/upgrading/v1-migration.md#before-upgrading-to-v110">}}).
94+
{{% /alert %}}
95+
96+
* In the [getting started guide's cloudformation template]({{<ref "../../docs/reference/cloudformation/#rules">}}),
97+
there is an extra `detail-type` for EventBridge rules to capture Capacity Reservation Instance Interruption warnings.
98+
If you are using interruptible ODCRs, you will need to update your EventBridge rules to add this `detail-type`.
99+
100+
Full Changelog:
101+
* https://github.com/aws/karpenter-provider-aws/releases/tag/v1.10.0
102+
* https://github.com/kubernetes-sigs/karpenter/releases/tag/v1.10.0
103+
89104
### Upgrading to `1.9.0`+
90105

91106
{{% alert title="Warning" color="warning" %}}

0 commit comments

Comments
 (0)