Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for container_1 (0.23 sec)

  1. pkg/kubelet/reason_cache_test.go

    		kubecontainer.NewSyncResult(kubecontainer.StartContainer, "container_2"),
    		// reason cache should not be set for SyncResult with other actions
    		kubecontainer.NewSyncResult(kubecontainer.KillContainer, "container_3"),
    	}
    	results[0].Fail(kubecontainer.ErrRunContainer, "message_1")
    	results[2].Fail(kubecontainer.ErrKillContainer, "message_3")
    	syncResult.AddSyncResult(results...)
    	uid := types.UID("pod_1")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 03:33:06 UTC 2017
    - 2.4K bytes
    - Viewed (0)
  2. pkg/kubelet/container/sync_result_test.go

    limitations under the License.
    */
    
    package container
    
    import (
    	"errors"
    	"testing"
    )
    
    func TestPodSyncResult(t *testing.T) {
    	okResults := []*SyncResult{
    		NewSyncResult(StartContainer, "container_0"),
    		NewSyncResult(SetupNetwork, "pod"),
    	}
    	errResults := []*SyncResult{
    		NewSyncResult(KillContainer, "container_1"),
    		NewSyncResult(TeardownNetwork, "pod"),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 16:48:17 UTC 2019
    - 2K bytes
    - Viewed (0)
  3. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    				container_cpu_usage_seconds_total{container="container_a",namespace="namespace_a",pod="pod_a"} 10 1624396278302
    				container_cpu_usage_seconds_total{container="container_a",namespace="namespace_b",pod="pod_b"} 10 1624396278302
    				container_cpu_usage_seconds_total{container="container_b",namespace="namespace_a",pod="pod_a"} 10 1624396278302
    				# HELP container_memory_working_set_bytes [STABLE] Current working set of the container in bytes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  4. releasenotes/notes/default-container.yaml

    area: networking
    issue:
      - 26764
    
    releaseNotes:
    - |
      **Improved** sidecar injection to automatically specify the `kubectl.kubernetes.io/default-logs-container`. This ensures `kubectl logs`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 01 15:34:22 UTC 2021
    - 346 bytes
    - Viewed (0)
  5. pkg/kubelet/cm/memorymanager/policy_static_test.go

    				hugepages1Gi:      4 * gb,
    			},
    		},
    		{
    			description: "maximum resources of init containers > total resources of long running containers, including restartable init containers",
    			pod: getPodWithInitContainers(
    				"",
    				[]v1.Container{
    					{
    						Name: "container1",
    						Resources: v1.ResourceRequirements{
    							Requests: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  6. pkg/kubelet/eviction/helpers.go

    				}
    			}
    		}
    		if containerFs := summary.Node.Runtime.ContainerFs; containerFs != nil {
    			if containerFs.AvailableBytes != nil && containerFs.CapacityBytes != nil {
    				result[evictionapi.SignalContainerFsAvailable] = signalObservation{
    					available: resource.NewQuantity(int64(*containerFs.AvailableBytes), resource.BinarySI),
    					capacity:  resource.NewQuantity(int64(*containerFs.CapacityBytes), resource.BinarySI),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  7. pkg/kubelet/images/image_gc_manager_test.go

    			ID:   imageID(id),
    			Size: size,
    			Spec: container.ImageSpec{
    				RuntimeHandler: runtimeHandler,
    			},
    		}
    	}
    }
    
    // Make a container with the specified ID. It will use the image with the same ID.
    func makeContainer(id int) *container.Container {
    	return &container.Container{
    		ID:      container.ContainerID{Type: "test", ID: fmt.Sprintf("container-%d", id)},
    		Image:   imageName(id),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/helpers_linux_test.go

    		},
    		{
    			description:   "container seccomp profile set to SeccompProfileTypeLocalhost with empty LocalhostProfile returns error",
    			containerSc:   &v1.SecurityContext{SeccompProfile: &v1.SeccompProfile{Type: v1.SeccompProfileTypeLocalhost}},
    			expectedError: "localhostProfile must be set if seccompProfile type is Localhost.",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. pkg/kubelet/eviction/eviction_manager.go

    	thresholdsMap := make(map[string]*resource.Quantity)
    	for _, container := range pod.Spec.Containers {
    		ephemeralLimit := container.Resources.Limits.StorageEphemeral()
    		if ephemeralLimit != nil && ephemeralLimit.Value() != 0 {
    			thresholdsMap[container.Name] = ephemeralLimit
    		}
    	}
    
    	for _, containerStat := range podStats.Containers {
    		containerUsed := diskUsage(containerStat.Logs)
    		if !*m.dedicatedImageFs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. pkg/kubelet/container/container_gc.go

    	MaxPerPodContainer int
    
    	// Max number of total dead containers, less than zero for no limit.
    	MaxContainers int
    }
    
    // GC manages garbage collection of dead containers.
    //
    // Implementation is thread-compatible.
    type GC interface {
    	// Garbage collect containers.
    	GarbageCollect(ctx context.Context) error
    	// Deletes all unused containers, including containers belonging to pods that are terminated but not deleted
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top