Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws/karpenter-provider-aws
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.16.1
Choose a base ref
...
head repository: aws/karpenter-provider-aws
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.16.2
Choose a head ref
Loading
Showing with 24,628 additions and 1,574 deletions.
  1. +0 −26 .github/ISSUE_TEMPLATE/bug.md
  2. +68 −0 .github/ISSUE_TEMPLATE/bug.yaml
  3. +0 −27 .github/ISSUE_TEMPLATE/docs-request.md
  4. +36 −0 .github/ISSUE_TEMPLATE/docs-request.yaml
  5. +0 −33 .github/ISSUE_TEMPLATE/request.md
  6. +59 −0 .github/ISSUE_TEMPLATE/request.yaml
  7. +4 −3 .github/workflows/ci.yaml
  8. +1 −1 .github/workflows/codeql-analysis.yml
  9. +4 −3 .github/workflows/deflake.yml
  10. +1 −1 .github/workflows/nightly.yaml
  11. +1 −1 .github/workflows/release.yaml
  12. +4 −3 .github/workflows/snapshots.yaml
  13. +1 −1 ADOPTERS.md
  14. +5 −1 Makefile
  15. +1 −0 README.md
  16. +83 −62 charts/index.yaml
  17. BIN charts/karpenter-0.16.2.tgz
  18. +2 −2 charts/karpenter/Chart.yaml
  19. +6 −6 charts/karpenter/README.md
  20. +25 −0 charts/karpenter/crds/karpenter.sh_provisioners.yaml
  21. +1 −1 charts/karpenter/templates/clusterrole.yaml
  22. +2 −2 charts/karpenter/values.yaml
  23. +45 −36 go.mod
  24. +183 −251 go.sum
  25. +6 −4 hack/code/prices_gen.go
  26. +1 −2 hack/docs/configuration_gen_docs.go
  27. +1 −2 hack/docs/instancetypes_gen_docs.go
  28. +1 −2 hack/docs/metrics_gen_docs.go
  29. +31 −0 hack/release.sh
  30. +1 −0 hack/toolchain.sh
  31. +14 −0 pkg/apis/provisioning/v1alpha5/provisioner.go
  32. +89 −0 pkg/apis/provisioning/v1alpha5/provisioner_validation.go
  33. +64 −0 pkg/apis/provisioning/v1alpha5/suite_test.go
  34. +19 −0 pkg/apis/provisioning/v1alpha5/zz_generated.deepcopy.go
  35. +4 −0 pkg/cloudprovider/aws/amifamily/al2.go
  36. +1 −1 pkg/cloudprovider/aws/amifamily/ami.go
  37. +2 −0 pkg/cloudprovider/aws/amifamily/bootstrap/bottlerocket.go
  38. +38 −3 pkg/cloudprovider/aws/amifamily/bootstrap/eksbootstrap.go
  39. +9 −0 pkg/cloudprovider/aws/amifamily/bottlerocket.go
  40. +4 −0 pkg/cloudprovider/aws/amifamily/custom.go
  41. +1 −0 pkg/cloudprovider/aws/amifamily/resolver.go
  42. +4 −0 pkg/cloudprovider/aws/amifamily/ubuntu.go
  43. +0 −1 pkg/cloudprovider/aws/cloudprovider.go
  44. +26 −2 pkg/cloudprovider/aws/createfleetbatcher.go
  45. +9 −0 pkg/cloudprovider/aws/fake/ec2api.go
  46. +77 −36 pkg/cloudprovider/aws/instancetype.go
  47. +127 −1 pkg/cloudprovider/aws/instancetypes_test.go
  48. +3 −1 pkg/cloudprovider/aws/launchtemplate.go
  49. +151 −5 pkg/cloudprovider/aws/launchtemplate_test.go
  50. +12 −9 pkg/cloudprovider/aws/suite_test.go
  51. +4 −2 pkg/cloudprovider/aws/zz_generated.pricing.go
  52. +76 −41 pkg/controllers/consolidation/controller.go
  53. +155 −1 pkg/controllers/consolidation/suite_test.go
  54. +3 −0 pkg/controllers/consolidation/types.go
  55. +34 −20 pkg/controllers/controllers.go
  56. +1 −1 pkg/controllers/metrics/state/suite_test.go
  57. +1 −1 pkg/controllers/node/controller.go
  58. +1 −1 pkg/controllers/node/emptiness.go
  59. +4 −1 pkg/controllers/node/expiration.go
  60. +4 −12 pkg/controllers/node/initialization.go
  61. +1 −1 pkg/controllers/node/suite_test.go
  62. +22 −3 pkg/controllers/provisioning/provisioner.go
  63. +3 −11 pkg/controllers/provisioning/scheduling/scheduler.go
  64. +6 −3 pkg/controllers/provisioning/scheduling/scheduling_benchmark_test.go
  65. +1 −1 pkg/controllers/provisioning/scheduling/suite_test.go
  66. +53 −4 pkg/controllers/provisioning/suite_test.go
  67. +50 −13 pkg/controllers/state/cluster.go
  68. +33 −1 pkg/controllers/state/suite_test.go
  69. +1 −1 pkg/controllers/termination/controller.go
  70. +20 −1 pkg/controllers/termination/suite_test.go
  71. +6 −1 pkg/controllers/termination/terminate.go
  72. +71 −0 pkg/events/loadshedding.go
  73. +1 −1 pkg/scheduling/requirement_test.go
  74. +58 −0 pkg/utils/node/node.go
  75. +3 −0 pkg/utils/resources/resources.go
  76. +0 −9 test/infrastructure/clusters/test-infra/git-stats-exporter/karpenter-repo.yaml
  77. +9 −8 test/pkg/environment/environment.go
  78. +180 −20 test/pkg/environment/expectations.go
  79. +10 −5 test/pkg/environment/monitor.go
  80. +55 −0 test/suites/common/notify-slack.yaml
  81. +1 −1 test/suites/common/setup.yaml
  82. +12 −0 test/suites/common/suite.yaml
  83. +19 −0 test/suites/common/upgrade-crds.yaml
  84. +1 −1 test/suites/consolidation/suite_test.go
  85. +1 −36 test/suites/integration/{ttl_test.go → emptiness_test.go}
  86. +125 −0 test/suites/integration/expiration_test.go
  87. +195 −0 test/suites/integration/kubelet_config_test.go
  88. +2 −1 test/suites/integration/scheduling_test.go
  89. +0 −3 test/suites/integration/storage_test.go
  90. +24 −3 test/suites/upgrade/pipeline.yaml
  91. +1 −1 test/suites/utilization/suite_test.go
  92. +7 −7 website/config.yaml
  93. +15 −15 website/content/en/preview/AWS/launch-templates.md
  94. +360 −324 website/content/en/preview/AWS/provisioning.md
  95. +46 −3 website/content/en/preview/faq.md
  96. +343 −41 .../content/en/preview/getting-started/getting-started-with-eksctl/karpenter-capacity-dashboard.json
  97. +42 −28 ...ntent/en/preview/getting-started/getting-started-with-eksctl/karpenter-performance-dashboard.json
  98. +7 −6 website/content/en/preview/getting-started/getting-started-with-terraform/_index.md
  99. +1 −0 website/content/en/preview/getting-started/migrating-from-cas/scripts/step05-controller-iam.sh
  100. +84 −16 website/content/en/preview/provisioner.md
  101. +11 −7 website/content/en/preview/tasks/pod-density.md
  102. +57 −4 website/content/en/preview/troubleshooting.md
  103. +12 −0 website/content/en/preview/upgrade-guide/_index.md
  104. +12 −3 website/content/en/v0.10.0/faq.md
  105. +12 −3 website/content/en/v0.10.1/faq.md
  106. +12 −3 website/content/en/v0.11.0/faq.md
  107. +12 −3 website/content/en/v0.11.1/faq.md
  108. +15 −15 website/content/en/v0.12.0/AWS/launch-templates.md
  109. +4 −5 website/content/en/v0.12.0/AWS/provisioning.md
  110. +12 −3 website/content/en/v0.12.0/faq.md
  111. +15 −15 website/content/en/v0.12.1/AWS/launch-templates.md
  112. +4 −5 website/content/en/v0.12.1/AWS/provisioning.md
  113. +12 −3 website/content/en/v0.12.1/faq.md
  114. +15 −15 website/content/en/v0.13.0/AWS/launch-templates.md
  115. +15 −15 website/content/en/v0.13.0/AWS/provisioning.md
  116. +12 −3 website/content/en/v0.13.0/faq.md
  117. +15 −15 website/content/en/v0.13.1/AWS/launch-templates.md
  118. +15 −15 website/content/en/v0.13.1/AWS/provisioning.md
  119. +12 −3 website/content/en/v0.13.1/faq.md
  120. +15 −15 website/content/en/v0.13.2/AWS/launch-templates.md
  121. +15 −15 website/content/en/v0.13.2/AWS/provisioning.md
  122. +12 −3 website/content/en/v0.13.2/faq.md
  123. +15 −15 website/content/en/v0.14.0-rc.0/AWS/launch-templates.md
  124. +15 −15 website/content/en/v0.14.0-rc.0/AWS/provisioning.md
  125. +12 −3 website/content/en/v0.14.0-rc.0/faq.md
  126. +15 −15 website/content/en/v0.14.0/AWS/launch-templates.md
  127. +15 −14 website/content/en/v0.14.0/AWS/provisioning.md
  128. +12 −3 website/content/en/v0.14.0/faq.md
  129. +15 −15 website/content/en/v0.15.0/AWS/launch-templates.md
  130. +15 −15 website/content/en/v0.15.0/AWS/provisioning.md
  131. +12 −3 website/content/en/v0.15.0/faq.md
  132. +15 −15 website/content/en/v0.16.0/AWS/launch-templates.md
  133. +15 −15 website/content/en/v0.16.0/AWS/provisioning.md
  134. +12 −3 website/content/en/v0.16.0/faq.md
  135. +1 −1 ...content/en/v0.16.0/getting-started/getting-started-with-eksctl/scripts/step08-apply-helm-chart.sh
  136. +4 −3 website/content/en/v0.16.0/getting-started/getting-started-with-terraform/_index.md
  137. +12 −0 website/content/en/v0.16.0/troubleshooting.md
  138. +6 −0 website/content/en/v0.16.0/upgrade-guide/_index.md
  139. +15 −15 website/content/en/v0.16.1/AWS/launch-templates.md
  140. +16 −16 website/content/en/v0.16.1/AWS/provisioning.md
  141. +12 −3 website/content/en/v0.16.1/faq.md
  142. +4 −3 website/content/en/v0.16.1/getting-started/getting-started-with-terraform/_index.md
  143. +1 −0 website/content/en/v0.16.1/getting-started/migrating-from-cas/scripts/step05-controller-iam.sh
  144. +12 −0 website/content/en/v0.16.1/troubleshooting.md
  145. +6 −0 website/content/en/v0.16.1/upgrade-guide/_index.md
  146. +11 −0 website/content/en/v0.16.2/AWS/_index.md
  147. +12,620 −0 website/content/en/v0.16.2/AWS/instance-types.md
  148. +241 −0 website/content/en/v0.16.2/AWS/launch-templates.md
  149. +360 −0 website/content/en/v0.16.2/AWS/provisioning.md
  150. +209 −0 website/content/en/v0.16.2/AWS/user-data.md
  151. +40 −0 website/content/en/v0.16.2/_index.md
  152. +166 −0 website/content/en/v0.16.2/concepts/_index.md
  153. +7 −0 website/content/en/v0.16.2/contributing/_index.md
  154. +85 −0 website/content/en/v0.16.2/contributing/design-guide.md
  155. +153 −0 website/content/en/v0.16.2/contributing/development-guide.md
  156. +13 −0 website/content/en/v0.16.2/contributing/working-group.md
  157. +199 −0 website/content/en/v0.16.2/faq.md
  158. +11 −0 website/content/en/v0.16.2/getting-started/_index.md
  159. +199 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/_index.md
  160. +66 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/cloudformation.yaml
  161. +27 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/grafana-values.yaml
  162. +1,440 −0 .../content/en/v0.16.2/getting-started/getting-started-with-eksctl/karpenter-capacity-dashboard.json
  163. +330 −0 ...tent/en/v0.16.2/getting-started/getting-started-with-eksctl/karpenter-controllers-allocation.json
  164. +446 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/karpenter-controllers.json
  165. +573 −0 ...ntent/en/v0.16.2/getting-started/getting-started-with-eksctl/karpenter-performance-dashboard.json
  166. +14 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/prometheus-values.yaml
  167. +22 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/add-monitoring.sh
  168. +14 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/add-provisioner.sh
  169. +23 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/add-roles.sh
  170. +11 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/cleanup.sh
  171. +26 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/install.sh
  172. +3 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step01-config.sh
  173. +19 −0 ...t/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step02-create-cluster-fargate.sh
  174. +22 −0 ...e/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step02-create-cluster.sh
  175. +8 −0 ...tent/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step03-iam-cloud-formation.sh
  176. +6 −0 ...ite/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step04-grant-access.sh
  177. +8 −0 ...e/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step05-controller-iam.sh
  178. +3 −0 ...te/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step06-add-spot-role.sh
  179. +2 −0 ...ntent/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step07-install-helm-chart.sh
  180. +8 −0 ...content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step08-apply-helm-chart.sh
  181. +11 −0 ...t/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step09-add-prometheus-grafana.sh
  182. +1 −0 ...en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step10-add-grafana-port-forward.sh
  183. +1 −0 ...ent/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step11-grafana-get-password.sh
  184. +10 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step12-install-nth.sh
  185. +27 −0 .../content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step13-add-provisioner.sh
  186. +25 −0 ...v0.16.2/getting-started/getting-started-with-eksctl/scripts/step14-automatic-node-provisioning.sh
  187. +2 −0 ...e/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step15-deprovisioning.sh
  188. +1 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step16-delete-node.sh
  189. +10 −0 website/content/en/v0.16.2/getting-started/getting-started-with-eksctl/scripts/step17-cleanup.sh
  190. +163 −0 website/content/en/v0.16.2/getting-started/getting-started-with-kops/_index.md
  191. +484 −0 website/content/en/v0.16.2/getting-started/getting-started-with-terraform/_index.md
  192. +196 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/_index.md
  193. +15 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step01-node-iam.sh
  194. +11 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step02-node-policies.sh
  195. +6 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step03-instance-profile.sh
  196. +7 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step04-env.sh
  197. +66 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step05-controller-iam.sh
  198. +6 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step06-tag-subnets.sh
  199. +22 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step07-tag-security-groups.sh
  200. +1 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step08-edit-aws-auth.sh
  201. +7 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step09-generate-chart.sh
  202. +4 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step10-deploy.sh
  203. +12 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step11-create-provisioner.sh
  204. +1 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step12-scale-cas.sh
  205. +3 −0 website/content/en/v0.16.2/getting-started/migrating-from-cas/scripts/step13-scale-ng.sh
  206. +326 −0 website/content/en/v0.16.2/provisioner.md
  207. +7 −0 website/content/en/v0.16.2/tasks/_index.md
  208. +69 −0 website/content/en/v0.16.2/tasks/configuration.md
  209. +120 −0 website/content/en/v0.16.2/tasks/deprovisioning.md
  210. +79 −0 website/content/en/v0.16.2/tasks/metrics.md
  211. +82 −0 website/content/en/v0.16.2/tasks/pod-density.md
  212. +131 −0 website/content/en/v0.16.2/tasks/provisioning.md
  213. +529 −0 website/content/en/v0.16.2/tasks/scheduling.md
  214. +51 −0 website/content/en/v0.16.2/tasks/set-resource-limits.md
  215. +46 −0 website/content/en/v0.16.2/testing-guide.md
  216. +371 −0 website/content/en/v0.16.2/troubleshooting.md
  217. +197 −0 website/content/en/v0.16.2/upgrade-guide/_index.md
  218. +2 −2 website/content/en/v0.5.0/AWS/provisioning.md
  219. +12 −3 website/content/en/v0.6.0/faq.md
  220. +12 −3 website/content/en/v0.6.1/faq.md
  221. +12 −3 website/content/en/v0.6.2/faq.md
  222. +12 −3 website/content/en/v0.6.3/faq.md
  223. +12 −3 website/content/en/v0.6.4/faq.md
  224. +12 −3 website/content/en/v0.6.5/faq.md
  225. +12 −3 website/content/en/v0.7.0/faq.md
  226. +12 −3 website/content/en/v0.7.1/faq.md
  227. +12 −3 website/content/en/v0.7.2/faq.md
  228. +12 −3 website/content/en/v0.7.3/faq.md
  229. +12 −3 website/content/en/v0.8.0/faq.md
  230. +12 −3 website/content/en/v0.8.1/faq.md
  231. +12 −3 website/content/en/v0.8.2/faq.md
  232. +12 −3 website/content/en/v0.9.0/faq.md
  233. +12 −3 website/content/en/v0.9.1/faq.md
  234. +7 −7 website/package-lock.json
  235. +1 −1 website/package.json
  236. +1 −1 website/static/_redirects
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/bug.md

