--force[=false]: Continue even if there are pods not managed by a ReplicationController, Job, or DaemonSet.
--grace-period=-1: Period of time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used.
cmd.Flags().IntVar(&options.GracePeriodSeconds,"grace-period",-1,"Period of time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used.")
returnpods,fmt.Errorf("refusing to continue due to pods managed by neither a ReplicationController, nor a Job, nor a DaemonSet: %s (use --force to override)",joined)
}
fmt.Fprintf(o.out,"WARNING: About to delete these pods managed by neither a ReplicationController, nor a Job, nor a DaemonSet: %s\n",joined)
fmt.Fprintf(o.out,"WARNING: About to delete these %s\n",unmanagedMsg(unreplicatedPodNames,[]string{},false))