Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 201 for ContainerPort (0.26 sec)

  1. pkg/kube/inject/testdata/inject/list.yaml.injected

              track: stable
              version: v1
          spec:
            containers:
            - image: fake.docker.io/google-samples/hello-go-gke:1.0
              name: hello
              ports:
              - containerPort: 80
                name: http
              resources: {}
            - args:
              - proxy
              - sidecar
              - --domain
              - $(POD_NAMESPACE).svc.cluster.local
              - --proxyLogLevel=warning
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/storage/storage_test.go

    						{Name: "ctr2", Ports: []api.ContainerPort{{ContainerPort: 1234}}},
    					},
    				},
    				Status: api.PodStatus{PodIPs: []api.PodIP{{IP: expectedIP}}},
    			},
    			query:    "foo",
    			location: expectedIP + ":9376",
    		},
    		{
    			pod: api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    				Spec: api.PodSpec{
    					Containers: []api.Container{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 07:18:44 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  3. pkg/kube/inject/testdata/inject/hello-multi.yaml.injected

            tier: backend
            track: stable
            version: v1
        spec:
          containers:
          - image: fake.docker.io/google-samples/hello-go-gke:1.0
            name: hello
            ports:
            - containerPort: 80
              name: http
            resources: {}
          - args:
            - proxy
            - sidecar
            - --domain
            - $(POD_NAMESPACE).svc.cluster.local
            - --proxyLogLevel=warning
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. pilot/pkg/model/context_test.go

    				"POD_PORTS": `[{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"grpc","containerPort":8079,"protocol":"TCP"}]`,
    			},
    			out: &model.Proxy{
    				Type: "sidecar", IPAddresses: []string{"1.1.1.1"}, DNSDomain: "domain", ID: "id", IstioVersion: model.MaxIstioVersion,
    				Metadata: &model.NodeMetadata{
    					Raw: map[string]any{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. pkg/kube/inject/inject_test.go

    			c: corev1.Container{
    				Ports: []corev1.ContainerPort{
    					{
    						ContainerPort: 53,
    						Protocol:      corev1.ProtocolTCP,
    					},
    					{
    						ContainerPort: 53,
    						Protocol:      corev1.ProtocolUDP,
    					},
    				},
    			},
    			ports: []string{"53"},
    		},
    		{
    			c: corev1.Container{
    				Ports: []corev1.ContainerPort{
    					{
    						ContainerPort: 80,
    						Protocol:      corev1.ProtocolTCP,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. operator/pkg/object/objects_test.go

    					"--monitoringPort=15014",
    					"--log_output_level=default:info"
    				],
    				"ports": [
    					{
    						"containerPort": 443,
    						"protocol": "TCP"
    					},
    					{
    						"containerPort": 15014,
    						"protocol": "TCP"
    					},
    					{
    						"containerPort": 9901,
    						"protocol": "TCP"
    					}
    				]
    			}
    		]
    	}
    }`
    	testServiceJSON := `{
    	"apiVersion": "v1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

    						},
    					},
    					Spec: corev1.PodSpec{
    						Containers: []corev1.Container{
    							{
    								Name: "productpage",
    								Ports: []corev1.ContainerPort{
    									{
    										Name:          "http",
    										ContainerPort: 9080,
    									},
    								},
    							},
    							{
    								Name: "istio-proxy",
    							},
    						},
    					},
    					Status: corev1.PodStatus{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. pkg/kubelet/lifecycle/handlers_test.go

    	}{
    		{
    			stringPort: "foo",
    			container: &v1.Container{
    				Ports: []v1.ContainerPort{{Name: "foo", ContainerPort: int32(80)}},
    			},
    			expected: 80,
    		},
    		{
    			container:  &v1.Container{},
    			stringPort: "80",
    			expected:   80,
    		},
    		{
    			container: &v1.Container{
    				Ports: []v1.ContainerPort{
    					{Name: "bar", ContainerPort: int32(80)},
    				},
    			},
    			stringPort: "foo",
    			expected:   -1,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    			port := containerPortMappings[idx]
    			hostPort := int32(port.HostPort)
    			containerPort := int32(port.ContainerPort)
    			protocol := toRuntimeProtocol(port.Protocol)
    			portMappings = append(portMappings, &runtimeapi.PortMapping{
    				HostIp:        port.HostIP,
    				HostPort:      hostPort,
    				ContainerPort: containerPort,
    				Protocol:      protocol,
    			})
    		}
    
    	}
    	if len(portMappings) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. pkg/kubelet/container/helpers.go

    	for _, p := range container.Ports {
    		pm := PortMapping{
    			HostPort:      int(p.HostPort),
    			ContainerPort: int(p.ContainerPort),
    			Protocol:      p.Protocol,
    			HostIP:        p.HostIP,
    		}
    
    		// We need to determine the address family this entry applies to. We do this to ensure
    		// duplicate containerPort / protocol rules work across different address families.
    		// https://github.com/kubernetes/kubernetes/issues/82373
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top