Skip to content

Commit

Permalink
Merge pull request #20 from kilosonc/revert
Browse files Browse the repository at this point in the history
Revert "fix: pod status terminating check in rollout"
  • Loading branch information
kilosonc authored Feb 15, 2023
2 parents 97834e9 + 35d409e commit 7cc3e34
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/cluster/cd/workload/rollout/rollout.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ func (r *rollout) IsHealthy(node *v1alpha1.ResourceNode,
templateHashSum := computePodSpecHash(instance.Spec.Template.Spec)
OUTTER:
for _, pod := range pods.Items {
if dt := pod.ObjectMeta.DeletionTimestamp; dt != nil {
log.Debugf(context.TODO(), "[workload rollout: %v]: pod(%v) is terminating", node.Name, pod.Name)
continue
}
if pod.Status.Phase != "Running" {
log.Debugf(context.TODO(), "[workload rollout: %v]: pod(%v) is not Running", node.Name, pod.Name)
continue
Expand Down

0 comments on commit 7cc3e34

Please sign in to comment.