mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +00:00
Merge pull request #87601 from aramase/bump-log-verbosity
azure: switch log verbosity for cache refresh logs
This commit is contained in:
@@ -117,7 +117,7 @@ func (ss *scaleSet) getVMSS(vmssName string, crt cacheReadType) (*compute.Virtua
|
||||
return vmss, nil
|
||||
}
|
||||
|
||||
klog.V(3).Infof("Couldn't find VMSS with name %s, refreshing the cache", vmssName)
|
||||
klog.V(2).Infof("Couldn't find VMSS with name %s, refreshing the cache", vmssName)
|
||||
ss.vmssCache.Delete(vmssKey)
|
||||
vmss, err = getter(vmssName)
|
||||
if err != nil {
|
||||
@@ -161,7 +161,7 @@ func (ss *scaleSet) getVmssVM(nodeName string, crt cacheReadType) (string, strin
|
||||
}
|
||||
|
||||
if !found {
|
||||
klog.V(3).Infof("Couldn't find VMSS VM with nodeName %s, refreshing the cache", nodeName)
|
||||
klog.V(2).Infof("Couldn't find VMSS VM with nodeName %s, refreshing the cache", nodeName)
|
||||
vmssName, instanceID, vm, found, err = getter(nodeName, cacheReadTypeForceRefresh)
|
||||
if err != nil {
|
||||
return "", "", nil, err
|
||||
@@ -231,7 +231,7 @@ func (ss *scaleSet) getVmssVMByInstanceID(resourceGroup, scaleSetName, instanceI
|
||||
return nil, err
|
||||
}
|
||||
if !found {
|
||||
klog.V(3).Infof("Couldn't find VMSS VM with scaleSetName %q and instanceID %q, refreshing the cache", scaleSetName, instanceID)
|
||||
klog.V(2).Infof("Couldn't find VMSS VM with scaleSetName %q and instanceID %q, refreshing the cache", scaleSetName, instanceID)
|
||||
vm, found, err = getter(cacheReadTypeForceRefresh)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user