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
We use EKS Fargate Profile for Karpenter because It is recommended to run Karpenter on an EKS Fargate Profile.
146
129
147
130
```text
148
-
Karpenter is installed using a Helm chart. The Helm chart installs the Karpenter controller and
149
-
a webhook pod as a Deployment that needs to run before the controller can be used for scaling your cluster.
150
-
We recommend a minimum of one small node group with at least one worker node.
131
+
Karpenter is installed using a Helm chart. The Helm chart installs the Karpenter controller and
132
+
a webhook pod as a Deployment that needs to run before the controller can be used for scaling your cluster.
133
+
We recommend a minimum of one small node group with at least one worker node.
151
134
152
135
As an alternative, you can run these pods on EKS Fargate by creating a Fargate profile for the
153
-
karpenter namespace. Doing so will cause all pods deployed into this namespace to run on EKS Fargate.
136
+
karpenter namespace. Doing so will cause all pods deployed into this namespace to run on EKS Fargate.
154
137
Do not run Karpenter on a node that is managed by Karpenter.
155
138
```
156
139
157
140
See [Run Karpenter Controller on EKS Fargate](https://aws.github.io/aws-eks-best-practices/karpenter/#run-the-karpenter-controller-on-eks-fargate-or-on-a-worker-node-that-belongs-to-a-node-group)
158
141
for more details.
159
142
160
-
We provision IAM Role for Nodes launched by Karpenter because they must run with an Instance Profile that grants
143
+
We provision IAM Role for Nodes launched by Karpenter because they must run with an Instance Profile that grants
161
144
permissions necessary to run containers and configure networking.
162
145
163
146
We define the IAM role for the Instance Profile in `components/terraform/eks/cluster/karpenter.tf`.
164
147
165
148
Note that we provision the EC2 Instance Profile for the Karpenter IAM role in the `components/terraform/eks/karpenter` component (see the next step).
166
149
167
-
Run the following commands to provision the EKS Fargate Profile for Karpenter and the IAM role for instances launched by Karpenter
150
+
Run the following commands to provision the EKS Fargate Profile for Karpenter and the IAM role for instances launched by Karpenter
168
151
on the blue EKS cluster and add the role ARNs to the `aws-auth` ConfigMap:
In this step, we provision the `components/terraform/eks/karpenter-provisioner` component, which deploys Karpenter [Provisioners](https://karpenter.sh/v0.10.1/aws/provisioning)
193
+
In this step, we provision the `components/terraform/eks/karpenter-provisioner` component, which deploys Karpenter [Provisioners](https://karpenter.sh/v0.18.0/aws/provisioning)
211
194
using the `kubernetes_manifest` resource.
212
195
213
-
__NOTE:__ We deploy the provisioners in a separate step as a separate component since it uses `kind: Provisioner` CRD which itself is created by
196
+
__NOTE:__ We deploy the provisioners in a separate step as a separate component since it uses `kind: Provisioner` CRD which itself is created by
214
197
the `karpenter` component in the previous step.
215
198
216
199
Run the following commands to deploy the Karpenter provisioners on the blue EKS cluster:
@@ -238,7 +221,7 @@ You can override the default values from the `eks/karpenter-provisioner` base co
238
221
239
222
For your cluster, you will need to review the following configurations for the Karpenter provisioners and update it according to your requirements:
0 commit comments