Skip to content

Commit

Permalink
Merge pull request #939 from ginglis13/update-karpenter-sdk
Browse files Browse the repository at this point in the history
Update Karpenter and bottlerocket-sdk versions
  • Loading branch information
ginglis13 authored Oct 4, 2024
2 parents d93c978 + e91b6de commit 0347c22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SHELL = /bin/bash
TOP := $(dir $(firstword $(MAKEFILE_LIST)))

# Variables we update as newer versions are released
BOTTLEROCKET_SDK_VERSION = v0.42.0
BOTTLEROCKET_SDK_VERSION = v0.45.0
BOTTLEROCKET_SDK_ARCH = $(TESTSYS_BUILD_HOST_UNAME_ARCH)
BOTTLEROCKET_TOOLS_VERSION ?= v0.9.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use std::time::Duration;
use testsys_model::{Configuration, SecretName};
use tokio::fs::read_to_string;

const KARPENTER_VERSION: &str = "0.37.0";
const KARPENTER_VERSION: &str = "1.0.5";
const CLUSTER_KUBECONFIG: &str = "/local/cluster.kubeconfig";
const PROVISIONER_YAML: &str = "/local/provisioner.yaml";
const TAINTED_NODEGROUP_NAME: &str = "tainted-nodegroup";
Expand Down Expand Up @@ -517,7 +517,7 @@ impl Create for Ec2KarpenterCreator {
};

let provisioner = format!(
r#"apiVersion: karpenter.sh/v1beta1
r#"apiVersion: karpenter.sh/v1
kind: NodePool
metadata:
name: default
Expand All @@ -526,6 +526,8 @@ spec:
spec:
nodeClassRef:
name: my-provider
group: karpenter.k8s.aws
kind: EC2NodeClass
requirements:
- key: kubernetes.io/arch
operator: In
Expand All @@ -535,7 +537,7 @@ spec:
values: ['on-demand']
{}
---
apiVersion: karpenter.k8s.aws/v1beta1
apiVersion: karpenter.k8s.aws/v1
kind: EC2NodeClass
metadata:
name: my-provider
Expand Down

0 comments on commit 0347c22

Please sign in to comment.