Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 844 for ContainerT (0.13 sec)

  1. cni/pkg/plugin/kubernetes.go

    			}
    		}
    	}
    	return pi
    }
    
    // containers fetches all containers in the pod.
    // This is used to extract init containers (istio-init and istio-validation), and the sidecar.
    // The sidecar can be a normal container or init in Kubernetes 1.28+
    func containers(pod *v1.Pod) []v1.Container {
    	res := make([]v1.Container, 0, len(pod.Spec.Containers)+len(pod.Spec.InitContainers))
    	res = append(res, pod.Spec.InitContainers...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

    import org.mockserver.model.HttpRequest.request
    import org.mockserver.model.HttpResponse.response
    import org.testcontainers.containers.GenericContainer
    import org.testcontainers.containers.MockServerContainer
    import org.testcontainers.containers.Network
    import org.testcontainers.junit.jupiter.Container
    import org.testcontainers.junit.jupiter.Testcontainers
    import org.testcontainers.utility.DockerImageName
    
    @Testcontainers
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cri_stats_provider_linux.go

    		cs, err := p.makeContainerStats(criContainerStat, container, rootFsInfo, fsIDtoInfo, podSandbox.GetMetadata(),
    			updateCPUNanoCoreUsage)
    		if err != nil {
    			return fmt.Errorf("make container stats: %w", err)
    		}
    		ps.Containers = append(ps.Containers, *cs)
    	}
    	return nil
    }
    
    func addCRIPodNetworkStats(ps *statsapi.PodStats, criPodStat *runtimeapi.PodSandboxStats) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 11:09:04 UTC 2023
    - 4K 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. pkg/apis/core/v1/helper/qos/qos.go

    func ComputePodQOS(pod *v1.Pod) v1.PodQOSClass {
    	requests := v1.ResourceList{}
    	limits := v1.ResourceList{}
    	zeroQuantity := resource.MustParse("0")
    	isGuaranteed := true
    	allContainers := []v1.Container{}
    	allContainers = append(allContainers, pod.Spec.Containers...)
    	allContainers = append(allContainers, pod.Spec.InitContainers...)
    	for _, container := range allContainers {
    		// process requests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 04:01:46 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. 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)
Back to top