Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for preStop (0.17 sec)

  1. staging/src/k8s.io/api/core/v1/types.go

    	// or until the termination grace period is reached.
    	// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
    	// +optional
    	PreStop *LifecycleHandler `json:"preStop,omitempty" protobuf:"bytes,2,opt,name=preStop"`
    }
    
    type ConditionStatus string
    
    // These are valid condition statuses. "ConditionTrue" means a resource is in the condition.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/core/v1/generated.proto

      optional LifecycleHandler postStart = 1;
    
      // PreStop is called immediately before a container is terminated due to an
      // API request or management event such as liveness/startup probe failure,
      // preemption, resource contention, etc. The handler is not called if the
      // container crashes or exits. The Pod's termination grace period countdown begins before the
      // PreStop hook is executed. Regardless of the outcome of the handler, the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  3. pkg/apis/core/types.go

    	// +optional
    	PostStart *LifecycleHandler
    	// PreStop is called immediately before a container is terminated due to an
    	// API request or management event such as liveness/startup probe failure,
    	// preemption, resource contention, etc. The handler is not called if the
    	// container crashes or exits. The Pod's termination grace period countdown begins before the
    	// PreStop hook is executed. Regardless of the outcome of the handler, the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    	"preStop":   "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/generated.proto

      optional LifecycleHandler postStart = 1;
    
      // PreStop is called immediately before a container is terminated due to an
      // API request or management event such as liveness/startup probe failure,
      // preemption, resource contention, etc. The handler is not called if the
      // container crashes or exits. The Pod's termination grace period countdown begins before the
      // PreStop hook is executed. Regardless of the outcome of the handler, the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/zz_generated.conversion.go

    }
    
    func autoConvert_v1_Lifecycle_To_core_Lifecycle(in *v1.Lifecycle, out *core.Lifecycle, s conversion.Scope) error {
    	out.PostStart = (*core.LifecycleHandler)(unsafe.Pointer(in.PostStart))
    	out.PreStop = (*core.LifecycleHandler)(unsafe.Pointer(in.PreStop))
    	return nil
    }
    
    // Convert_v1_Lifecycle_To_core_Lifecycle is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  7. pkg/apis/core/validation/validation.go

    		allErrs = append(allErrs, validateHandler(handlerFromLifecycle(lifecycle.PostStart), gracePeriod, fldPath.Child("postStart"))...)
    	}
    	if lifecycle.PreStop != nil {
    		allErrs = append(allErrs, validateHandler(handlerFromLifecycle(lifecycle.PreStop), gracePeriod, fldPath.Child("preStop"))...)
    	}
    	return allErrs
    }
    
    var supportedPullPolicies = sets.New(
    	core.PullAlways,
    	core.PullIfNotPresent,
    	core.PullNever)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__batch__v1_openapi.json

              },
              "preStop": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.api.core.v1.LifecycleHandler"
                  }
                ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 485.4K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.29.md

    - A new sleep action for the `PreStop` lifecycle hook was added, allowing containers to pause for a specified duration before termination. ([#119026](https://github.com/kubernetes/kubernetes/pull/119026), [@AxeZhan](https://github.com/AxeZhan))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 03:42:38 UTC 2024
    - 324.5K bytes
    - Viewed (0)
  10. prow/config/calico.yaml

                  value: "true"
              securityContext:
                privileged: true
              resources:
                requests:
                  cpu: 250m
              lifecycle:
                preStop:
                  exec:
                    command:
                    - /bin/calico-node
                    - -shutdown
              livenessProbe:
                exec:
                  command:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 246.5K bytes
    - Viewed (0)
Back to top