You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/content/en/docs/faq.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -199,10 +199,10 @@ Yes, see the [KubeletConfiguration Section in the NodePool docs]({{<ref "./conce
199
199
The difference between the Core and Full variants is that Core is a minimal OS with less components and no graphic user interface (GUI) or desktop experience.
200
200
`Windows2019`, `Windows2022` and `Windows2025` AMI families use the Windows Server Core option for simplicity, but if required, you can specify a custom AMI to run Windows Server Full.
201
201
202
-
You can specify the [Amazon EKS optimized AMI](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-windows-ami.html) with Windows Server 2022 Full for Kubernetes 1.34 by configuring an `amiSelector` that references the AMI name.
202
+
You can specify the [Amazon EKS optimized AMI](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-windows-ami.html) with Windows Server 2022 Full for Kubernetes 1.35 by configuring an `amiSelector` that references the AMI name.
Copy file name to clipboardExpand all lines: website/content/en/docs/reference/metrics.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ description: >
8
8
---
9
9
<!-- this document is generated from hack/docs/metrics_gen/main.go -->
10
10
Karpenter makes several metrics available in Prometheus format to allow monitoring cluster provisioning status. These metrics are available by default at `karpenter.kube-system.svc.cluster.local:8080/metrics` configurable via the `METRICS_PORT` environment variable documented [here](../settings)
11
+
11
12
### `karpenter_ignored_pod_count`
12
13
Number of pods ignored during scheduling by Karpenter
The `Custom` AMIFamily ships without any default userData to allow you to configure custom bootstrapping for control planes or images that don't support the default methods from the other families. For this AMIFamily, kubelet must add the taint `karpenter.sh/unregistered:NoExecute` via the `--register-with-taints` flag ([flags](https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/#options)) or the KubeletConfiguration spec ([options](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1/#kubelet-config-k8s-io-v1-CredentialProviderConfig) and [docs](https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/)). Karpenter will fail to register nodes that do not have this taint.
@@ -743,6 +755,7 @@ An `alias` term can be used to select EKS-optimized AMIs. An `alias` is formatte
743
755
*`bottlerocket`
744
756
*`windows2019`
745
757
*`windows2022`
758
+
*`windows2025`
746
759
747
760
The version string can be set to `latest`, or pinned to a specific AMI using the format of that AMI's GitHub release tags.
748
761
For example, AL2 and AL2023 use dates for their release, so they can be pinned as follows:
@@ -760,19 +773,19 @@ The following commands can be used to determine the versions availble for an ali
@@ -878,11 +891,12 @@ When using a custom SSM parameter, you'll need to expand the `ssm:GetParameter`
878
891
879
892
Capacity Reservation Selector Terms allow you to select [on-demand capacity reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html) (ODCRs), which will be made available to NodePools which select the given EC2NodeClass.
880
893
Karpenter will prioritize utilizing the capacity in these reservations before falling back to on-demand and spot.
881
-
Capacity reservations can be discovered using idsor tags.
894
+
Capacity reservations can be discovered using ids, tags, or instance match criteria.
882
895
883
896
This selection logic is modeled as terms.
884
-
A term can specify an ID or a set of tags to select against.
897
+
A term can specify an ID, a set of tags, or instance match criteria to select against.
885
898
When specifying tags, it will select all capacity reservations accessible from the account with matching tags.
899
+
When specifying instance match criteria, it selects reservations by their matching behavior: `open`(matches all compatible instances) or `targeted` (matches only explicitly targeted instances).
886
900
This can be further restricted by specifying an owner ID.
887
901
888
902
For more information on utilizing ODCRs with Karpenter, refer to the [Utilizing ODCRs Task]({{< relref "../tasks/odcrs" >}}).
@@ -928,6 +942,26 @@ spec:
928
942
ownerID: 012345678901
929
943
```
930
944
945
+
Select by instance match criteria:
946
+
947
+
```yaml
948
+
spec:
949
+
capacityReservationSelectorTerms:
950
+
# Select all open capacity reservations
951
+
- instanceMatchCriteria: open
952
+
```
953
+
954
+
Select by instance match criteria and tags:
955
+
956
+
```yaml
957
+
spec:
958
+
capacityReservationSelectorTerms:
959
+
# Select targeted capacity reservations with matching tags
960
+
- instanceMatchCriteria: targeted
961
+
tags:
962
+
key: foo
963
+
```
964
+
931
965
## spec.tags
932
966
933
967
Karpenter adds tags to all resources it creates, including EC2 Instances, EBS volumes, and Launch Templates. The default set of tags are listed below.
@@ -1033,7 +1067,7 @@ spec:
1033
1067
encrypted: true
1034
1068
```
1035
1069
1036
-
### Windows2019/Windows2022
1070
+
### Windows2019/Windows2022/Windows2025
1037
1071
```yaml
1038
1072
spec:
1039
1073
blockDeviceMappings:
@@ -1470,7 +1504,7 @@ This allows the container to take ownership of devices allocated to the pod via
1470
1504
1471
1505
This setting helps you enable Neuron workloads on Bottlerocket instances. See [Accelerators/GPU Resources]({{< ref "./scheduling#acceleratorsgpu-resources" >}}) for more details.
1472
1506
1473
-
### Windows2019/Windows2022
1507
+
### Windows2019/Windows2022/Windows2025
1474
1508
1475
1509
* Your UserData must be specified as PowerShell commands.
1476
1510
* The UserData specified will be prepended to a Karpenter managed section that will bootstrap the kubelet.
@@ -1536,6 +1570,10 @@ If a `NodeClaim` requests `vpc.amazonaws.com/efa` resources, `spec.associatePubl
1536
1570
requires that the field is only set to true when configuring an instance with a single ENI at launch. When using this field, it is advised that users segregate their EFA workload to use a separate `NodePool` / `EC2NodeClass` pair.
1537
1571
{{% /alert %}}
1538
1572
1573
+
## spec.ipPrefixCount
1574
+
1575
+
This value is a integer field that controls how many ip prefixes will be assigned to `NodeClaim`. See the [EC2 Launch Template Network Interface Spec](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-ec2-launchtemplate-networkinterface.html) for more information. Sets ipv4PrefixCount if you are using an IPv4 Cluster, or ipv6PrefixCount if you are using IPv6.
1576
+
1539
1577
## status.subnets
1540
1578
[`status.subnets`]({{< ref "#statussubnets" >}}) contains the resolved `id` and `zone` of the subnets that were selected by the [`spec.subnetSelectorTerms`]({{< ref "#specsubnetselectorterms" >}}) for the node class. The subnets will be sorted by the available IP address count in decreasing order.
1541
1579
@@ -1676,6 +1714,7 @@ status:
1676
1714
| `ownerID` | `459763720645` | The account ID that owns the capacity reservation |
1677
1715
| `reservationType` | `default` | The type of the capacity reservation. Can be `default` or `capacity-block`. |
1678
1716
| `state` | `active` | The state of the capacity reservation. Can be `active` or `expiring`. |
1717
+
| `interruptible` | `true` or `false` | Whether the capacity reservation is interruptible. |
0 commit comments