Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for nodeResources (0.23 sec)

  1. pkg/scheduler/framework/plugins/noderesources/fit.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package noderesources
    
    import (
    	"context"
    	"fmt"
    	"strings"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/klog/v2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package noderesources
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/require"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  3. plugin/pkg/admission/noderestriction/admission_test.go

    			err:        "",
    		},
    		{
    			name:       "allow create of my node pulling name from object",
    			podsGetter: noExistingPods,
    			attributes: admission.NewAttributesRecord(mynodeObj, nil, nodeKind, mynodeObj.Namespace, "mynode", nodeResource, "", admission.Create, &metav1.CreateOptions{}, false, mynode),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/core/v1/generated.proto

      // +optional
      optional string path = 1;
    }
    
    // NodeResources is an object for conveying resource information about a node.
    // see https://kubernetes.io/docs/concepts/architecture/nodes/#capacity for more details.
    message NodeResources {
      // Capacity represents the available resources of a node
      map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters_test.go

    		"have-resources": {
    			resources:       node1Resources,
    			class:           class1,
    			classParameters: classParametersEmpty,
    			claimParameters: claimParametersOne,
    
    			expectNodeResults: nodeResults{
    				node1: {isSuitable: true, driverName: driver1, allocation: instance1Allocation},
    			},
    		},
    
    		"broken-cel": {
    			resources:       node1Resources,
    			class:           class1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.28.md

    - Migrated the noderesources scheduler plugin to use [contextual logging](https://k8s.io/docs/concepts/cluster-administration/system-logs/#contextual-logging). ([#116748](https://github.com/kubernetes/kubernetes/pull/116748), [@mengjiao-liu](https://github.com/mengjiao-liu))...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:47:59 UTC 2024
    - 408.3K bytes
    - Viewed (1)
  7. plugin/pkg/admission/noderestriction/admission.go

    	}
    	if p.nodesGetter == nil {
    		return fmt.Errorf("%s requires a node getter", PluginName)
    	}
    	return nil
    }
    
    var (
    	podResource           = api.Resource("pods")
    	nodeResource          = api.Resource("nodes")
    	pvcResource           = api.Resource("persistentvolumeclaims")
    	svcacctResource       = api.Resource("serviceaccounts")
    	leaseResource         = coordapi.Resource("leases")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. pkg/generated/openapi/zz_generated.openapi.go

    							Extensions: spec.Extensions{
    								"x-kubernetes-list-type": "atomic",
    							},
    						},
    						SchemaProps: spec.SchemaProps{
    							Description: "IgnoredResources is the list of resources that NodeResources fit filter should ignore. This doesn't apply to scoring.",
    							Type:        []string{"array"},
    							Items: &spec.SchemaOrArray{
    								Schema: &spec.Schema{
    									SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top