This file was deleted.

68 changes: 68 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Bug Report
description: Report a bug in Karpenter
labels: bug
body:
- type: textarea
id: version
attributes:
label: Version
description: |
https://github.com/aws/karpenter/releases
value: |
<!-- helm ls -A --all -o json | jq '.[] | select(.name=="karpenter") | .app_version' -r -->
__Karpenter Version:__ v0.0.0
<!-- kubectl version | grep Server -->
__Kubernetes Version:__ v1.0.0
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected Behavior
description: |
Briefly describe what you expected to happen
validations:
required: true

- type: textarea
id: actual
attributes:
label: Actual Behavior
description: |
Briefly describe what is actually happening
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to Reproduce the Problem
description: |
How can a maintainer reproduce this issue (be detailed)?
validations:
required: true

- type: textarea
id: specs-logs
attributes:
label: Resource Specs and Logs
description: |
Include Provisioner spec(s), pod spec(s), and Karpenter controller logs when you experienced the bug

Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: true

- type: textarea
id: community-note
attributes:
label: Community Note
description: |
Please keep this note for the community
value: |
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment
validations:
required: true
27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE/docs-request.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/docs-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Docs Request/Question
description: All things related to docs! Bugs, requests, suggestions, etc.
labels: Documentation
body:
- type: input
id: existing-page
attributes:
label: Is an existing page relevant?
placeholder: ex. https://karpenter.sh/v0.16.1/upgrade-guide/

- type: textarea
id: relevant-features
attributes:
label: What karpenter features are relevant?
validations:
required: true

- type: textarea
id: docs-improvement
attributes:
label: How should the docs be improved?
validations:
required: true

- type: textarea
id: community-note
attributes:
label: Community Note
description: |
Please keep this note for the community
value: |
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment
validations:
required: true
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/request.md

This file was deleted.

59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Request
description: Suggest an idea for the roadmap!
labels: feature
body:
- type: textarea
id: feature
attributes:
label: Tell us about your request
description: |
What do you want us to build?
validations:
required: true

- type: textarea
id: rationale
attributes:
label: Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
description: |
What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.
validations:
required: true

- type: textarea
id: workaround
attributes:
label: Are you currently working around this issue?
description: |
How are you currently solving this problem?
validations:
required: true

- type: textarea
id: additional
attributes:
label: Additional Context
description: |
Anything else we should know?

- type: textarea
id: attachments
attributes:
label: Attachments
description: |
If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.

- type: textarea
id: community-note
attributes:
label: Community Note
description: |
Please keep this note for the community
value: |
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment
validations:
required: true
7 changes: 4 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -13,12 +13,13 @@ jobs:
env:
K8S_VERSION: ${{ matrix.k8sVersion }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: sed -En 's/^go[[:space:]]+([[:digit:].]+)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/cache@v2
check-latest: true
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ jobs:
language: [ 'go' ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- uses: github/codeql-action/init@v1
7 changes: 4 additions & 3 deletions .github/workflows/deflake.yml
Original file line number Diff line number Diff line change
@@ -8,12 +8,13 @@ jobs:
if: github.repository == 'aws/karpenter'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: sed -En 's/^go[[:space:]]+([[:digit:].]+)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/cache@v2
check-latest: true
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ jobs:
if: github.repository == 'aws/karpenter'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::071440425669:role/Github
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ jobs:
if: github.repository == 'aws/karpenter'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
7 changes: 4 additions & 3 deletions .github/workflows/snapshots.yaml
Original file line number Diff line number Diff line change
@@ -9,12 +9,13 @@ jobs:
if: github.repository == 'aws/karpenter'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: sed -En 's/^go[[:space:]]+([[:digit:].]+)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/cache@v2
check-latest: true
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
2 changes: 1 addition & 1 deletion ADOPTERS.md
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ If you are open to others contacting you about your use of Karpenter on Slack, a
| Beeswax | Using Karpenter to scale our high load AdTech platform efficiently | `@James Wojewoda` | [Homepage](https://www.beeswax.com)
| Codefresh | Juggling workloads for the SAAS CD/GitOps offering | `@Vadim Gusev` | [Codefresh](https://codefresh.io/) |
| Cordial | Using Karpenter to scale multiple EKS clusters quickly | `@dschaaff` | [Cordial](https://cordial.com) |
| H2O.ai | Dynamically scaling CPU and GPU nodes for AI workloads | `@Ophir Zahavi` | [H2O.ai](https://h2o.ai/) |
| H2O.ai | Dynamically scaling CPU and GPU nodes for AI workloads | `@Ophir Zahavi`, `@Asaf Oren` | [H2O.ai](https://h2o.ai/) |
| idealo | Scaling multi-arch IPv6 clusters hosting web and event-driven applications | `@Heiko Rothe` | [Homepage](https://www.idealo.de) |
| Nirvana Money | Building healthy, happy financial lives - Using Karpenter to manage all-Spot clusters | `@DWSR` | [Homepage](https://www.nirvana.money/) |
| Omaze | Intelligently using Karpenter's autoscaling to power our platforms | `@devopsidiot` | [Homepage](https://www.omaze.com/) |
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
export K8S_VERSION ?= 1.23.x
export KUBEBUILDER_ASSETS ?= ${HOME}/.kubebuilder/bin
export CLUSTER_NAME ?= $(shell kubectl config view --minify -o jsonpath='{.clusters[].name}' | rev | cut -d"/" -f1 | rev | cut -d"." -f1)

## Inject the app version into project.Version
LDFLAGS ?= -ldflags=-X=github.com/aws/karpenter/pkg/utils/project.Version=$(shell git describe --tags --always)
GOFLAGS ?= $(LDFLAGS)
WITH_GOFLAGS = GOFLAGS="$(GOFLAGS)"

## Extra helm options
CLUSTER_NAME ?= $(shell kubectl config view --minify -o jsonpath='{.clusters[].name}' | rev | cut -d"/" -f1 | rev | cut -d"." -f1)
CLUSTER_ENDPOINT ?= $(shell kubectl config view --minify -o jsonpath='{.clusters[].cluster.server}')
AWS_ACCOUNT_ID ?= $(shell aws sts get-caller-identity --query Account --output text)
KARPENTER_IAM_ROLE_ARN ?= arn:aws:iam::${AWS_ACCOUNT_ID}:role/${CLUSTER_NAME}-karpenter
@@ -20,6 +20,7 @@ TEST_FILTER ?= .*

# CR for local builds of Karpenter
SYSTEM_NAMESPACE ?= karpenter
KARPENTER_VERSION ?= $(shell git tag --sort=committerdate | tail -1)
KO_DOCKER_REPO ?= ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com/karpenter
GETTING_STARTED_SCRIPT_DIR = website/content/en/preview/getting-started/getting-started-with-eksctl/scripts

@@ -69,6 +70,9 @@ verify: codegen ## Verify code. Includes dependencies, linting, formatting, etc
if [ $(MAKECMDGOALS) = 'ci' ]; then\
exit 1;\
fi;}
@echo "Validating codegen/docgen build scripts..."
@find hack/code hack/docs -name "*.go" -type f -exec go build -o /dev/null {} \;
@govulncheck ./pkg/...

licenses: ## Verifies dependency licenses
go mod download
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ Come discuss Karpenter in the [#karpenter](https://kubernetes.slack.com/archives
Check out the [Docs](https://karpenter.sh/) to learn more.

## Talks
- 09/08/2022 [Workload Consolidation with Karpenter](https://youtu.be/BnksdJ3oOEs)
- 05/19/2022 [Scaling K8s Nodes Without Breaking the Bank or Your Sanity](https://www.youtube.com/watch?v=UBb8wbfSc34)
- 03/25/2022 [Karpenter @ AWS Community Day 2022](https://youtu.be/sxDtmzbNHwE?t=3931)
- 12/20/2021 [How To Auto-Scale Kubernetes Clusters With Karpenter](https://youtu.be/C-2v7HT-uSA)
Loading