Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 223 for container_1 (0.15 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    				continue
    			}
    		}
    		if err := cgc.manager.removeContainer(ctx, containers[i].id); err != nil {
    			klog.ErrorS(err, "Failed to remove container", "containerID", containers[i].id)
    		}
    	}
    
    	// Assume we removed the containers so that we're not too aggressive.
    	return containers[:numToKeep]
    }
    
    // removeOldestNSandboxes removes the oldest inactive toRemove sandboxes and
    // returns the resulting slice.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.json

                "startedAt": "2005-01-01T01:01:01Z",
                "finishedAt": "2006-01-01T01:01:01Z",
                "containerID": "containerIDValue"
              }
            },
            "ready": true,
            "restartCount": 5,
            "image": "imageValue",
            "imageID": "imageIDValue",
            "containerID": "containerIDValue",
            "started": true,
            "allocatedResources": {
              "allocatedResourcesKey": "0"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. pkg/kube/inject/testdata/inject/multi-container.yaml

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: app
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: app
      template:
        metadata:
          labels:
            app: app
        spec:
          containers:
          - image: image
            name: name1
          - image: alpine
            name: name2
            ports:
            - containerPort: 123
              name: foo
          - name: name3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 18 21:43:45 UTC 2020
    - 397 bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go

    			for pod := range tc.assignments {
    				for container, set := range tc.assignments[pod] {
    					state.SetCPUSet(pod, container, set)
    					if cpus, _ := state.GetCPUSet(pod, container); !cpus.Equals(set) {
    						t.Fatalf("state inconsistent, got %q instead of %q", set, cpus)
    					}
    
    					state.Delete(pod, container)
    					if _, ok := state.GetCPUSet(pod, container); ok {
    						t.Fatal("deleted container still existing in state")
    					}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. pkg/kubelet/eviction/eviction_manager_test.go

    		}
    	}
    }
    
    func makeContainersByQOS(class v1.PodQOSClass) []v1.Container {
    	resource := newResourceList("100m", "1Gi", "")
    	switch class {
    	case v1.PodQOSGuaranteed:
    		return []v1.Container{newContainer("guaranteed-container", resource, resource)}
    	case v1.PodQOSBurstable:
    		return []v1.Container{newContainer("burtable-container", resource, nil)}
    	case v1.PodQOSBestEffort:
    		fallthrough
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  6. pkg/kubelet/prober/worker.go

    		}
    	}
    
    	if w.containerID.String() != c.ContainerID {
    		if !w.containerID.IsEmpty() {
    			w.resultsManager.Remove(w.containerID)
    		}
    		w.containerID = kubecontainer.ParseContainerID(c.ContainerID)
    		w.resultsManager.Set(w.containerID, w.initialValue, w.pod)
    		// We've got a new container; resume probing.
    		w.onHold = false
    	}
    
    	if w.onHold {
    		// Worker is on hold until there is a new container.
    		return true
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 01:28:06 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/memorymanager/fake_memory_manager.go

    }
    
    func (m *fakeManager) Allocate(pod *v1.Pod, container *v1.Container) error {
    	klog.InfoS("Allocate", "pod", klog.KObj(pod), "containerName", container.Name)
    	return nil
    }
    
    func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
    	klog.InfoS("Add container", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. pkg/kubelet/userns/userns_manager_test.go

    	                        "gidMappings":[ { "hostId":131072, "containerId":0, "length":userNsLength }, { "hostId":196608, "containerId":0, "length":65536 } ]
                                   }`,
    			success: false,
    		},
    		{
    			name: "two UID mappings",
    			file: `{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/topologymanager/fake_topology_manager.go

    }
    
    func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
    	klog.InfoS("AddContainer", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID)
    }
    
    func (m *fakeManager) RemoveContainer(containerID string) error {
    	klog.InfoS("RemoveContainer", "containerID", containerID)
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 18:02:07 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cpumanager/fake_cpu_manager.go

    	return pol
    }
    
    func (m *fakeManager) Allocate(pod *v1.Pod, container *v1.Container) error {
    	klog.InfoS("Allocate", "pod", klog.KObj(pod), "containerName", container.Name)
    	return nil
    }
    
    func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
    	klog.InfoS("AddContainer", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top