- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 190 for admitted (0.16 sec)
-
pkg/kubelet/lifecycle/interfaces.go
type PodAdmitResult struct { // if true, the pod should be admitted. Admit bool // a brief single-word reason why the pod could not be admitted. Reason string // a brief message explaining why the pod could not be admitted. Message string } // PodAdmitHandler is notified during pod admission. type PodAdmitHandler interface { // Admit evaluates if a pod can be admitted. Admit(attrs *PodAdmitAttributes) PodAdmitResult }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 22 17:25:57 UTC 2017 - 4K bytes - Viewed (0) -
pkg/kubelet/runonce.go
ch := make(chan RunPodResult) admitted := []*v1.Pod{} for _, pod := range pods { // Check if we can admit the pod. if ok, reason, message := kl.canAdmitPod(admitted, pod); !ok { kl.rejectPod(pod, reason, message) results = append(results, RunPodResult{pod, nil}) continue } admitted = append(admitted, pod) go func(pod *v1.Pod) { err := kl.runPod(ctx, pod, retryDelay)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 04 06:56:50 UTC 2023 - 5.9K bytes - Viewed (0) -
plugin/pkg/admission/namespace/exists/admission_test.go
Spec: api.PodSpec{ Volumes: []api.Volume{{Name: "vol"}}, Containers: []api.Container{{Name: "ctr", Image: "image"}}, }, } } // TestAdmissionNamespaceExists verifies pod is admitted only if namespace exists. func TestAdmissionNamespaceExists(t *testing.T) { namespace := "test" mockClient := newMockClientForTest([]string{namespace}) handler, informerFactory, err := newHandlerForTest(mockClient)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 4.4K bytes - Viewed (0) -
plugin/pkg/admission/podtolerationrestriction/doc.go
// no conflict, the pod's tolerations are merged with its namespace's // toleration. Resulting pod's tolerations are verified against its // namespace's whitelist of tolerations. If the verification is // successful, the pod is admitted otherwise rejected. If a namespace // does not have associated default or whitelist of tolerations, then // cluster level default or whitelist of tolerations are used instead
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 18:00:06 UTC 2019 - 1.5K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/types.go
// GetAllocatableDevices returns information about all the devices known to the manager GetAllocatableDevices() []*podresourcesapi.ContainerDevices } // PodsProvider knows how to provide the pods admitted by the node type PodsProvider interface { GetPods() []*v1.Pod GetPodByName(namespace, name string) (*v1.Pod, bool) } // CPUsProvider knows how to provide the cpus used by the given container
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 17:33:04 UTC 2023 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram_test.go
samplingPeriod := time.Nanosecond steppingPeriod := time.Millisecond tro.Set(1) // `dt` is the admitted cumulative difference in fake time // since the start of the test. "admitted" means this is // never allowed to decrease, which matches the designed // toleration for negative monotonic clock changes. var dt time.Duration // `t1` is the current fake time
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 13 16:03:06 UTC 2022 - 8.7K bytes - Viewed (0) -
pkg/kubelet/lifecycle/handlers.go
io.Copy(io.Discard, &io.LimitedReader{R: resp.Body, N: maxRespBodyLength}) } } // NewAppArmorAdmitHandler returns a PodAdmitHandler which is used to evaluate // if a pod can be admitted from the perspective of AppArmor. func NewAppArmorAdmitHandler(validator apparmor.Validator) PodAdmitHandler { return &appArmorAdmitHandler{ Validator: validator, } } type appArmorAdmitHandler struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 19 11:40:52 UTC 2024 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto
// corresponding increase or decrease in Mantissa) such that: // // - No precision is lost // - No fractional digits will be emitted // - The exponent (or suffix) is as large as possible. // // The sign will be omitted unless the number is negative. // // Examples: // // - 1.5 will be serialized as "1500m" // - 1.5Gi will be serialized as "1536Mi" //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 3.9K bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto
// corresponding increase or decrease in Mantissa) such that: // // - No precision is lost // - No fractional digits will be emitted // - The exponent (or suffix) is as large as possible. // // The sign will be omitted unless the number is negative. // // Examples: // // - 1.5 will be serialized as "1500m" // - 1.5Gi will be serialized as "1536Mi" //
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 3.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_build_simple.txt
# First execute without GOCOVERDIR set... env GOCOVERDIR= exec ./example.exe normal stderr '^warning: GOCOVERDIR not set, no coverage data emitted' # ... then with GOCOVERDIR set. env GOCOVERDIR=data/normal exec ./example.exe normal ! stderr '^warning: GOCOVERDIR not set, no coverage data emitted' go tool covdata percent -i=data/normal stdout 'coverage:.*[1-9][0-9.]+%' # Program makes a direct call to os.Exit(0).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 11:50:58 UTC 2022 - 3.1K bytes - Viewed (0)