Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for pod_1 (0.11 sec)

  1. pkg/kubelet/reason_cache_test.go

    	}
    	results[0].Fail(kubecontainer.ErrRunContainer, "message_1")
    	results[2].Fail(kubecontainer.ErrKillContainer, "message_3")
    	syncResult.AddSyncResult(results...)
    	uid := types.UID("pod_1")
    
    	reasonCache := NewReasonCache()
    	reasonCache.Update(uid, syncResult)
    	assertReasonInfo(t, reasonCache, uid, results[0], true)
    	assertReasonInfo(t, reasonCache, uid, results[1], false)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 03:33:06 UTC 2017
    - 2.4K bytes
    - Viewed (0)
  2. hack/testdata/sorted-pods/sorted-pod1.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: sorted-pod1
      creationTimestamp: "2018-08-30T14:10:58Z"
      labels:
        name: sorted-pod3-label
    spec:
      containers:
      - name: kubernetes-pause2
        image: registry.k8s.io/pause:3.10
        resources:
          requests:
            memory: "64Mi"
            cpu: "250m"
          limits:
            memory: "128Mi"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 355 bytes
    - Viewed (0)
  3. pkg/client/tests/fake_client_test.go

    		}
    	}
    
    	pod1, err := tc.CoreV1().Pods("nsA").Get(context.TODO(), "pod-1", metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("Pods.Get: %s", err)
    	}
    	if pod1 == nil {
    		t.Fatalf("Expected to find pod nsA/pod-1 but it wasn't found")
    	}
    	if pod1.Namespace != "nsA" || pod1.Name != "pod-1" {
    		t.Fatalf("Expected to find pod nsA/pod-1t, got %s/%s", pod1.Namespace, pod1.Name)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 17:30:21 UTC 2020
    - 5.6K bytes
    - Viewed (0)
  4. pkg/controller/replicaset/replica_set_utils_test.go

    			fullyLabelledRS,
    			[]*v1.Pod{
    				newPod("pod1", fullyLabelledRS, v1.PodRunning, nil, true),
    			},
    			apps.ReplicaSetStatus{
    				Replicas:             1,
    				FullyLabeledReplicas: 1,
    				ReadyReplicas:        1,
    				AvailableReplicas:    1,
    			},
    		},
    		{
    			"1 not fully labelled pod",
    			notFullyLabelledRS,
    			[]*v1.Pod{
    				newPod("pod1", notFullyLabelledRS, v1.PodRunning, nil, true),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 19 20:18:23 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/printers/managedfields_test.go

    	}{
    		{
    			name: "pod without managedFields",
    			object: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "pod1"},
    			},
    			expected: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "pod1"},
    			},
    		},
    		{
    			name: "pod with managedFields",
    			object: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "pod1",
    					ManagedFields: []metav1.ManagedFieldsEntry{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 16 14:52:03 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  6. pkg/kubelet/config/common_test.go

    		overwrite string
    		shouldErr bool
    	}{
    		{
    			"node1",
    			"static-pod1",
    			"static-pod1-node1",
    			"",
    			false,
    		},
    		{
    			"Node1",
    			"static-pod1",
    			"static-pod1-node1",
    			"",
    			false,
    		},
    		{
    			"NODE1",
    			"static-pod1",
    			"static-pod1-node1",
    			"static-pod1-NODE1",
    			true,
    		},
    	}
    	for _, c := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. pkg/kubelet/config/apiserver_test.go

    	// Make sure that we get both pods.  Catches bug #2294.
    	if !(len(update.Pods) == 2) {
    		t.Errorf("Expected %d, Got %d", 2, len(update.Pods))
    	}
    
    	// Delete pod1
    	fakeWatch.Delete(&pod1)
    	got, ok = <-ch
    	if !ok {
    		t.Errorf("Unable to read from channel when expected")
    	}
    	update = got.(kubetypes.PodUpdate)
    	if !(len(update.Pods) == 1) {
    		t.Errorf("Expected %d, Got %d", 1, len(update.Pods))
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 22 18:31:03 UTC 2017
    - 5.6K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/util_test.go

    			proxy: &model.Proxy{
    				ID: "pod1.ns1",
    				Metadata: &model.NodeMetadata{
    					Namespace: "default",
    				},
    			},
    		},
    		{
    			name: "invalid id: namespace mismatch",
    			proxy: &model.Proxy{
    				ID: "pod1.ns1",
    				Metadata: &model.NodeMetadata{
    					Namespace: "ns1",
    				},
    			},
    			expectedKey: types.NamespacedName{Namespace: "ns1", Name: "pod1"},
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 20:45:12 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. pkg/kube/kclient/index_test.go

    	c.Kube().CoreV1().Pods("ns").Create(context.Background(), pod1, metav1.CreateOptions{})
    	assertIndex(k1, pod1)
    	assertIndex(k2)
    
    	// Create another pod; we ought to find it as well now.
    	c.Kube().CoreV1().Pods("ns").Create(context.Background(), pod2, metav1.CreateOptions{})
    	assertIndex(k1, pod1) // Original one must still persist
    	assertIndex(k2, pod2) // New one should be there, eventually
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 04 03:49:30 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. pkg/volume/local/local_linux_test.go

    	fsGroup1 := int64(s.Gid)
    	fsGroup2 := fsGroup1 + 1
    	pod1 := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}}
    	pod1.Spec.SecurityContext = &v1.PodSecurityContext{
    		FSGroup: &fsGroup1,
    	}
    	pod2 := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}}
    	pod2.Spec.SecurityContext = &v1.PodSecurityContext{
    		FSGroup: &fsGroup2,
    	}
    	err = testFSGroupMount(plug, pod1, tmpDir, fsGroup1)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top