Skip to content

[DO NOT MERGE] more debug logs#8984

Open
ryan-mist wants to merge 3 commits intoaws:release-v1.8.5from
ryan-mist:adding-more-debug-logs
Open

[DO NOT MERGE] more debug logs#8984
ryan-mist wants to merge 3 commits intoaws:release-v1.8.5from
ryan-mist:adding-more-debug-logs

Conversation

@ryan-mist
Copy link
Contributor

@ryan-mist ryan-mist commented Feb 25, 2026

Fixes #N/A

Description

How was this change tested?
Line 403 - number of launch templates:

{"level":"DEBUG","time":"2026-02-25T21:22:11.128Z","logger":"controller","caller":"instance/instance.go:405","message":"[DEBUG] number of LTs is 3","commit":"2fe1594-dirty","controller":"nodeclaim.lifecycle","controllerGroup":"karpenter.sh","controllerKind":"NodeClaim","NodeClaim":{"name":"default-psnhx"},"namespace":"","name":"default-psnhx","reconcileID":"f27d5894-a8d7-4797-8994-cc230fed2972"}

Line 473 - offerings:

{"level":"DEBUG","time":"2026-02-25T21:49:56.118Z","logger":"controller","caller":"instance/instance.go:473","message":"[DEBUG] r6g.16xlarge : offerings len is 12 and list is [{Zone:us-west-2a CapacityType:spot Price:1.1307 Available:false} {Zone:us-west-2a CapacityType:on-demand Price:3.2256 Available:false} {Zone:us-west-2d CapacityType:on-demand Price:3.2256 Available:true} {Zone:us-west-2d CapacityType:spot Price:0.5292 Available:true} {Zone:us-west-2-lax-1a CapacityType:spot Price:0 Available:false} {Zone:us-west-2-lax-1a CapacityType:on-demand Price:3.2256 Available:false} {Zone:us-west-2-lax-1b CapacityType:spot Price:0 Available:false} {Zone:us-west-2-lax-1b CapacityType:on-demand Price:3.2256 Available:false} {Zone:us-west-2c CapacityType:on-demand Price:3.2256 Available:true} {Zone:us-west-2c CapacityType:spot Price:1.1209 Available:true} {Zone:us-west-2b CapacityType:on-demand Price:3.2256 Available:true} {Zone:us-west-2b CapacityType:spot Price:1.0708 Available:true}]","commit":"27f8874-dirty","controller":"nodeclaim.lifecycle","controllerGroup":"karpenter.sh","controllerKind":"NodeClaim","NodeClaim":{"name":"default-fnt6n"},"namespace":"","name":"default-fnt6n","reconcileID":"adc85605-1d1f-4ffd-a647-63fdec46f16e"}

Line 474 - available offerings:

{"level":"DEBUG","time":"2026-02-25T21:49:56.118Z","logger":"controller","caller":"instance/instance.go:474","message":"[DEBUG] r6g.16xlarge : available offerings len is 6 and list is [{Zone:us-west-2d CapacityType:on-demand Price:3.2256 Available:true} {Zone:us-west-2d CapacityType:spot Price:0.5292 Available:true} {Zone:us-west-2c CapacityType:on-demand Price:3.2256 Available:true} {Zone:us-west-2c CapacityType:spot Price:1.1209 Available:true} {Zone:us-west-2b CapacityType:on-demand Price:3.2256 Available:true} {Zone:us-west-2b CapacityType:spot Price:1.0708 Available:true}]","commit":"27f8874-dirty","controller":"nodeclaim.lifecycle","controllerGroup":"karpenter.sh","controllerKind":"NodeClaim","NodeClaim":{"name":"default-fnt6n"},"namespace":"","name":"default-fnt6n","reconcileID":"adc85605-1d1f-4ffd-a647-63fdec46f16e"}

Line 478 - requirements:

