Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 657 for untainer (1.27 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    	"k8s.io/kubernetes/pkg/features"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	containertest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    	"k8s.io/kubernetes/pkg/kubelet/lifecycle"
    )
    
    // TestRemoveContainer tests removing the container and its corresponding container logs.
    func TestRemoveContainer(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    		Command:     container.Command,
    		Args:        []string(nil),
    		WorkingDir:  container.WorkingDir,
    		Labels:      newContainerLabels(container, pod),
    		Annotations: newContainerAnnotations(container, pod, restartCount, opts),
    		Devices:     makeDevices(opts),
    		Mounts:      m.makeMounts(opts, container),
    		LogPath:     containerLogsPath,
    		Stdin:       container.Stdin,
    		StdinOnce:   container.StdinOnce,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  3. pkg/registry/core/pod/strategy_test.go

    					},
    				},
    				InitContainers: []api.Container{{Name: "init"}},
    				Containers:     []api.Container{{Name: "ctr"}},
    			},
    		},
    		validation: func(t *testing.T, pod *api.Pod) {
    			assert.Len(t, pod.Annotations, 0)
    		},
    	}, {
    		description: "Container security context not nil",
    		pod: &api.Pod{
    			Spec: api.PodSpec{
    				Containers: []api.Container{{
    					Name:            "ctr",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  4. pkg/quota/v1/evaluator/core/pods_test.go

    func TestPodConstraintsFunc(t *testing.T) {
    	testCases := map[string]struct {
    		pod      *api.Pod
    		required []corev1.ResourceName
    		err      string
    	}{
    		"init container resource missing": {
    			pod: &api.Pod{
    				Spec: api.PodSpec{
    					InitContainers: []api.Container{{
    						Name: "dummy",
    						Resources: api.ResourceRequirements{
    							Requests: api.ResourceList{api.ResourceCPU: resource.MustParse("1m")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    }
    
    // containerGCInfo is the internal information kept for containers being considered for GC.
    type containerGCInfo struct {
    	// The ID of the container.
    	id string
    	// The name of the container.
    	name string
    	// Creation time for the container.
    	createTime time.Time
    	// If true, the container is in unknown state. Garbage collector should try
    	// to stop containers before removal.
    	unknown bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/providers/collections/kotlin/build.gradle.kts

        // Add a person to the container
        fun addPerson(name: String) {
            people.plus(name)
        }
    }
    // end::ndol[]
    
    // tag::ndoc[]
    
    abstract class MyPluginExtensionNamedDomainObjectContainer {
        // Define a named domain object container to hold Person objects
        private val people: NamedDomainObjectContainer<Person> = project.container(Person::class)
    
        // Add a person to the container
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. build/common.sh

          continue
        fi
        if [[ -z "${2:-}" || "${container}" != "${2}" ]] ; then
          V=2 kube::log::status "Deleting container ${container}"
          kube::build::destroy_container "${container}"
        else
          V=3 kube::log::status "Keeping container ${container}"
        fi
      done
    }
    
    # Takes $1 and computes a short has for it. Useful for unique tag generation
    function kube::build::short_hash() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. 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)
  9. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/kubernetes/pkg/features"
    	containertest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    	"k8s.io/kubernetes/pkg/kubelet/runtimeclass"
    	rctest "k8s.io/kubernetes/pkg/kubelet/runtimeclass/testing"
    	"k8s.io/utils/pointer"
    )
    
    const testPodLogsDirectory = "/var/log/pods"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_container_unsupported.go

    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    // applyPlatformSpecificContainerConfig applies platform specific configurations to runtimeapi.ContainerConfig.
    func (m *kubeGenericRuntimeManager) applyPlatformSpecificContainerConfig(config *runtimeapi.ContainerConfig, container *v1.Container, pod *v1.Pod, uid *int64, username string, nsTarget *kubecontainer.ContainerID) error {
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top