Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for sresource (2.94 sec)

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

    		Path:              "/api/v1/test",
    		Verb:              "test",
    		APIPrefix:         "api",
    		APIGroup:          apiGroup,
    		APIVersion:        "v1",
    		Namespace:         "",
    		Resource:          resource,
    		Subresource:       "",
    		Name:              "",
    		Parts:             []string{"test"},
    	}
    }
    
    func TestQualifiedResource(t *testing.T) {
    	podA := &example.Pod{
    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/kubelet/kubelet_pods_test.go

    	CPU1AndMem1G := v1.ResourceList{v1.ResourceCPU: resource.MustParse("1"), v1.ResourceMemory: resource.MustParse("1Gi")}
    	CPU1AndMem1GAndStorage2G := CPU1AndMem1G.DeepCopy()
    	CPU1AndMem1GAndStorage2G[v1.ResourceEphemeralStorage] = resource.MustParse("2Gi")
    	CPU1AndMem1GAndStorage2GAndCustomResource := CPU1AndMem1GAndStorage2G.DeepCopy()
    	CPU1AndMem1GAndStorage2GAndCustomResource["unknown-resource"] = resource.MustParse("1")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet.go

    	for _, c := range pod.Spec.Containers {
    		if cs, ok := podutil.GetContainerStatus(podStatus.ContainerStatuses, c.Name); ok {
    			if cs.Resources == nil {
    				continue
    			}
    			if !cmp.Equal(c.Resources.Limits, cs.Resources.Limits) || !cmp.Equal(cs.AllocatedResources, cs.Resources.Requests) {
    				return true
    			}
    		}
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/queue/scheduling_queue_test.go

    			},
    		},
    		{
    			name: "If event with '*' Resource, queueing hint function for specified Resource is also executed",
    			podInfo: &framework.QueuedPodInfo{
    				UnschedulablePlugins: sets.New("fooPlugin1"),
    				PodInfo:              mustNewPodInfo(st.MakePod().Name("pod1").Namespace("ns1").UID("1").Obj()),
    			},
    			event:                  framework.ClusterEvent{Resource: framework.Node, ActionType: framework.Add},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  5. cluster/gce/gci/configure-helper.sh

      - name: fluentd-gcp
        resources:
          requests:
          - resource: cpu
            base: ${FLUENTD_GCP_CPU_REQUEST:-}
          - resource: memory
            base: ${FLUENTD_GCP_MEMORY_REQUEST:-}
          limits:
          - resource: memory
            base: ${FLUENTD_GCP_MEMORY_LIMIT:-}
    EOF
    }
    
    # Trigger background process that will ultimately update fluentd resource
    # requirements.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    		}
    	}
    
    	writeSuccessResponseJSON(w, dataUsageInfoJSON)
    }
    
    func lriToLockEntry(l lockRequesterInfo, now time.Time, resource, server string) *madmin.LockEntry {
    	entry := &madmin.LockEntry{
    		Timestamp:  l.Timestamp,
    		Elapsed:    now.Sub(l.Timestamp),
    		Resource:   resource,
    		ServerList: []string{server},
    		Source:     l.Source,
    		Owner:      l.Owner,
    		ID:         l.UID,
    		Quorum:     l.Quorum,
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  7. pkg/volume/util/operationexecutor/operation_generator.go

    	pvcSpecSize := pvc.Spec.Resources.Requests[v1.ResourceStorage]
    	pvcStatusSize := pvc.Status.Capacity[v1.ResourceStorage]
    	pvSize := pv.Spec.Capacity[v1.ResourceStorage]
    
    	resizeResponse := inTreeResizeResponse{
    		pvc:          pvc,
    		pv:           pv,
    		resizeCalled: false,
    	}
    
    	// by default we are expanding to fulfill size requested in pvc.Spec.Resources
    	newSize := pvcSpecSize
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

            GetOpsSummary(resource_ops_, /*summary_title=*/"Resource");
        LOG(WARNING) << "Graph contains the following resource op(s), that use(s) "
                        "resource type. Currently, the "
                        "resource type is not natively supported in TFLite. Please "
                        "consider not using the resource type if there are issues "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    		}
    
    		if path.Clean(actualError.Resource) != pathJoin(SlashSeparator, testCase.bucketName, testCase.objectName) {
    			t.Fatalf("Test %d: %s: Unexpected resource, expected %s, got %s", i+1, instanceType, pathJoin(SlashSeparator, testCase.bucketName, testCase.objectName), actualError.Resource)
    		}
    
    		// Verify response of the V2 signed HTTP request.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  10. pkg/config/validation/validation.go

    		// 'x-envoy-retry-grpc-on' supported policies:
    		// https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-grpc-on
    		"cancelled",
    		"deadline-exceeded",
    		"internal",
    		"resource-exhausted",
    		"unavailable",
    	)
    
    	// golang supported methods: https://golang.org/src/net/http/method.go
    	supportedMethods = sets.New(
    		http.MethodGet,
    		http.MethodHead,
    		http.MethodPost,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top