{"level":"DEBUG","time":"2026-02-25T21:49:56.119Z","logger":"controller","caller":"instance/instance.go:478","message":"[DEBUG] the requirements are karpenter.k8s.aws/ec2nodeclass In [default], karpenter.k8s.aws/instance-category In [c m r t], karpenter.k8s.aws/instance-generation Exists >4, karpenter.sh/capacity-type In [spot], karpenter.sh/nodepool In [default], kubernetes.io/arch In [arm64], kubernetes.io/os In [linux], node.kubernetes.io/instance-type In [c6g.12xlarge c6g.16xlarge c6g.4xlarge c6g.8xlarge c6g.metal and 148 others]","commit":"27f8874-dirty","controller":"nodeclaim.lifecycle","controllerGroup":"karpenter.sh","controllerKind":"NodeClaim","NodeClaim":{"name":"default-fnt6n"},"namespace":"","name":"default-fnt6n","reconcileID":"adc85605-1d1f-4ffd-a647-63fdec46f16e"}

Line 478 - compatible offerings:

{"level":"DEBUG","time":"2026-02-25T21:49:56.119Z","logger":"controller","caller":"instance/instance.go:488","message":"[DEBUG] the 3 compatible offerings and are [{Zone:us-west-2d CapacityType:spot Price:0.5292 Available:true} {Zone:us-west-2c CapacityType:spot Price:1.1209 Available:true} {Zone:us-west-2b CapacityType:spot Price:1.0708 Available:true}]","commit":"27f8874-dirty","controller":"nodeclaim.lifecycle","controllerGroup":"karpenter.sh","controllerKind":"NodeClaim","NodeClaim":{"name":"default-fnt6n"},"namespace":"","name":"default-fnt6n","reconcileID":"adc85605-1d1f-4ffd-a647-63fdec46f16e"}

Line 488 - zonal subnets

{"level":"DEBUG","time":"2026-02-25T21:49:56.119Z","logger":"controller","caller":"instance/instance.go:518","message":"[DEBUG] zonal subnets are [{Key:us-west-2c ID:subnet-019f532353b7f9ddd Zone:us-west-2c ZoneID:usw2-az3 AvailableIPAddressCount:8186} {Key:us-west-2d ID:subnet-05554aec17a3027d0 Zone:us-west-2d ZoneID:usw2-az4 AvailableIPAddressCount:8186} {Key:us-west-2b ID:subnet-039b35bf467ee9c6f Zone:us-west-2b ZoneID:usw2-az2 AvailableIPAddressCount:8187}]","commit":"27f8874-dirty","controller":"nodeclaim.lifecycle","controllerGroup":"karpenter.sh","controllerKind":"NodeClaim","NodeClaim":{"name":"default-fnt6n"},"namespace":"","name":"default-fnt6n","reconcileID":"adc85605-1d1f-4ffd-a647-63fdec46f16e"}

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ryan-mist ryan-mist requested a review from a team as a code owner February 25, 2026 21:31
@ryan-mist ryan-mist requested review from tzneal and removed request for a team February 25, 2026 21:31
@github-actions
Copy link
Contributor

github-actions bot commented Feb 25, 2026

Preview deployment ready!

Preview URL: https://pr-8984.d18coufmbnnaag.amplifyapp.com

Built from commit 6a9df29de16a2a9654199b3060fa019fe3d49618

Copy link
Contributor Author

@ryan-mist ryan-mist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/karpenter snapshot

@github-actions
Copy link
Contributor

Snapshot successfully published to oci://021119463062.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter:0-6a9df29de16a2a9654199b3060fa019fe3d49618.
To install you must login to the ECR repo with an AWS account:

aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 021119463062.dkr.ecr.us-east-1.amazonaws.com

helm upgrade --install karpenter oci://021119463062.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter --version "0-6a9df29de16a2a9654199b3060fa019fe3d49618" --namespace "kube-system" --create-namespace \
  --set "settings.clusterName=${CLUSTER_NAME}" \
  --set "settings.interruptionQueue=${CLUSTER_NAME}" \
  --set controller.resources.requests.cpu=1 \
  --set controller.resources.requests.memory=1Gi \
  --set controller.resources.limits.cpu=1 \
  --set controller.resources.limits.memory=1Gi \
  --wait

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant