Commit b27157a2 authored by Marek Grabowski's avatar Marek Grabowski

Increase loging verbosity for deleting stateful set pods

parent 58731ae6
...@@ -469,7 +469,7 @@ func (ssc *defaultStatefulSetControl) updateStatefulSet( ...@@ -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( ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment