mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Revert "Merge pull request #9165 from smarterclayton/graceful"
This reverts commit4f856b595d, reversing changes made tod78525a83b. Conflicts: pkg/kubelet/status_manager.go
This commit is contained in:
@@ -54,13 +54,11 @@ func newTestCacher(client tools.EtcdClient) *storage.Cacher {
|
||||
}
|
||||
|
||||
func makeTestPod(name string) *api.Pod {
|
||||
gracePeriod := int64(30)
|
||||
return &api.Pod{
|
||||
ObjectMeta: api.ObjectMeta{Namespace: "ns", Name: name},
|
||||
Spec: api.PodSpec{
|
||||
TerminationGracePeriodSeconds: &gracePeriod,
|
||||
DNSPolicy: api.DNSClusterFirst,
|
||||
RestartPolicy: api.RestartPolicyAlways,
|
||||
DNSPolicy: api.DNSClusterFirst,
|
||||
RestartPolicy: api.RestartPolicyAlways,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user