Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,257 for Containers (0.29 sec)

  1. tools/bug-report/pkg/cluster/cluster_test.go

    						{
    							Name: "ex-con1",
    						},
    					},
    				},
    			},
    			&config2.BugReportConfig{
    				Include: []*config2.SelectionSpec{
    					{
    						Pods:       []string{"in-"},
    						Containers: []string{"in-"},
    					},
    				},
    				Exclude: []*config2.SelectionSpec{
    					{
    						Pods:       []string{"ex-"},
    						Containers: []string{"ex-"},
    					},
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 06 17:23:32 UTC 2023
    - 11K bytes
    - Viewed (0)
  2. pkg/kube/inject/testdata/inputs/custom-template.yaml.40.template.gen.yaml

            {{- end }}
          {{- end }}
        {{- end }}
        {{ $nativeSidecar := (eq (env "ENABLE_NATIVE_SIDECARS" "false") "true") }}
        {{- $containers := list }}
        {{- range $index, $container := .Spec.Containers }}{{ if not (eq $container.Name "istio-proxy") }}{{ $containers = append $containers $container.Name }}{{end}}{{- end}}
        metadata:
          labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 76.7K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/testdata/image-auto.yaml

            istio: ingressgateway
        spec:
          containers:
            - name: istio-proxy
              image: auto
    ---
    # No image auto, should not produce error!
    apiVersion: v1
    kind: Pod
    metadata:
      name: istiod-canary-1234567890-12345
      namespace: istio-system
      labels:
        app: istiod
        istio: pilot
        sidecar.istio.io/inject: "true"
    spec:
      containers:
        - image: ubuntu
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/helper/qos/qos_test.go

    	return v1.Container{
    		Name:      name,
    		Resources: getResourceRequirements(requests, limits),
    	}
    }
    
    func newPod(name string, containers []v1.Container) *v1.Pod {
    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    		},
    		Spec: v1.PodSpec{
    			Containers: containers,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 14:47:37 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/prober_manager_test.go

    			UID: "no_probe_pod",
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{{
    				Name: "no_probe1",
    			}, {
    				Name: "no_probe2",
    			}, {
    				Name: "no_probe3",
    			}},
    		},
    	}
    
    	probePod := v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID: "probe_pod",
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{{
    				Name: "probe1",
    			}, {
    				Name:           "readiness",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/security_context_others_test.go

    			},
    			uid:  &anyUser,
    			fail: false,
    		},
    		{
    			desc: "Pass if container's user and image's user aren't set and RunAsNonRoot is true",
    			sc: &v1.SecurityContext{
    				RunAsNonRoot: &runAsNonRootTrue,
    			},
    			fail: false,
    		},
    	} {
    		pod.Spec.Containers[0].SecurityContext = test.sc
    		err := verifyRunAsNonRoot(pod, &pod.Spec.Containers[0], test.uid, test.username)
    		if test.fail {
    			assert.Error(t, err, test.desc)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 10:06:54 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. 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)
  8. pkg/apis/core/pods/helpers.go

    )
    
    // ContainerVisitorWithPath is called with each container and the field.Path to that container,
    // and returns true if visiting should continue.
    type ContainerVisitorWithPath func(container *api.Container, path *field.Path) bool
    
    // VisitContainersWithPath invokes the visitor function with a pointer to the spec
    // of every container in the given pod spec and the field.Path to that container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:35:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. pkg/kubelet/qos/policy.go

    	// Burstable containers are a middle tier, between Guaranteed and Best-Effort. Ideally,
    	// we want to protect Burstable containers that consume less memory than requested.
    	// The formula below is a heuristic. A container requesting for 10% of a system's
    	// memory will have an OOM score adjust of 900. If a process in container Y
    	// uses over 10% of memory, its OOM score will be 1000. The idea is that containers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 14:49:26 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. pkg/kubelet/prober/scale_test.go

    					pod.Spec.Containers = append(pod.Spec.Containers, v1.Container{
    						Name:          fmt.Sprintf("container%d", j),
    						LivenessProbe: newProbe(handler),
    					})
    					pod.Status.ContainerStatuses = append(pod.Status.ContainerStatuses, v1.ContainerStatus{
    						Name:        fmt.Sprintf("container%d", j),
    						ContainerID: fmt.Sprintf("pod%d://container%d", i, j),
    						State: v1.ContainerState{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top