Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for sresource (2.84 sec)

  1. pkg/kubelet/kubelet_node_status_test.go

    						v1.ResourceEphemeralStorage: *resource.NewQuantity(5000, resource.BinarySI),
    					},
    					Allocatable: v1.ResourceList{
    						v1.ResourceCPU:              *resource.NewMilliQuantity(2000, resource.DecimalSI),
    						v1.ResourceMemory:           *resource.NewQuantity(10e9, resource.BinarySI),
    						v1.ResourceEphemeralStorage: *resource.NewQuantity(5000, resource.BinarySI),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  2. pkg/controller/podautoscaler/horizontal_test.go

    		verifyCPUCurrent:        true,
    		reportedLevels:          []uint64{100, 300, 500, 250, 250},
    		reportedCPURequests:     []resource.Quantity{resource.MustParse("1.0"), resource.MustParse("1.0"), resource.MustParse("1.0"), resource.MustParse("1.0"), resource.MustParse("1.0"), resource.MustParse("1.0"), resource.MustParse("1.0")},
    		useMetricsAPI:           true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    		},
    		Spec: storagemigration.StorageVersionMigrationSpec{
    			Resource: storagemigration.GroupVersionResource{
    				Group:    "test-group",
    				Version:  "test-version",
    				Resource: "test-resource",
    			},
    		},
    	}
    
    	// Columns: Name, GVRTOMIGRATE
    	expected := []metav1.TableRow{{Cells: []interface{}{"print-test", "test-resource.test-version.test-group"}}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/helpers_test.go

    		pod5: newPodDiskStats(pod5, resource.MustParse("500Mi"), resource.MustParse("200Mi"), resource.MustParse("100Mi")), // -200 relative to request
    		pod6: newPodDiskStats(pod6, resource.MustParse("50Mi"), resource.MustParse("100Mi"), resource.MustParse("50Mi")),   // -800 relative to request
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        func @write_only_resource(%value: tensor<i32>, %resource: tensor<*x!tf_type.resource<tensor<i32>>>) {
          %resource_read = "tf.ReadVariableOp"(%resource) : (tensor<*x!tf_type.resource<tensor<i32>>>) -> tensor<i32>
          %0 = "tf_device.cluster_func"(%value, %resource_read) {func = @cluster} : (tensor<i32>, tensor<i32>) -> tensor<i32>
          "tf.AssignVariableOp"(%resource, %0) : (tensor<*x!tf_type.resource<tensor<i32>>>, tensor<i32>) -> ()
          return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  6. pkg/controller/garbagecollector/garbagecollector_test.go

    	tweakableRM.AddSpecific(schema.GroupVersionKind{Version: "v1", Kind: "Secret"}, schema.GroupVersionResource{Version: "v1", Resource: "secrets"}, schema.GroupVersionResource{Version: "v1", Resource: "secret"}, meta.RESTScopeNamespace)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_test.go

    	resourceQuantity0 := *resource.NewQuantity(int64(0), resource.DecimalSI)
    	resourceQuantity1 := *resource.NewQuantity(int64(1), resource.DecimalSI)
    	resourceQuantity2 := *resource.NewQuantity(int64(2), resource.DecimalSI)
    	resourceQuantityInvalid := *resource.NewQuantity(int64(-1), resource.DecimalSI)
    	allowedPodQuantity := *resource.NewQuantity(int64(10), resource.DecimalSI)
    	nodes := []*v1.Node{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  8. pkg/api/pod/util_test.go

    						Image:              "image",
    						AllocatedResources: api.ResourceList{api.ResourceCPU: resource.MustParse("100m")},
    						Resources: &api.ResourceRequirements{
    							Requests: api.ResourceList{api.ResourceCPU: resource.MustParse("200m")},
    							Limits:   api.ResourceList{api.ResourceCPU: resource.MustParse("300m")},
    						},
    					},
    				},
    			},
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers.go

    	}
    
    	resources := make([]api.ResourceName, 0, len(resourceQuota.Status.Hard))
    	for resource := range resourceQuota.Status.Hard {
    		resources = append(resources, resource)
    	}
    	sort.Sort(SortableResourceNames(resources))
    
    	requestColumn := bytes.NewBuffer([]byte{})
    	limitColumn := bytes.NewBuffer([]byte{})
    	for i := range resources {
    		w := requestColumn
    		resource := resources[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  10. pkg/kubelet/eviction/eviction_manager_test.go

    	case "container-ephemeral-storage-limit":
    		podStats = newPodMemoryStats(pod, *resource.NewQuantity(limits.StorageEphemeral().Value(), resource.BinarySI))
    	case "pod-ephemeral-storage-limit":
    		podStats = newPodMemoryStats(pod, *resource.NewQuantity(limits.StorageEphemeral().Value()*2, resource.BinarySI))
    	default:
    		podStats = newPodMemoryStats(pod, resource.MustParse(memoryWorkingSet))
    	}
    	return pod, podStats
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top