Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,529 for ContainerT (0.13 sec)

  1. pkg/kubelet/apis/podresources/server_v1alpha1_test.go

    					},
    					Spec: v1.PodSpec{
    						Containers: []v1.Container{
    							{
    								Name: containerName,
    							},
    						},
    					},
    				},
    			},
    			devices: []*podresourcesv1.ContainerDevices{},
    			expectedResponse: &v1alpha1.ListPodResourcesResponse{
    				PodResources: []*v1alpha1.PodResources{
    					{
    						Name:      podName,
    						Namespace: podNamespace,
    						Containers: []*v1alpha1.ContainerResources{
    							{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/staticpod/utils_linux_test.go

    }
    
    func verifyContainerSecurityContext(t *testing.T, container v1.Container, addCaps, dropCaps []v1.Capability, allowPrivielege *bool) {
    	t.Helper()
    	wantContainerSecurityContext := &v1.SecurityContext{
    		AllowPrivilegeEscalation: allowPrivielege,
    		Capabilities: &v1.Capabilities{
    			Add:  addCaps,
    			Drop: dropCaps,
    		},
    	}
    	if !reflect.DeepEqual(wantContainerSecurityContext, container.SecurityContext) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 14:41:12 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. pkg/kubelet/config/apiserver_test.go

    		ObjectMeta: metav1.ObjectMeta{Name: "p"},
    		Spec:       v1.PodSpec{Containers: []v1.Container{{Image: "image/one"}}}}
    	pod1v2 := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "p"},
    		Spec:       v1.PodSpec{Containers: []v1.Container{{Image: "image/two"}}}}
    	pod2 := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "q"},
    		Spec:       v1.PodSpec{Containers: []v1.Container{{Image: "image/blah"}}}}
    
    	// Setup fake api client.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 22 18:31:03 UTC 2017
    - 5.6K bytes
    - Viewed (0)
  4. manifests/charts/istio-control/istio-discovery/files/grpc-simple.yaml

                  "metadata": {
                    "GENERATOR": "grpc"
                  }
                }
              }' > /var/lib/grpc/data/bootstrap.json
      containers:
      {{- range $index, $container := .Spec.Containers }}
      - name: {{ $container.Name }}
        env:
          - name: GRPC_XDS_BOOTSTRAP
            value: /var/lib/grpc/data/bootstrap.json
          - name: GRPC_GO_LOG_VERBOSITY_LEVEL
            value: "99"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 10 20:56:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/qos_container_manager_linux_test.go

    func activeTestPods() []*v1.Pod {
    	return []*v1.Pod{
    		{
    			ObjectMeta: metav1.ObjectMeta{
    				UID:       "12345678",
    				Name:      "guaranteed-pod",
    				Namespace: "test",
    			},
    			Spec: v1.PodSpec{
    				Containers: []v1.Container{
    					{
    						Name:  "foo",
    						Image: "busybox",
    						Resources: v1.ResourceRequirements{
    							Requests: v1.ResourceList{
    								v1.ResourceMemory: resource.MustParse("128Mi"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 4K bytes
    - Viewed (0)
  6. tools/bug-report/pkg/filter/filter.go

    		return false
    	}
    
    	if !match.MatchesGlobs(container, sp.Containers) {
    		return false
    	}
    
    	if !match.MatchesGlobs(container, sp.Containers) {
    		return false
    	}
    
    	key := cluster2.PodKey(namespace, pod)
    	if !match.MatchesMap(sp.Labels, cluster.Labels[key]) {
    		return false
    	}
    	if !match.MatchesMap(sp.Annotations, cluster.Annotations[key]) {
    		return false
    	}
    	return true
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  7. pkg/kubelet/secret/secret_manager_test.go

    				SecretKeyRef: &v1.SecretKeySelector{
    					LocalObjectReference: v1.LocalObjectReference{
    						Name: name,
    					},
    				},
    			}
    			container.Env = append(container.Env, v1.EnvVar{ValueFrom: envSource})
    		}
    		pod.Spec.Containers = append(pod.Spec.Containers, container)
    	}
    	return pod
    }
    
    func TestCacheBasedSecretManager(t *testing.T) {
    	fakeClient := &fake.Clientset{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * test method needs to create multiple containers while retaining the ability to use {@link
       * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of
       * multiple containers in a single method is discouraged in most cases, but it is vital to the
       * iterator tests.
       *
       * @return the new container instance
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * test method needs to create multiple containers while retaining the ability to use {@link
       * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of
       * multiple containers in a single method is discouraged in most cases, but it is vital to the
       * iterator tests.
       *
       * @return the new container instance
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. pkg/kubelet/configmap/configmap_manager_test.go

    				ConfigMapKeyRef: &v1.ConfigMapKeySelector{
    					LocalObjectReference: v1.LocalObjectReference{
    						Name: name,
    					},
    				},
    			}
    			container.Env = append(container.Env, v1.EnvVar{ValueFrom: envSource})
    		}
    		pod.Spec.Containers = append(pod.Spec.Containers, container)
    	}
    	for _, configMap := range toAttach.volumes {
    		volume := &v1.ConfigMapVolumeSource{
    			LocalObjectReference: v1.LocalObjectReference{Name: configMap},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 4.8K bytes
    - Viewed (0)
Back to top