Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
Those are changes which touch users required by Termination Notice Addresses #6804
This commit is contained in:
@@ -103,7 +103,7 @@ func ServeImageOrFail(c *client.Client, test string, image string) {
|
||||
if err != nil {
|
||||
Logf("Failed to cleanup replication controller %v: %v.", controller.Name, err)
|
||||
}
|
||||
if _, err = rcReaper.Stop(ns, controller.Name); err != nil {
|
||||
if _, err = rcReaper.Stop(ns, controller.Name, nil); err != nil {
|
||||
Logf("Failed to stop replication controller %v: %v.", controller.Name, err)
|
||||
}
|
||||
}()
|
||||
|
Reference in New Issue
Block a user