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
$ kubectl get nodeclaims
Error from server: conversion webhook for karpenter.sh/v1beta1, Kind=NodeClaim failed: Post "https://karpenter.kube-system.svc:8443/?timeout=30s": no service port 8443 found for service "karpenter"
The interesting thing is also that the blueprint addon sets up karpenter in karpenter namespace, not kube-system
Expected Behavior
Able to view nodeclaims using kubectl get nodeclaims
Current Behavior
$ kubectl get nodeclaims
Error from server: conversion webhook for karpenter.sh/v1beta1, Kind=NodeClaim failed: Post "https://karpenter.kube-system.svc:8443/?timeout=30s": no service port 8443 found for service "karpenter"
Reproduction Steps
import'source-map-support/register';import*ascdkfrom'aws-cdk-lib';import*asiamfrom"aws-cdk-lib/aws-iam";import*aseksfrom"aws-cdk-lib/aws-eks";import*asblueprintsfrom'@aws-quickstart/eks-blueprints';import{KubernetesVersion}from'aws-cdk-lib/aws-eks';constapp=newcdk.App();constblueprintID="test-blueprint-stack"constregion="us-west-1"constkarpenterAddOn=newblueprints.addons.KarpenterAddOn({version: 'v0.37.2',nodePoolSpec: {labels: {type: "karpenter-test"},annotations: {"eks-blueprints/owner": "platform-team"},requirements: [{key: 'node.kubernetes.io/instance-type',operator: 'In',values: ['m5.large']},{key: 'topology.kubernetes.io/zone',operator: 'In',values: [`${region}a`,`${region}c`]},{key: 'kubernetes.io/arch',operator: 'In',values: ['amd64','arm64']},{key: 'karpenter.sh/capacity-type',operator: 'In',values: ['on-demand']},// spot is also supported for cost savings, please see #2 above],disruption: {consolidationPolicy: "WhenEmpty",consolidateAfter: "30s",expireAfter: "20m",// budgets: [{nodes: "10%"}] // budgets are supported in versions 0.34+}},ec2NodeClassSpec: {amiFamily: "AL2",subnetSelectorTerms: [{tags: {"Name": `${blueprintID}/${blueprintID}-vpc/PrivateSubnet*`}}],securityGroupSelectorTerms: [{tags: {"aws:eks:cluster-name": `${blueprintID}`}}],},interruptionHandling: true,podIdentity: false,// Recommended true if using version 0.35+; otherwise, set false (as default) to use IRSA.});constblueprint=blueprints.EksBlueprint.builder().version(KubernetesVersion.V1_30).region(region).addOns(karpenterAddOn).build(app,blueprintID);consteksCluster: eks.Cluster=blueprint.getClusterInfo().clusteraseks.Cluster;constclusterUsers=["montana"]for(constuserofclusterUsers){eksCluster.awsAuth.addUserMapping(iam.User.fromUserName(eksCluster,user,user),{username: user,groups: ['system:masters']})}
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.147.3 (build 32f0fdb)
EKS Blueprints Version
1.15.1
Node.js Version
v22.5.1
Environment details (OS name and version, etc.)
macOS 14.6.1 (23G93)
Other information
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
After setting up a kubernetes cluster using the example in https://aws-quickstart.github.io/cdk-eks-blueprints/addons/karpenter/ I cannot do the following:
The interesting thing is also that the blueprint addon sets up karpenter in
karpenter
namespace, notkube-system
Expected Behavior
Able to view nodeclaims using
kubectl get nodeclaims
Current Behavior
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.147.3 (build 32f0fdb)
EKS Blueprints Version
1.15.1
Node.js Version
v22.5.1
Environment details (OS name and version, etc.)
macOS 14.6.1 (23G93)
Other information
No response
The text was updated successfully, but these errors were encountered: