Skip to content

Commit

Permalink
add command to configure local kubectl after creating an EKS cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
spring1843 committed Feb 15, 2022
1 parent dbc52ba commit 310072e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/content/en/preview/getting-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ eksctl create cluster -f cluster.yaml
export CLUSTER_ENDPOINT="$(aws eks describe-cluster --name ${CLUSTER_NAME} --query "cluster.endpoint" --output text)"
```

You can add the details of the newly created EKS cluster to your local kubectl as a new context by running:
```bash
aws eks update-kubeconfig --region ${AWS_DEFAULT_REGION} --name ${CLUSTER_NAME}
```

This guide uses a managed node group to host Karpenter.

Karpenter itself can run anywhere, including on [self-managed node groups](https://docs.aws.amazon.com/eks/latest/userguide/worker.html), [managed node groups](https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html), or [AWS Fargate](https://aws.amazon.com/fargate/).
Expand Down

0 comments on commit 310072e

Please sign in to comment.