code: func MinAvailable(deployment *apps.Deployment) int32 {
  	if !IsRollingUpdate(deployment) {
  		return int32(0)
  	}
  	return *(deployment.Spec.Replicas) - MaxUnavailable(*deployment)
  }
docs: // MinAvailable returns the minimum available pods of a given deployment