Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 277 for ContainerT (0.14 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    		Windows: m.generateWindowsContainerResources(pod, container),
    	}
    }
    
    // generateWindowsContainerResources generates windows container resources config for runtime
    func (m *kubeGenericRuntimeManager) generateWindowsContainerResources(pod *v1.Pod, container *v1.Container) *runtimeapi.WindowsContainerResources {
    	wcr := m.calculateWindowsResources(container.Resources.Limits.Cpu(), container.Resources.Limits.Memory())
    
    	return wcr
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/labels_test.go

    			DeletionGracePeriodSeconds: &deletionGracePeriod,
    		},
    		Spec: v1.PodSpec{
    			Containers:                    []v1.Container{*container},
    			TerminationGracePeriodSeconds: &terminationGracePeriod,
    		},
    	}
    
    	var tests = []struct {
    		description string
    		expected    *labeledContainerInfo
    	}{
    		{
    			"Regular containers",
    			&labeledContainerInfo{
    				PodName:       pod.Name,
    				PodNamespace:  pod.Namespace,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/kubelet/flags_test.go

    				nodeRegOpts: &kubeadmapi.NodeRegistrationOptions{
    					CRISocket: "unix:///var/run/containerd/containerd.sock",
    					KubeletExtraArgs: []kubeadmapi.Arg{
    						{Name: "hostname-override", Value: "override-name"},
    					},
    				},
    			},
    			expected: []kubeadmapi.Arg{
    				{Name: "container-runtime-endpoint", Value: "unix:///var/run/containerd/containerd.sock"},
    				{Name: "hostname-override", Value: "override-name"},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. pkg/volume/util/nested_volumes_test.go

    			expected: sets.New[string](),
    			volname:  "vol1",
    			pod: v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Namespace: testNamespace,
    					UID:       testPodUID,
    				},
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    							VolumeMounts: []v1.VolumeMount{
    								{MountPath: "/dir", Name: "vol1"},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			name:     "Simple Nested Pod",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathContainerCrossVersionSpec.groovy

            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            EclipseClasspathContainer container = project.classpathContainers.find { it.path == 'whenMergedContainerPath' }
    
            then:
            container != null
            container.exported == false
        }
    
        def "Classpath container can be configured"() {
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/util/in_mesh.go

    	}
    
    	return enabled, ok
    }
    
    func hasIstioProxy(containers []v1.Container) bool {
    	proxyImage := ""
    	for _, container := range containers {
    		if container.Name == IstioProxyName {
    			proxyImage = container.Image
    			break
    		}
    	}
    
    	return proxyImage != ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. pkg/kubelet/types/types.go

    }
    
    // SortInitContainerStatuses ensures that statuses are in the order that their
    // init container appears in the pod spec
    func SortInitContainerStatuses(p *v1.Pod, statuses []v1.ContainerStatus) {
    	containers := p.Spec.InitContainers
    	current := 0
    	for _, container := range containers {
    		for j := current; j < len(statuses); j++ {
    			if container.Name == statuses[j].Name {
    				statuses[current], statuses[j] = statuses[j], statuses[current]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/files/gateway-injection-template.yaml

    {{- $containers := list }}
    {{- range $index, $container := .Spec.Containers }}{{ if not (eq $container.Name "istio-proxy") }}{{ $containers = append $containers $container.Name }}{{end}}{{- end}}
    metadata:
      labels:
        service.istio.io/canonical-name: {{ index .ObjectMeta.Labels `service.istio.io/canonical-name` | default (index .ObjectMeta.Labels `app.kubernetes.io/name`) | default (index .ObjectMeta.Labels `app`) | default .DeploymentMeta.Name  | quote }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. hack/testdata/multi-resource-rclist.json

                   "metadata":{
                      "labels":{
                         "app":"mock"
                      }
                   },
                   "spec":{
                      "containers":[{
                        "name": "mock-container",
                        "image": "registry.k8s.io/pause:3.10",
                        "ports":[{
                            "containerPort":9949,
                            "protocol":"TCP"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. hack/testdata/multi-resource-rclist-modify.json

                   "metadata":{
                      "labels":{
                         "app":"mock"
                      }
                   },
                   "spec":{
                      "containers":[{
                        "name": "mock-container",
                        "image": "registry.k8s.io/pause:3.10",
                        "ports":[{
                            "containerPort":9949,
                            "protocol":"TCP"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top