Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for nodeResources (0.29 sec)

  1. pkg/scheduler/framework/plugins/noderesources/requested_to_capacity_ratio_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"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/assert"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/types.go

    	// if the rejection from them could be resolved by updating unscheduled Pods themselves.
    	// Example: Pods that require excessive resources may be rejected by the noderesources plugin,
    	// if this unscheduled pod is updated to require fewer resources,
    	// the previous rejection from noderesources plugin can be resolved.
    	// this plugin would implement QueueingHint for Pod/Update event
    	// that returns Queue when such label changes are made in unscheduled Pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/least_allocated_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"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    	"k8s.io/klog/v2/ktesting"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 18.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. CHANGELOG/CHANGELOG-1.23.md

    - Migrated `pkg/scheduler/framework/preemption/preemption.go`, `pkg/scheduler/framework/plugins/examples/stateful/stateful.go`, and `pkg/scheduler/framework/plugins/noderesources/resource_allocation.go` to structured logging ([#105967](https://github.com/kubernetes/kubernetes/pull/105967), [@shivanshu1333](https://github.com/shivanshu1333)) [SIG Instrumentation, Node and Scheduling]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
  10. 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)
Back to top