Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for untainer (0.85 sec)

  1. pkg/kubelet/kubelet_pods.go

    	}
    	return regular, static
    }
    
    // validateContainerLogStatus returns the container ID for the desired container to retrieve logs for, based on the state
    // of the container. The previous flag will only return the logs for the last terminated container, otherwise, the current
    // running container is preferred over a previous termination. If info about the container is not available then a specific
    // error is returned to the end user.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods_test.go

    			enableServiceLinks: &falseValue,
    			container:          &v1.Container{Env: []v1.EnvVar{}},
    			nilLister:          false,
    			staticPod:          true,
    			unsyncedServices:   true,
    		},
    		{
    			name:               "api server = Y, kubelet = Y",
    			ns:                 "test1",
    			enableServiceLinks: &falseValue,
    			container: &v1.Container{
    				Env: []v1.EnvVar{
    					{Name: "FOO", Value: "BAR"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  3. pkg/api/pod/util_test.go

    		}
    	}
    
    	makeContainer := func(preStop, postStart *api.LifecycleHandler) api.Container {
    		container := api.Container{Name: "foo"}
    		if preStop != nil || postStart != nil {
    			container.Lifecycle = &api.Lifecycle{
    				PostStart: postStart,
    				PreStop:   preStop,
    			}
    		}
    		return container
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

            "targetContainerName": {
              "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.",
              "type": "string"
            },
            "terminationMessagePath": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet.go

    	}, 100*time.Millisecond, stopCh)
    }
    
    // CheckpointContainer tries to checkpoint a container. The parameters are used to
    // look up the specified container. If the container specified by the given parameters
    // cannot be found an error is returned. If the container is found the container
    // engine will be asked to checkpoint the given container into the kubelet's default
    // checkpoint directory.
    func (kl *Kubelet) CheckpointContainer(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  6. pkg/kubelet/eviction/helpers_test.go

    	low := newPod("low-priority", -134, []v1.Container{
    		newContainer("low-priority", newResourceList("", "", ""), newResourceList("", "", "")),
    	}, nil)
    	medium := newPod("medium-priority", 1, []v1.Container{
    		newContainer("medium-priority", newResourceList("100m", "100Mi", ""), newResourceList("200m", "200Mi", "")),
    	}, nil)
    	high := newPod("high-priority", 12534, []v1.Container{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    		},
    		{
    			// Test pod has 1 init container restarting and 1 container not running
    			api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "test7"},
    				Spec:       api.PodSpec{InitContainers: make([]api.Container, 1), Containers: make([]api.Container, 1)},
    				Status: api.PodStatus{
    					Phase: "podPhase",
    					InitContainerStatuses: []api.ContainerStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers.go

    				reason = container.State.Waiting.Reason
    			} else if container.State.Terminated != nil && container.State.Terminated.Reason != "" {
    				reason = container.State.Terminated.Reason
    			} else if container.State.Terminated != nil && container.State.Terminated.Reason == "" {
    				if container.State.Terminated.Signal != 0 {
    					reason = fmt.Sprintf("Signal:%d", container.State.Terminated.Signal)
    				} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_test.go

    					ExitCode:    5,
    					ContainerID: emptyContainerID,
    				}},
    			},
    		},
    		// For Unknown Container Status:
    		// * In certain situations a container can be running and fail to retrieve the status which results in
    		// * a transition to the Unknown state. Prior to this fix, a container would make an invalid transition
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  10. 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)
Back to top