Skip to content

Commit

Permalink
Update docs to allow webhooks to enabled by the helm controller
Browse files Browse the repository at this point in the history
  • Loading branch information
engedaam committed Aug 11, 2024
1 parent 713a03b commit 5140f62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/content/en/preview/upgrading/v1-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Please read through the entire procedure before beginning the upgrade. There are
```bash
export KARPENTER_NAMESPACE=kube-system
export KARPENTER_VERSION=1.0.0
export KARPENTER_IAM_ROLE_ARN="arn:${AWS_PARTITION}:iam::${AWS_ACCOUNT_ID}:role/${CLUSTER_NAME}-karpenter"
export AWS_PARTITION="aws" # if you are not using standard partitions, you may need to configure to aws-cn / aws-us-gov
export CLUSTER_NAME="${USER}-karpenter-demo"
export AWS_REGION="us-west-2"
Expand All @@ -72,7 +73,7 @@ Please read through the entire procedure before beginning the upgrade. There are

```bash
helm upgrade --install karpenter-crd oci://public.ecr.aws/karpenter/karpenter-crd --version "${KARPENTER_VERSION}" --namespace "${KARPENTER_NAMESPACE}" --create-namespace \
--set webhook.enabled=true \
--set webhook.enabled=false \
--set webhook.serviceName=karpenter \
--set webhook.serviceNamespace="${KARPENTER_NAMESPACE}" \
--set webhook.port=8443
Expand All @@ -82,6 +83,7 @@ Please read through the entire procedure before beginning the upgrade. There are

```bash
helm upgrade --install karpenter oci://public.ecr.aws/karpenter/karpenter --version ${KARPENTER_VERSION} --namespace "${KARPENTER_NAMESPACE}" --create-namespace \
--set serviceAccount.annotations."eks\.amazonaws\.com/role-arn"=${KARPENTER_IAM_ROLE_ARN} \
--set settings.clusterName=${CLUSTER_NAME} \
--set settings.interruptionQueue=${CLUSTER_NAME} \
--set controller.resources.requests.cpu=1 \
Expand Down Expand Up @@ -211,6 +213,7 @@ Since both v1beta1 and v1 will be served, `kubectl` will default to returning th
```bash
export KARPENTER_NAMESPACE="kube-system"
export KARPENTER_VERSION="<rollback version of karpenter>"
export KARPENTER_IAM_ROLE_ARN="arn:${AWS_PARTITION}:iam::${AWS_ACCOUNT_ID}:role/${CLUSTER_NAME}-karpenter"
export CLUSTER_NAME="<name of your cluster>"
export TEMPOUT="$(mktemp)"
```
Expand Down

0 comments on commit 5140f62

Please sign in to comment.