mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Increase loging verbosity for deleting stateful set pods
This commit is contained in:
parent
58731ae627
commit
b27157a271
@ -469,7 +469,7 @@ func (ssc *defaultStatefulSetControl) updateStatefulSet(
|
|||||||
firstUnhealthyPod.Name)
|
firstUnhealthyPod.Name)
|
||||||
return &status, nil
|
return &status, nil
|
||||||
}
|
}
|
||||||
glog.V(4).Infof("StatefulSet %s/%s terminating Pod %s for scale dowm",
|
glog.V(2).Infof("StatefulSet %s/%s terminating Pod %s for scale dowm",
|
||||||
set.Namespace,
|
set.Namespace,
|
||||||
set.Name,
|
set.Name,
|
||||||
condemned[target].Name)
|
condemned[target].Name)
|
||||||
@ -502,7 +502,7 @@ func (ssc *defaultStatefulSetControl) updateStatefulSet(
|
|||||||
|
|
||||||
// delete the Pod if it is not already terminating and does not match the update revision.
|
// delete the Pod if it is not already terminating and does not match the update revision.
|
||||||
if getPodRevision(replicas[target]) != updateRevision.Name && !isTerminating(replicas[target]) {
|
if getPodRevision(replicas[target]) != updateRevision.Name && !isTerminating(replicas[target]) {
|
||||||
glog.V(4).Infof("StatefulSet %s/%s terminating Pod %s for update",
|
glog.V(2).Infof("StatefulSet %s/%s terminating Pod %s for update",
|
||||||
set.Namespace,
|
set.Namespace,
|
||||||
set.Name,
|
set.Name,
|
||||||
replicas[target].Name)
|
replicas[target].Name)
|
||||||
|
Loading…
Reference in New Issue
Block a user