Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
autoscaler
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
kubernetes
autoscaler
Commits
03e6b279
Unverified
Commit
03e6b279
authored
6 months ago
by
Robin D.
Committed by
GitHub
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
chore: remove unnecessary logs on fast delete and add a relevant note (#7736)
parent
7e8c41d1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cluster-autoscaler/cloudprovider/azure/azure_scale_set_instance_cache.go
+2
-2
2 additions, 2 deletions
...ler/cloudprovider/azure/azure_scale_set_instance_cache.go
with
2 additions
and
2 deletions
cluster-autoscaler/cloudprovider/azure/azure_scale_set_instance_cache.go
+
2
−
2
View file @
03e6b279
...
...
@@ -231,7 +231,8 @@ func (scaleSet *ScaleSet) instanceStatusFromVM(vm *compute.VirtualMachineScaleSe
// ProvisioningState represents the most recent provisioning state, therefore only report
// InstanceCreating errors when the power state indicates the instance has not yet started running
if
!
isRunningVmPowerState
(
powerState
)
{
klog
.
V
(
4
)
.
Infof
(
"VM %s reports failed provisioning state with non-running power state: %s"
,
*
vm
.
ID
,
powerState
)
// This fast deletion relies on the fact that InstanceCreating + ErrorInfo will subsequently trigger a deletion.
// Could be revisited to rely on something more stable/explicit.
status
.
State
=
cloudprovider
.
InstanceCreating
status
.
ErrorInfo
=
&
cloudprovider
.
InstanceErrorInfo
{
ErrorClass
:
cloudprovider
.
OutOfResourcesErrorClass
,
...
...
@@ -239,7 +240,6 @@ func (scaleSet *ScaleSet) instanceStatusFromVM(vm *compute.VirtualMachineScaleSe
ErrorMessage
:
"Azure failed to provision a node for this node group"
,
}
}
else
{
klog
.
V
(
5
)
.
Infof
(
"VM %s reports a failed provisioning state but is running (%s)"
,
*
vm
.
ID
,
powerState
)
status
.
State
=
cloudprovider
.
InstanceRunning
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment