Skip to content

Commit 9d7df4d

Browse files
committed
Stable Release updates Release v1.5.6.
1 parent 0f47193 commit 9d7df4d

File tree

88 files changed

+37744
-25503
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+37744
-25503
lines changed

charts/karpenter-crd/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: karpenter-crd
33
description: A Helm chart for Karpenter Custom Resource Definitions (CRDs).
44
type: application
5-
version: 1.4.0
6-
appVersion: 1.4.0
5+
version: 1.5.6
6+
appVersion: 1.5.6
77
keywords:
88
- cluster
99
- node

charts/karpenter/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: karpenter
33
description: A Helm chart for Karpenter, an open-source node provisioning project built for Kubernetes.
44
type: application
5-
version: 1.4.0
6-
appVersion: 1.4.0
5+
version: 1.5.6
6+
appVersion: 1.5.6
77
keywords:
88
- cluster
99
- node

charts/karpenter/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A Helm chart for Karpenter, an open-source node provisioning project built for Kubernetes.
44

5-
![Version: 1.4.0](https://img.shields.io/badge/Version-1.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.4.0](https://img.shields.io/badge/AppVersion-1.4.0-informational?style=flat-square)
5+
![Version: 1.5.6](https://img.shields.io/badge/Version-1.5.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.6](https://img.shields.io/badge/AppVersion-1.5.6-informational?style=flat-square)
66

77
## Documentation
88

@@ -15,7 +15,7 @@ You can follow the detailed installation instruction in the [documentation](http
1515
```bash
1616
helm upgrade --install --namespace karpenter --create-namespace \
1717
karpenter oci://public.ecr.aws/karpenter/karpenter \
18-
--version 1.4.0 \
18+
--version 1.5.6 \
1919
--set "serviceAccount.annotations.eks\.amazonaws\.com/role-arn=${KARPENTER_IAM_ROLE_ARN}" \
2020
--set settings.clusterName=${CLUSTER_NAME} \
2121
--set settings.interruptionQueue=${CLUSTER_NAME} \
@@ -27,13 +27,13 @@ helm upgrade --install --namespace karpenter --create-namespace \
2727
As the OCI Helm chart is signed by [Cosign](https://github.com/sigstore/cosign) as part of the release process you can verify the chart before installing it by running the following command.
2828

2929
```shell
30-
cosign verify public.ecr.aws/karpenter/karpenter:1.4.0 \
30+
cosign verify public.ecr.aws/karpenter/karpenter:1.5.6 \
3131
--certificate-oidc-issuer=https://token.actions.githubusercontent.com \
3232
--certificate-identity-regexp='https://github\.com/aws/karpenter-provider-aws/\.github/workflows/release\.yaml@.+' \
3333
--certificate-github-workflow-repository=aws/karpenter-provider-aws \
3434
--certificate-github-workflow-name=Release \
35-
--certificate-github-workflow-ref=refs/tags/v1.4.0 \
36-
--annotations version=1.4.0
35+
--certificate-github-workflow-ref=refs/tags/v1.5.6 \
36+
--annotations version=1.5.6
3737
```
3838

3939
## Values
@@ -49,9 +49,9 @@ cosign verify public.ecr.aws/karpenter/karpenter:1.4.0 \
4949
| controller.envFrom | list | `[]` | |
5050
| controller.extraVolumeMounts | list | `[]` | Additional volumeMounts for the controller container. |
5151
| controller.healthProbe.port | int | `8081` | The container port to use for http health probe. |
52-
| controller.image.digest | string | `"sha256:e39215600820529c25a119b95f7431dcc103834766426b2beb48f87fa87555bb"` | SHA256 digest of the controller image. |
52+
| controller.image.digest | string | `"sha256:ac9475f56f883d628ad9a8e50e10011af0340e73f7933feeec038f1e16b80b4b"` | SHA256 digest of the controller image. |
5353
| controller.image.repository | string | `"public.ecr.aws/karpenter/controller"` | Repository path to the controller image. |
54-
| controller.image.tag | string | `"1.4.0"` | Tag of the controller image. |
54+
| controller.image.tag | string | `"1.5.6"` | Tag of the controller image. |
5555
| controller.metrics.port | int | `8080` | The container port to use for metrics. |
5656
| controller.resources | object | `{}` | Resources for the controller container. |
5757
| controller.securityContext.appArmorProfile | object | `{}` | AppArmor profile for the controller container. |
@@ -76,7 +76,7 @@ cosign verify public.ecr.aws/karpenter/karpenter:1.4.0 \
7676
| podDisruptionBudget.maxUnavailable | int | `1` | |
7777
| podDisruptionBudget.name | string | `"karpenter"` | |
7878
| podLabels | object | `{}` | Additional labels for the pod. |
79-
| podSecurityContext | object | `{"fsGroup":65532,"runAsNonRoot":false,"seccompProfile":{"type":"RuntimeDefault"}}` | SecurityContext for the pod. |
79+
| podSecurityContext | object | `{"fsGroup":65532,"seccompProfile":{"type":"RuntimeDefault"}}` | SecurityContext for the pod. |
8080
| priorityClassName | string | `"system-cluster-critical"` | PriorityClass name for the pod. |
8181
| replicas | int | `2` | Number of replicas. |
8282
| revisionHistoryLimit | int | `10` | The number of old ReplicaSets to retain to allow rollback. |
@@ -87,7 +87,7 @@ cosign verify public.ecr.aws/karpenter/karpenter:1.4.0 \
8787
| serviceAccount.name | string | `""` | The name of the ServiceAccount to use. If not set and create is true, a name is generated using the fullname template. |
8888
| serviceMonitor.additionalLabels | object | `{}` | Additional labels for the ServiceMonitor. |
8989
| serviceMonitor.enabled | bool | `false` | Specifies whether a ServiceMonitor should be created. |
90-
| serviceMonitor.endpointConfig | object | `{}` | Configuration on `http-metrics` endpoint for the ServiceMonitor. Not to be used to add additional endpoints. See the Prometheus operator documentation for configurable fields https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint |
90+
| serviceMonitor.endpointConfig | object | `{}` | Configuration on `http-metrics` endpoint for the ServiceMonitor. Not to be used to add additional endpoints. See the Prometheus operator documentation for configurable fields https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api-reference/api.md#endpoint |
9191
| serviceMonitor.metricRelabelings | list | `[]` | Metric relabelings for the `http-metrics` endpoint on the ServiceMonitor. For more details on metric relabelings, see: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs |
9292
| serviceMonitor.relabelings | list | `[]` | Relabelings for the `http-metrics` endpoint on the ServiceMonitor. For more details on relabelings, see: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config |
9393
| settings | object | `{"batchIdleDuration":"1s","batchMaxDuration":"10s","clusterCABundle":"","clusterEndpoint":"","clusterName":"","eksControlPlane":false,"featureGates":{"nodeRepair":false,"reservedCapacity":false,"spotToSpotConsolidation":false},"interruptionQueue":"","isolatedVPC":false,"preferencePolicy":"Respect","reservedENIs":"0","vmMemoryOverheadPercent":0.075}` | Global Settings to configure Karpenter |

charts/karpenter/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ controller:
121121
# -- Repository path to the controller image.
122122
repository: public.ecr.aws/karpenter/controller
123123
# -- Tag of the controller image.
124-
tag: 1.4.0
124+
tag: 1.5.6
125125
# -- SHA256 digest of the controller image.
126-
digest: sha256:e39215600820529c25a119b95f7431dcc103834766426b2beb48f87fa87555bb
126+
digest: sha256:ac9475f56f883d628ad9a8e50e10011af0340e73f7933feeec038f1e16b80b4b
127127
# -- Additional environment variables for the controller pod.
128128
env: []
129129
# - name: AWS_REGION

hack/docs/compatibilitymatrix_gen/compatibility.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,7 @@ compatibility:
6868
maxK8sVersion: 1.32
6969
- appVersion: 1.4.x
7070
minK8sVersion: 1.25
71-
maxK8sVersion: 1.32
71+
maxK8sVersion: 1.32
72+
- appVersion: 1.5.6.x
73+
minK8sVersion: 1.26
74+
maxK8sVersion: 1.33

website/content/en/docs/concepts/nodeclasses.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ spec:
141141
deleteOnTermination: true
142142
throughput: 125
143143
snapshotID: snap-0123456789
144+
volumeInitializationRate: 100
144145

145146
# Optional, use instance-store volumes for node ephemeral-storage
146147
instanceStorePolicy: RAID0
@@ -295,17 +296,6 @@ spec:
295296
Note that when using the `Custom` AMIFamily you will need to specify fields **both** in `spec.kubelet` and `spec.userData`.
296297
{{% /alert %}}
297298

298-
{{% alert title="Warning" color="warning" %}}
299-
The Bottlerocket AMIFamily does not support the following fields:
300-
301-
* `evictionSoft`
302-
* `evictionSoftGracePeriod`
303-
* `evictionMaxPodGracePeriod`
304-
305-
If any of these fields are specified on a Bottlerocket EC2NodeClass, they will be ommited from generated UserData and ignored for scheduling purposes.
306-
Support for these fields can be tracked via GitHub issue [#3722](https://github.com/aws/karpenter-provider-aws/issues/3722).
307-
{{% /alert %}}
308-
309299
#### Pods Per Core
310300

311301
An alternative way to dynamically set the maximum density of pods on a node is to use the `.spec.kubelet.podsPerCore` value. Karpenter will calculate the pod density during scheduling by multiplying this value by the number of logical cores (vCPUs) on an instance type. This value will also be passed through to the `--pods-per-core` value on kubelet startup to configure the number of allocatable pods the kubelet can assign to the node instance.
@@ -890,6 +880,10 @@ A term can specify an ID or a set of tags to select against.
890880
When specifying tags, it will select all capacity reservations accessible from the account with matching tags.
891881
This can be further restricted by specifying an owner ID.
892882

883+
{{% alert title="Note" color="primary" %}}
884+
Note that the IAM role Karpenter assumes should have a permissions policy associated with it that grants it permissions to use the [ec2:DescribeCapacityReservations](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html#amazonec2-DescribeCapacityReservations) action to discover capacity reservations and the [ec2:RunInstances](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html#amazonec2-RunInstances) action to run instances in those capacity reservations.
885+
{{% /alert %}}
886+
893887
#### Examples
894888

895889
Select the reservations with the given IDs:

website/content/en/docs/faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ See [Configuring NodePools]({{< ref "./concepts/#configuring-nodepools" >}}) for
1717
AWS is the first cloud provider supported by Karpenter, although it is designed to be used with other cloud providers as well.
1818

1919
### Can I write my own cloud provider for Karpenter?
20-
Yes, but there is no documentation yet for it. Start with Karpenter's GitHub [cloudprovider](https://github.com/aws/karpenter-provider-aws/tree/v1.4.0/pkg/cloudprovider) documentation to see how the AWS provider is built, but there are other sections of the code that will require changes too.
20+
Yes, but there is no documentation yet for it. Start with Karpenter's GitHub [cloudprovider](https://github.com/aws/karpenter-provider-aws/tree/v1.5.6/pkg/cloudprovider) documentation to see how the AWS provider is built, but there are other sections of the code that will require changes too.
2121

2222
### What operating system nodes does Karpenter deploy?
2323
Karpenter uses the OS defined by the [AMI Family in your EC2NodeClass]({{< ref "./concepts/nodeclasses#specamifamily" >}}).
@@ -29,7 +29,7 @@ Karpenter has multiple mechanisms for configuring the [operating system]({{< ref
2929
Karpenter is flexible to multi-architecture configurations using [well known labels]({{< ref "./concepts/scheduling/#supported-labels">}}).
3030

3131
### What RBAC access is required?
32-
All the required RBAC rules can be found in the Helm chart template. See [clusterrole-core.yaml](https://github.com/aws/karpenter/blob/v1.4.0/charts/karpenter/templates/clusterrole-core.yaml), [clusterrole.yaml](https://github.com/aws/karpenter/blob/v1.4.0/charts/karpenter/templates/clusterrole.yaml), [rolebinding.yaml](https://github.com/aws/karpenter/blob/v1.4.0/charts/karpenter/templates/rolebinding.yaml), and [role.yaml](https://github.com/aws/karpenter/blob/v1.4.0/charts/karpenter/templates/role.yaml) files for details.
32+
All the required RBAC rules can be found in the Helm chart template. See [clusterrole-core.yaml](https://github.com/aws/karpenter/blob/v1.5.6/charts/karpenter/templates/clusterrole-core.yaml), [clusterrole.yaml](https://github.com/aws/karpenter/blob/v1.5.6/charts/karpenter/templates/clusterrole.yaml), [rolebinding.yaml](https://github.com/aws/karpenter/blob/v1.5.6/charts/karpenter/templates/rolebinding.yaml), and [role.yaml](https://github.com/aws/karpenter/blob/v1.5.6/charts/karpenter/templates/role.yaml) files for details.
3333

3434
### Can I run Karpenter outside of a Kubernetes cluster?
3535
Yes, as long as the controller has network and IAM/RBAC access to the Kubernetes API and your provider API.

website/content/en/docs/getting-started/getting-started-with-karpenter/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ After setting up the tools, set the Karpenter and Kubernetes version:
4848

4949
```bash
5050
export KARPENTER_NAMESPACE="kube-system"
51-
export KARPENTER_VERSION="1.4.0"
51+
export KARPENTER_VERSION="1.5.6"
5252
export K8S_VERSION="1.32"
5353
```
5454

@@ -115,13 +115,13 @@ See [Enabling Windows support](https://docs.aws.amazon.com/eks/latest/userguide/
115115
As the OCI Helm chart is signed by [Cosign](https://github.com/sigstore/cosign) as part of the release process you can verify the chart before installing it by running the following command.
116116

117117
```bash
118-
cosign verify public.ecr.aws/karpenter/karpenter:1.4.0 \
118+
cosign verify public.ecr.aws/karpenter/karpenter:1.5.6 \
119119
--certificate-oidc-issuer=https://token.actions.githubusercontent.com \
120120
--certificate-identity-regexp='https://github\.com/aws/karpenter-provider-aws/\.github/workflows/release\.yaml@.+' \
121121
--certificate-github-workflow-repository=aws/karpenter-provider-aws \
122122
--certificate-github-workflow-name=Release \
123-
--certificate-github-workflow-ref=refs/tags/v1.4.0 \
124-
--annotations version=1.4.0
123+
--certificate-github-workflow-ref=refs/tags/v1.5.6 \
124+
--annotations version=1.5.6
125125
```
126126

127127
{{% alert title="DNS Policy Notice" color="warning" %}}

website/content/en/docs/getting-started/getting-started-with-karpenter/grafana-values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ dashboardProviders:
2222
dashboards:
2323
default:
2424
capacity-dashboard:
25-
url: https://karpenter.sh/v1.4/getting-started/getting-started-with-karpenter/karpenter-capacity-dashboard.json
25+
url: https://karpenter.sh/v1.5/getting-started/getting-started-with-karpenter/karpenter-capacity-dashboard.json
2626
performance-dashboard:
27-
url: https://karpenter.sh/v1.4/getting-started/getting-started-with-karpenter/karpenter-performance-dashboard.json
27+
url: https://karpenter.sh/v1.5/getting-started/getting-started-with-karpenter/karpenter-performance-dashboard.json

website/content/en/docs/getting-started/migrating-from-cas/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ One for your Karpenter node role and one for your existing node group.
9292
First set the Karpenter release you want to deploy.
9393
9494
```bash
95-
export KARPENTER_VERSION="1.4.0"
95+
export KARPENTER_VERSION="1.5.6"
9696
```
9797

9898
We can now generate a full Karpenter deployment yaml from the Helm chart.
@@ -132,7 +132,7 @@ Now that our deployment is ready we can create the karpenter namespace, create t
132132
133133
## Create default NodePool
134134
135-
We need to create a default NodePool so Karpenter knows what types of nodes we want for unscheduled workloads. You can refer to some of the [example NodePool](https://github.com/aws/karpenter/tree/v1.4.0/examples/v1) for specific needs.
135+
We need to create a default NodePool so Karpenter knows what types of nodes we want for unscheduled workloads. You can refer to some of the [example NodePool](https://github.com/aws/karpenter/tree/v1.5.6/examples/v1) for specific needs.
136136
137137
{{% script file="./content/en/{VERSION}/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh" language="bash" %}}
138138

0 commit comments

Comments
 (0)