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
auto_scaling_groups.go:551 log contains multi line logging in klog.
I011607:10:42.7197371 auto_scaling_groups.go:508] Instance group eks-batch-spot202407091400-ap-northeast-1a-72c85d24-0d0c-3317-6d99-xxxxxxxxxxxx has only 0 instances created while requested count is 1. Creating placeholder instances.
W011607:10:42.8154021 auto_scaling_groups.go:551] ASG eks-batch-spot202407091400-ap-northeast-1a-72c85d24-0d0c-3317-6d99-xxxxxxxxxxxx scaling failed with {
ActivityId: "4b6651b7-c98a-a0c3-5fe1-xxxxxxxxxxxx",
AutoScalingGroupARN: "arn:aws:autoscaling:ap-northeast-1:xxxxxxxxxxxx:autoScalingGroup:15be2ddc-7564-4bf2-bb35-xxxxxxxxxxxx:autoScalingGroupName/eks-batch-spot202407091400-ap-northeast-1a-72c85d24-0d0c-3317-6d99-xxxxxxxxxxxx",
AutoScalingGroupName: "eks-batch-spot202407091400-ap-northeast-1a-72c85d24-0d0c-3317-6d99-xxxxxxxxxxxx",
Cause: "At 2025-01-16T07:09:48Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.",
Description: "Launching a new EC2 instance. Status Reason: Could not launch Spot Instances. UnfulfillableCapacity - Unable to fulfill capacity due to your request configuration. Please adjust your request and try again. Launching EC2 instance failed.",
Details: "{\"Subnet ID\":\"subnet-xxxxxxxxxxxx\",\"Availability Zone\":\"ap-northeast-1a\"}",
EndTime: 2025-01-1607:09:49 +0000UTC,
Progress: 100,
StartTime: 2025-01-1607:09:49.096 +0000UTC,
StatusCode: "Failed",
StatusMessage: "Could not launch Spot Instances. UnfulfillableCapacity - Unable to fulfill capacity due to your request configuration. Please adjust your request and try again. Launching EC2 instance failed."
}
W011607:10:42.8155201 auto_scaling_groups.go:516] Instance group eks-batch-spot202407091400-ap-northeast-1a-72c85d24-0d0c-3317-6d99-xxxxxxxxxxxx cannot provision any more nodes!
I011607:10:43.0118171 auto_scaling_groups.go:161] Updated ASG cache for eks-daemon-spot-202407091400-ap-northeast-1a-56c85d24-0d05-8da9-1e78-xxxxxxxxxxxx. min/max/current is 1/450/2
Then some services cannot parse this log as correct klog such as datadog and so on.
How to reproduce it (as minimally and precisely as possible):
Which component are you using?:
/area cluster-autoscaler
What version of the component are you using?:
Component version: v1.31.1
What k8s version are you using (
kubectl version
)?:kubectl version
OutputWhat environment is this in?:
AWS EKS
What did you expect to happen?:
cluster-autoscaler always logs single-line klog output.
What happened instead?:
auto_scaling_groups.go:551
log contains multi line logging in klog.Then some services cannot parse this log as correct klog such as datadog and so on.
How to reproduce it (as minimally and precisely as possible):
just logging on
autoscaler/cluster-autoscaler/cloudprovider/aws/auto_scaling_groups.go
Line 551 in 0ddb3d3
Anything else we need to know?:
N/A
The text was updated successfully, but these errors were encountered: