Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,257 for Containers (0.4 sec)

  1. pkg/config/analysis/analyzers/testdata/injection.yaml

      namespace: default
    spec:
      containers:
      - image: gcr.io/google-samples/microservices-demo/adservice:v0.1.1
        name: server
      - image: docker.io/istio/proxyv2:1.3.0-rc.2
        name: istio-proxy
    ---
    # Pod that's not injected and should be. Should generate warning
    apiVersion: v1
    kind: Pod
    metadata:
      name: noninjectedpod
      namespace: default
    spec:
      containers:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 14:06:10 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. pkg/kube/inject/webhook.go

    	containers := []corev1.Container{}
    	var match *corev1.Container
    	for _, c := range cl {
    		c := c
    		if c.Name != name {
    			containers = append(containers, c)
    		} else {
    			match = &c
    		}
    	}
    	if match == nil {
    		return containers
    	}
    	switch modifier {
    	case MoveFirst:
    		return append([]corev1.Container{*match}, containers...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. operator/pkg/patch/patch_test.go

    		wantErr string
    	}{
    		{
    			desc: "DeleteLeafListLeaf",
    			path: `spec.template.spec.containers.[name:galley].command.[--validation-webhook-config-file]`,
    			want: `
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: istio-citadel
      namespace: istio-system
    spec:
      template:
        spec:
          containers:
          - foo: bar
            name: deleteThis
          - command:
            - /usr/local/bin/galley
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 29 08:32:11 UTC 2022
    - 10.3K bytes
    - Viewed (0)
  4. pkg/kubelet/images/image_gc_manager_test.go

    			ID:   imageID(id),
    			Size: size,
    			Spec: container.ImageSpec{
    				RuntimeHandler: runtimeHandler,
    			},
    		}
    	}
    }
    
    // Make a container with the specified ID. It will use the image with the same ID.
    func makeContainer(id int) *container.Container {
    	return &container.Container{
    		ID:      container.ContainerID{Type: "test", ID: fmt.Sprintf("container-%d", id)},
    		Image:   imageName(id),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/injection-with-mismatched-sidecar.yaml

    spec:
      containers:
      - image: docker.io/istio/examples-bookinfo-details-v1:1.15.0
        name: details
      - image: docker.io/istio/proxyv2:1.3.0-prerelease
        name: istio-proxy
    ---
    # should not match the injector version.
    apiVersion: v1
    kind: Pod
    metadata:
      labels:
        app: details
      name: details-v1-pod-old-pre-2
      namespace: enabled-namespace
    spec:
      containers:
      - image: docker.io/istio/examples-bookinfo-details-v1:1.15.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 13 05:31:06 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. pkg/api/pod/util.go

    )
    
    // ContainerType signifies container type
    type ContainerType int
    
    const (
    	// Containers is for normal containers
    	Containers ContainerType = 1 << iota
    	// InitContainers is for init containers
    	InitContainers
    	// EphemeralContainers is for ephemeral containers
    	EphemeralContainers
    )
    
    // AllContainers specifies that all containers be visited
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  7. operator/cmd/mesh/testdata/manifest-generate/input/pilot_override_kubernetes.yaml

                name: istiod
                patches:
                  # Select list item by value
                  - path: spec.template.spec.containers.[name:discovery].args.[30m]
                    value: "60m" # OVERRIDDEN
                  # Select list item by key:value
                  - path: spec.template.spec.containers.[name:discovery].ports.[containerPort:8080].containerPort
                    value: 1234 # OVERRIDDEN
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 22:07:45 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. 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)
  9. pkg/kubelet/prober/common_test.go

    		ContainerStatuses: []v1.ContainerStatus{containerStatus},
    	}
    	return podStatus
    }
    
    func getTestPod() *v1.Pod {
    	container := v1.Container{
    		Name: testContainerName,
    	}
    	pod := v1.Pod{
    		Spec: v1.PodSpec{
    			Containers:    []v1.Container{container},
    			RestartPolicy: v1.RestartPolicyNever,
    		},
    	}
    	pod.Name = "testPod"
    	pod.UID = testPodUID
    	return &pod
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 16:57:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_volumes_test.go

    	defer testKubelet.Cleanup()
    	kubelet := testKubelet.kubelet
    
    	pod := podWithUIDNameNsSpec("12345678", "foo", "test", v1.PodSpec{
    		Containers: []v1.Container{
    			{
    				Name: "container1",
    				VolumeMounts: []v1.VolumeMount{
    					{
    						Name:      "vol1",
    						MountPath: "/mnt/vol1",
    					},
    					{
    						Name:      "vol2",
    						MountPath: "/mnt/vol2",
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
Back to top