Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,687 for ContainerT (0.35 sec)

  1. pkg/volume/emptydir/empty_dir_test.go

    		mountDetector   = fakeMountDetector{}
    		pod             = &v1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				UID: types.UID("poduid"),
    			},
    			Spec: v1.PodSpec{
    				Containers: []v1.Container{
    					{
    						Resources: v1.ResourceRequirements{
    							Requests: v1.ResourceList{
    								v1.ResourceName("hugepages-2Mi"): resource.MustParse("100Mi"),
    							},
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. tools/bug-report/pkg/cluster/cluster.go

    		if cs.Name == container {
    			return int(cs.RestartCount)
    		}
    	}
    	return 0
    }
    
    // IsDiscoveryContainer reports whether the given container is the Istio discovery container.
    func (r *Resources) IsDiscoveryContainer(clusterVersion, namespace, pod, container string) bool {
    	return common.IsDiscoveryContainer(clusterVersion, container, r.Labels[PodKey(namespace, pod)])
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 14 02:11:31 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  3. 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)
  4. pkg/apis/core/v1/validation/validation_test.go

    }
    
    func TestAccumulateUniqueHostPorts(t *testing.T) {
    	successCase := []struct {
    		name        string
    		containers  []v1.Container
    		accumulator *sets.String
    		fldPath     *field.Path
    	}{{
    		name: "HostPort is not allocated while containers use the same port with different protocol",
    		containers: []v1.Container{{
    			Ports: []v1.ContainerPort{{
    				HostPort: 8080,
    				Protocol: v1.ProtocolUDP,
    			}},
    		}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/topology_hints_test.go

    				},
    			},
    			registeredDevices: []string{"gpu"},
    			expected:          map[string]int{"gpu": 2},
    		},
    		{
    			description: "Init containers and user containers request the same amount of device plugin resources",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					InitContainers: []v1.Container{
    						{
    							Resources: v1.ResourceRequirements{
    								Limits: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pkg/apis/core/validation/validation_test.go

    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.initialDelaySeconds"},
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.timeoutSeconds"},
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.periodSeconds"},
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.successThreshold"},
    			{Type: field.ErrorTypeInvalid, Field: "containers[0].livenessProbe.failureThreshold"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  9. pkg/test/kube/dump.go

    	for _, pod := range pods {
    		isVM := checkIfVM(pod)
    		containers := append(pod.Spec.Containers, pod.Spec.InitContainers...)
    		for _, container := range containers {
    			l, err := c.PodLogs(context.TODO(), pod.Name, pod.Namespace, container.Name, false /* previousLog */)
    			if err != nil {
    				scopes.Framework.Warnf("Unable to get logs for cluster/pod/container: %s/%s/%s/%s for: %v",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. 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)
Back to top