Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Egrave (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. CHANGELOG/CHANGELOG-1.31.md

    - Fixes a bug where hard evictions due to resource pressure would let the pod have the full termination grace period, instead of shutting down instantly. This bug also affected force deleted pods. Both cases now get a termination grace period of 1 second. ([#124063](https://github.com/kubernetes/kubernetes/pull/124063), [@olyazavr](https://github.com/olyazavr)) [SIG Node]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  10. pkg/controller/daemon/daemon_controller.go

    		// Two different versions of the same pod will always have different RVs.
    		return
    	}
    
    	if curPod.DeletionTimestamp != nil {
    		// when a pod is deleted gracefully its deletion timestamp is first modified to reflect a grace period,
    		// and after such time has passed, the kubelet actually deletes it from the store. We receive an update
    		// for modification of the deletion timestamp and expect an ds to create more replicas asap, not wait
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top