Skip to content

Commit

Permalink
remove default provisioner
Browse files Browse the repository at this point in the history
  • Loading branch information
bwagner5 committed Nov 26, 2021
1 parent 909b116 commit fd61735
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 49 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WITH_RELEASE_REPO = KO_DOCKER_REPO=$(RELEASE_REPO)
## Extra helm options
CLUSTER_NAME ?= $(shell kubectl config view --minify -o jsonpath='{.clusters[].name}' | rev | cut -d"/" -f1 | rev)
CLUSTER_ENDPOINT ?= $(shell kubectl config view --minify -o jsonpath='{.clusters[].cluster.server}')
HELM_OPTS ?= --set defaultProvisioner.create=false --set controller.clusterName=${CLUSTER_NAME} --set controller.clusterEndpoint=${CLUSTER_ENDPOINT}
HELM_OPTS ?= --set controller.clusterName=${CLUSTER_NAME} --set controller.clusterEndpoint=${CLUSTER_ENDPOINT}

help: ## Display help
@awk 'BEGIN {FS = ":.*##"; printf "Usage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
Expand Down
36 changes: 0 additions & 36 deletions charts/karpenter/templates/default_provisioner.yaml

This file was deleted.

12 changes: 1 addition & 11 deletions charts/karpenter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,4 @@ webhook:
tolerations: []
affinity: {}
image: "public.ecr.aws/karpenter/webhook:v0.4.3@sha256:576628e37932715cdef2d5bc4bc641a255803b81a2ffb104d674f9f996b10936"
defaultProvisioner:
create: true
ttlSecondsAfterEmpty: 300
#ttlSecondsUntilExpired: 86400
provider: {}
requirements: []
taints: []
labels: {}
limits:
resources:
cpu: 1000

1 change: 0 additions & 1 deletion website/content/en/pre-docs/getting-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ helm upgrade --install karpenter karpenter/karpenter --namespace karpenter \
--create-namespace --set serviceAccount.create=false --version 0.4.3 \
--set controller.clusterName=${CLUSTER_NAME} \
--set controller.clusterEndpoint=$(aws eks describe-cluster --name ${CLUSTER_NAME} --query "cluster.endpoint" --output json) \
--set defaultProvisioner.create=false \
--wait # for the defaulting webhook to install before creating a Provisioner
```

Expand Down

0 comments on commit fd61735

Please sign in to comment.