Surface available/unavailable pods in deployment describer
This commit is contained in:
		@@ -1591,7 +1591,7 @@ func (dd *DeploymentDescriber) Describe(namespace, name string) (string, error)
 | 
			
		||||
		fmt.Fprintf(out, "CreationTimestamp:\t%s\n", d.CreationTimestamp.Time.Format(time.RFC1123Z))
 | 
			
		||||
		fmt.Fprintf(out, "Labels:\t%s\n", labels.FormatLabels(d.Labels))
 | 
			
		||||
		fmt.Fprintf(out, "Selector:\t%s\n", labels.FormatLabels(d.Spec.Selector))
 | 
			
		||||
		fmt.Fprintf(out, "Replicas:\t%d updated / %d total\n", d.Status.UpdatedReplicas, d.Spec.Replicas)
 | 
			
		||||
		fmt.Fprintf(out, "Replicas:\t%d updated | %d total | %d available | %d unavailable\n", d.Status.UpdatedReplicas, d.Spec.Replicas, d.Status.AvailableReplicas, d.Status.UnavailableReplicas)
 | 
			
		||||
		fmt.Fprintf(out, "StrategyType:\t%s\n", d.Spec.Strategy.Type)
 | 
			
		||||
		if d.Spec.Strategy.RollingUpdate != nil {
 | 
			
		||||
			ru := d.Spec.Strategy.RollingUpdate
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user