You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EventBridge is an Event Bus service within AWS that allows users to set rules on events to capture and then target destinations for those events. Relevant targets for Spot interruption notifications include SQS, Lambda, and EC2-Terminate-Instance.
48
50
49
51
```
50
-
`# Example spot interruption notification EventBridge rule`
@@ -113,17 +115,17 @@ SQS exposes a VPC Endpoint which will fulfill the isolated VPC use-case.
113
115
Dynamically creating the SQS infrastructure and EventBridge rules means that Karpenter’s IAM role would need permissions to SQS and EventBridge:
114
116
115
117
```
116
-
`"sqs:GetQueueUrl",`
117
-
`"sqs:ListQueues"``,`
118
-
`"sqs:ReceiveMessage"``,`
119
-
`"sqs:CreateQueue"``,`
120
-
`"sqs:DeleteMessage"``,`
121
-
`"events:ListRules",`
122
-
"`events:DescribeRule`",
123
-
"events:PutRule",
118
+
"sqs:GetQueueUrl",
119
+
"sqs:ListQueues",
120
+
"sqs:ReceiveMessage",
121
+
"sqs:CreateQueue",
122
+
"sqs:DeleteMessage",
123
+
"events:ListRules",
124
+
"events:DescribeRule",
125
+
"events:PutRule",
124
126
"events:PutTargets",
125
-
"`events:DeleteRule`",
126
-
`"events:RemoveTargets"`
127
+
"events:DeleteRule",
128
+
"events:RemoveTargets"
127
129
```
128
130
129
131
The policy can be setup with a predefined name based on the cluster name. For example, `karpenter-events-${CLUSTER_NAME}` which would allow for a more constrained resource policy.
0 commit comments