Skip to content

Commit

Permalink
v0.14.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dewjam committed Aug 10, 2022
1 parent 5edcce3 commit 9dc885c
Show file tree
Hide file tree
Showing 84 changed files with 21,230 additions and 659 deletions.
215 changes: 131 additions & 84 deletions charts/index.yaml

Large diffs are not rendered by default.

Binary file added charts/karpenter-0.14.0.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions charts/karpenter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: karpenter
description: A Helm chart for Karpenter, an open-source node provisioning project built for Kubernetes.
type: application
version: 0.14.0-rc.0
appVersion: 0.14.0-rc.0
version: 0.14.0
appVersion: 0.14.0
keywords:
- cluster
- node
Expand Down
12 changes: 6 additions & 6 deletions charts/karpenter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

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

![Version: 0.14.0-rc.0](https://img.shields.io/badge/Version-0.14.0--rc.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.14.0-rc.0](https://img.shields.io/badge/AppVersion-0.14.0--rc.0-informational?style=flat-square)
![Version: 0.14.0](https://img.shields.io/badge/Version-0.14.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.14.0](https://img.shields.io/badge/AppVersion-0.14.0-informational?style=flat-square)

## Documentation

For full Karpenter documentation please checkout [https://karpenter.sh](https://karpenter.sh/v0.14.0-rc.0/).
For full Karpenter documentation please checkout [https://karpenter.sh](https://karpenter.sh/v0.14.0/).

## Installing the Chart

Expand All @@ -17,12 +17,12 @@ helm repo add karpenter https://charts.karpenter.sh/
helm repo update
```

You can follow the detailed installation instruction in the [documentation](https://karpenter.sh/v0.14.0-rc.0/getting-started/getting-started-with-eksctl/#install) which covers the Karpenter prerequisites and installation options. The outcome of these instructions should result in something like the following command.
You can follow the detailed installation instruction in the [documentation](https://karpenter.sh/v0.14.0/getting-started/getting-started-with-eksctl/#install) which covers the Karpenter prerequisites and installation options. The outcome of these instructions should result in something like the following command.

```bash
helm upgrade --install --namespace karpenter --create-namespace \
karpenter karpenter/karpenter \
--version 0.14.0-rc.0 \
--version 0.14.0 \
--set serviceAccount.annotations.eks\.amazonaws\.com/role-arn=${KARPENTER_IAM_ROLE_ARN} \
--set clusterName=${CLUSTER_NAME} \
--set clusterEndpoint=${CLUSTER_ENDPOINT} \
Expand All @@ -44,7 +44,7 @@ helm upgrade --install --namespace karpenter --create-namespace \
| controller.batchMaxDuration | string | `"10s"` | |
| controller.env | list | `[]` | Additional environment variables for the controller pod. |
| controller.extraVolumeMounts | list | `[]` | Additional volumeMounts for the controller pod. |
| controller.image | string | `"public.ecr.aws/karpenter/controller:v0.14.0-rc.0@sha256:f87857bea61b2961ce95933a8a79f656493a5e7fa87434c88a82a8f2f4d4ec05"` | Controller image. |
| controller.image | string | `"public.ecr.aws/karpenter/controller:v0.14.0@sha256:70dba2afffdbb8a30547a35a546147b121f9e3c4a72253186476bfb12b740e80"` | Controller image. |
| controller.logEncoding | string | `""` | Controller log encoding, defaults to the global log encoding |
| controller.logLevel | string | `""` | Controller log level, defaults to the global log level |
| controller.resources | object | `{"limits":{"cpu":1,"memory":"1Gi"},"requests":{"cpu":1,"memory":"1Gi"}}` | Resources for the controller pod. |
Expand Down Expand Up @@ -80,7 +80,7 @@ helm upgrade --install --namespace karpenter --create-namespace \
| topologySpreadConstraints | list | `[{"maxSkew":1,"topologyKey":"topology.kubernetes.io/zone","whenUnsatisfiable":"ScheduleAnyway"}]` | topologySpreadConstraints to increase the controller resilience |
| webhook.env | list | `[]` | Additional environment variables for the webhook pod. |
| webhook.extraVolumeMounts | list | `[]` | Additional volumeMounts for the webhook pod. |
| webhook.image | string | `"public.ecr.aws/karpenter/webhook:v0.14.0-rc.0@sha256:be351e160b701f6c13c8fce7dcda79779adb657ff5c2cc894220b2bd57fa6184"` | Webhook image. |
| webhook.image | string | `"public.ecr.aws/karpenter/webhook:v0.14.0@sha256:35dbf731409365127692b6c346193d9564c91ee4e4a58c679222568ff66eb173"` | Webhook image. |
| webhook.logEncoding | string | `""` | Webhook log encoding, defaults to the global log encoding |
| webhook.logLevel | string | `""` | Webhook log level, defaults to the global log level |
| webhook.port | int | `8443` | The container port to use for the webhook. |
Expand Down
4 changes: 2 additions & 2 deletions charts/karpenter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ extraVolumes: []

controller:
# -- Controller image.
image: "public.ecr.aws/karpenter/controller:v0.14.0-rc.0@sha256:f87857bea61b2961ce95933a8a79f656493a5e7fa87434c88a82a8f2f4d4ec05"
image: "public.ecr.aws/karpenter/controller:v0.14.0@sha256:70dba2afffdbb8a30547a35a546147b121f9e3c4a72253186476bfb12b740e80"
# -- SecurityContext for the controller container.
securityContext: {}
# -- Additional environment variables for the controller pod.
Expand Down Expand Up @@ -126,7 +126,7 @@ controller:
batchIdleDuration: 1s
webhook:
# -- Webhook image.
image: "public.ecr.aws/karpenter/webhook:v0.14.0-rc.0@sha256:be351e160b701f6c13c8fce7dcda79779adb657ff5c2cc894220b2bd57fa6184"
image: "public.ecr.aws/karpenter/webhook:v0.14.0@sha256:35dbf731409365127692b6c346193d9564c91ee4e4a58c679222568ff66eb173"
# -- SecurityContext for the webhook container.
securityContext: {}
# -- The container port to use for the webhook.
Expand Down
4 changes: 2 additions & 2 deletions pkg/cloudprovider/aws/zz_generated.pricing.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ package aws

import "time"

// generated at 2022-07-29T18:57:55Z for us-east-1
// generated at 2022-08-10T16:58:22Z for us-east-1

var initialPriceUpdate, _ = time.Parse(time.RFC3339, "2022-07-29T18:57:55Z")
var initialPriceUpdate, _ = time.Parse(time.RFC3339, "2022-08-10T16:58:22Z")
var initialOnDemandPrices = map[string]float64{
// a1 family
"a1.2xlarge": 0.204000, "a1.4xlarge": 0.408000, "a1.large": 0.051000, "a1.medium": 0.025500,
Expand Down
5 changes: 3 additions & 2 deletions pkg/cloudprovider/fake/instancetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ func InstanceTypesAssorted() []cloudprovider.InstanceType {
// InstanceTypes creates instance types with incrementing resources
// 2Gi of RAM and 10 pods for every 1vcpu
// i.e. 1vcpu, 2Gi mem, 10 pods
// 2vcpu, 4Gi mem, 20 pods
// 3vcpu, 6Gi mem, 30 pods
//
// 2vcpu, 4Gi mem, 20 pods
// 3vcpu, 6Gi mem, 30 pods
func InstanceTypes(total int) []cloudprovider.InstanceType {
instanceTypes := []cloudprovider.InstanceType{}
for i := 0; i < total; i++ {
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/counter/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
12 changes: 7 additions & 5 deletions pkg/test/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ simultaneously, as the ports are randomized. A common use case for this is
parallel tests using ginkgo's parallelization functionality. The environment is
typically instantiated once in a test file and re-used between different test
cases. Resources for each test should be isolated into its own namespace.
env := new Local(func(local *Local) {
// Register test controller with manager
controllerruntime.NewControllerManagedBy(local.Manager).For(...)
return nil
})
env := new Local(func(local *Local) {
// Register test controller with manager
controllerruntime.NewControllerManagedBy(local.Manager).For(...)
return nil
})
BeforeSuite(func() { env.Start() })
AfterSuite(func() { env.Stop() })
*/
Expand Down
6 changes: 3 additions & 3 deletions website/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ params:
url: 'https://slack.k8s.io/'
icon: fab fa-slack
desc: 'Chat with us on Slack in the #aws-provider channel'
latest_release_version: v0.13.2
latest_release_version: v0.14.0
versions:
- "v0.14.0"
- "v0.13.2"
- "v0.12.1"
- "v0.11.1"
- "v0.10.1"
- "preview"
menu:
main:
Expand All @@ -81,5 +81,5 @@ menu:
pre: <i class='fab fa-github'></i>
- name: Docs
weight: 20
url: '/v0.13.2/'
url: '/v0.14.0/'
pre: <i class='fas fa-book'></i>
Loading

0 comments on commit 9dc885c

Please sign in to comment.