- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for Egrave (0.27 sec)
-
pkg/kubelet/pod_workers.go
return } } // calculateEffectiveGracePeriod sets the initial grace period for a newly terminating pod or allows a // shorter grace period to be provided, returning the desired value. func calculateEffectiveGracePeriod(status *podSyncStatus, pod *v1.Pod, options *KillPodOptions) (int64, bool) { // enforce the restriction that a grace period can only decrease and track whatever our value is,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 02 13:22:37 UTC 2024 - 74.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container.go
if probe != nil && probe.TerminationGracePeriodSeconds != nil { if *probe.TerminationGracePeriodSeconds > *pod.Spec.TerminationGracePeriodSeconds {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 54.7K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
syncPodRecords := processed[uid] var match bool grace := int64(30) for _, possible := range [][]syncPodRecord{ {{name: string(uid), updateType: kubetypes.SyncPodKill, gracePeriod: &grace}, {name: string(uid), terminated: true}}, {{name: string(uid), updateType: kubetypes.SyncPodCreate}, {name: string(uid), updateType: kubetypes.SyncPodKill, gracePeriod: &grace}, {name: string(uid), terminated: true}}, } {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers.go
if err != nil { return nil, err } for i := range softThresholds { signal := softThresholds[i].Signal period, found := gracePeriods[signal] if !found { return nil, fmt.Errorf("grace period must be specified for the soft eviction threshold %v", signal) } softThresholds[i].GracePeriod = period } results = append(results, softThresholds...) for i := range results {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 53.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go
return false } if oldMeta.GetDeletionTimestamp() == nil { // don't delete if the existing object hasn't had a delete request made return false } // delete if the existing object has no grace period or a grace period of 0 return oldMeta.GetDeletionGracePeriodSeconds() == nil || *oldMeta.GetDeletionGracePeriodSeconds() == 0 } // deleteWithoutFinalizers handles deleting an object ignoring its finalizer list.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 23:22:44 UTC 2024 - 60.8K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/options_test.go
"--namespace-sync-period=10m", "--node-cidr-mask-size=48", "--node-cidr-mask-size-ipv4=48", "--node-cidr-mask-size-ipv6=108", "--node-eviction-rate=0.2", "--node-monitor-grace-period=30s", "--node-monitor-period=10s", "--node-startup-grace-period=30s", "--profiling=false", "--pv-recycler-increment-timeout-nfs=45", "--pv-recycler-minimum-timeout-hostpath=45", "--pv-recycler-minimum-timeout-nfs=200",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 02:59:09 UTC 2024 - 55.1K bytes - Viewed (0) -
pkg/registry/core/pod/strategy_test.go
} Strategy.CheckGracefulDelete(genericapirequest.NewContext(), tc.pod, out) if out.GracePeriodSeconds == nil { t.Errorf("out grace period was nil but supposed to be %v", tc.gracePeriod) } if *(out.GracePeriodSeconds) != tc.gracePeriod { t.Errorf("out grace period was %v but was expected to be %v", *out, tc.gracePeriod) } }) } } type mockPodGetter struct { pod *api.Pod }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 76.2K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
pods, err := kubetest.NewPodFetch(t.AllClusters()[0], apps.Namespace.Name(), constants.GatewayNameLabel+"=waypoint")() assert.NoError(t, err) for _, p := range pods { grace := p.Spec.TerminationGracePeriodSeconds if grace != nil && *grace == want { return true } } return false } // check that waypoint deployment is unmodified retry.UntilOrFail(t, func() bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
pkg/controller/nodelifecycle/node_lifecycle_controller.go
// nodeMonitorGracePeriod. // TODO: Change node health monitor to watch based. nodeMonitorPeriod time.Duration // When node is just created, e.g. cluster bootstrap or node creation, we give // a longer grace period. nodeStartupGracePeriod time.Duration // Controller will not proactively sync node health, but will monitor node // health signal updated from kubelet. There are 2 kinds of node healthiness
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 51.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
// gracePeriodOverride if specified allows the caller to override the pod default grace period. // only hard kill paths are allowed to specify a gracePeriodOverride in the kubelet in order to not corrupt user data. // it is useful when doing SIGKILL for hard eviction scenarios, or max grace period during soft eviction scenarios.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0)