Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for deletionTimestamp (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	}
    	testcases := []struct {
    		name                    string
    		deletionTimestamp       *metav1.Time
    		expectDeletionTimestamp *metav1.Time
    	}{
    		{
    			name:                    "unset",
    			deletionTimestamp:       nil,
    			expectDeletionTimestamp: newTimePointer(now),
    		},
    		{
    			name:                    "set to future",
    			deletionTimestamp:       newTimePointer(soon),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    				buildPod().uid("b").phase(v1.PodFailed).trackingFinalizer().deletionTimestamp().Pod,
    				buildPod().uid("c").phase(v1.PodRunning).trackingFinalizer().deletionTimestamp().Pod,
    				buildPod().uid("d").phase(v1.PodPending).trackingFinalizer().deletionTimestamp().Pod,
    				buildPod().uid("e").phase(v1.PodRunning).deletionTimestamp().Pod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  3. pkg/controller/daemon/daemon_controller_test.go

    		now := metav1.Now()
    		ds.DeletionTimestamp = &now
    		_, ctx := ktesting.NewTestContext(t)
    		manager, podControl, _, err := newTestController(ctx, ds)
    		if err != nil {
    			t.Fatalf("error creating DaemonSets controller: %v", err)
    		}
    		addNodes(manager.nodeStore, 0, 5, nil)
    
    		// Lister (cache) says it's NOT deleted.
    		ds2 := *ds
    		ds2.DeletionTimestamp = nil
    		err = manager.dsStore.Add(&ds2)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  4. pkg/printers/internalversion/printers.go

    			if hasPodReadyCondition(pod.Status.Conditions) {
    				reason = "Running"
    			} else {
    				reason = "NotReady"
    			}
    		}
    	}
    
    	if pod.DeletionTimestamp != nil && pod.Status.Reason == node.NodeUnreachablePodReason {
    		reason = "Unknown"
    	} else if pod.DeletionTimestamp != nil && !podutil.IsPodPhaseTerminal(apiv1.PodPhase(podPhase)) {
    		reason = "Terminating"
    	}
    
    	restartsStr := strconv.Itoa(restarts)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/apis__scheduling.k8s.io__v1_openapi.json

                "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
                "format": "int64",
                "type": "integer"
              },
              "deletionTimestamp": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 116.6K bytes
    - Viewed (0)
  6. api/openapi-spec/v3/apis__certificates.k8s.io__v1alpha1_openapi.json

                "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
                "format": "int64",
                "type": "integer"
              },
              "deletionTimestamp": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 119K bytes
    - Viewed (0)
  7. api/openapi-spec/v3/apis__storage.k8s.io__v1alpha1_openapi.json

                "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
                "format": "int64",
                "type": "integer"
              },
              "deletionTimestamp": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 117.5K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__storagemigration.k8s.io__v1alpha1_openapi.json

                "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
                "format": "int64",
                "type": "integer"
              },
              "deletionTimestamp": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 133.3K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__node.k8s.io__v1_openapi.json

                "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
                "format": "int64",
                "type": "integer"
              },
              "deletionTimestamp": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 122.9K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__internal.apiserver.k8s.io__v1alpha1_openapi.json

                "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
                "format": "int64",
                "type": "integer"
              },
              "deletionTimestamp": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 133.2K bytes
    - Viewed (0)
Back to top