Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 507 for Pids (0.09 sec)

  1. pkg/kubelet/eviction/helpers.go

    	resourceInodes v1.ResourceName = "inodes"
    	// resourcePids, number. internal to this module, used to account for local pid consumption.
    	resourcePids v1.ResourceName = "pids"
    	// OffendingContainersKey is the key in eviction event annotations for the list of container names which exceeded their requests
    	OffendingContainersKey = "offending_containers"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/eviction_manager_test.go

    		wantPodStatus v1.PodStatus
    	}{
    		"eviction due to pid pressure": {
    			wantPodStatus: v1.PodStatus{
    				Phase:   v1.PodFailed,
    				Reason:  "Evicted",
    				Message: "The node was low on resource: pids. Threshold quantity: 1200, available: 500. ",
    			},
    		},
    	}
    	for name, tc := range testCases {
    		for _, enablePodDisruptionConditions := range []bool{true, false} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. cmd/kubelet/app/options/options.go

    	fs.Int64Var(&c.PodPidsLimit, "pod-max-pids", c.PodPidsLimit, "Set the maximum number of processes per pod.  If -1, the kubelet defaults to the node allocatable pid capacity.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  4. cmd/kubelet/app/server.go

    	for k, v := range m {
    		switch v1.ResourceName(k) {
    		// CPU, memory, local storage, and PID resources are supported.
    		case v1.ResourceCPU, v1.ResourceMemory, v1.ResourceEphemeralStorage, pidlimit.PIDs:
    			q, err := resource.ParseQuantity(v)
    			if err != nil {
    				return nil, fmt.Errorf("failed to parse quantity %q for %q resource: %w", v, k, err)
    			}
    			if q.Sign() == -1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/users/users_linux.go

    // and assigns UIDs and GIDs to the users and groups to be created based on a list of provided UIDs and GIDs.
    // Returns an error if not enough UIDs or GIDs are passed. It does not perform any other validation.
    func assignUserAndGroupIDs(groups, usersToCreate, groupsToCreate []*entry, uids, gids []int64) error {
    	if len(gids) < len(groupsToCreate) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/users/users_linux_test.go

    		groupsToCreate []*entry
    		uids           []int64
    		gids           []int64
    		expectedUsers  []*entry
    		expectedGroups []*entry
    		expectedError  bool
    	}{
    		{
    			name: "not enough UIDs",
    			usersToCreate: []*entry{
    				{name: "foo"},
    				{name: "bar"},
    			},
    			uids:          []int64{100},
    			expectedError: true,
    		},
    		{
    			name: "not enough GIDs",
    			groupsToCreate: []*entry{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 16.3K bytes
    - Viewed (0)
  7. pkg/kubelet/userns/userns_manager.go

    			return nil, err
    		}
    	}
    
    	var uids []*runtimeapi.IDMapping
    	var gids []*runtimeapi.IDMapping
    
    	for _, u := range userNs.UIDMappings {
    		uids = append(uids, &runtimeapi.IDMapping{
    			HostId:      u.HostId,
    			ContainerId: u.ContainerId,
    			Length:      u.Length,
    		})
    	}
    	for _, g := range userNs.GIDMappings {
    		gids = append(gids, &runtimeapi.IDMapping{
    			HostId:      g.HostId,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. src/internal/zstd/testdata/fcf30b99.zero-dictionary-ids.zst

    fcf30b99.zero-dictionary-ids.zst hello hello hello...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 17:56:15 UTC 2023
    - 64 bytes
    - Viewed (0)
  9. src/os/user/user_test.go

    		} else {
    			t.Skipf("skipping: %v", err)
    		}
    	}
    
    	gids, err := user.GroupIds()
    	if err != nil {
    		t.Fatalf("%+v.GroupIds(): %v", user, err)
    	}
    	if !containsID(gids, user.Gid) {
    		t.Errorf("%+v.GroupIds() = %v; does not contain user GID %s", user, gids, user.Gid)
    	}
    }
    
    func containsID(ids []string, id string) bool {
    	for _, x := range ids {
    		if x == id {
    			return true
    		}
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 15:59:43 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. src/os/proc.go

    func Getegid() int { return syscall.Getegid() }
    
    // Getgroups returns a list of the numeric ids of groups that the caller belongs to.
    //
    // On Windows, it returns [syscall.EWINDOWS]. See the [os/user] package
    // for a possible alternative.
    func Getgroups() ([]int, error) {
    	gids, e := syscall.Getgroups()
    	return gids, NewSyscallError("getgroups", e)
    }
    
    // Exit causes the current program to exit with the given status code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top