Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for pod_1 (0.16 sec)

  1. pkg/scheduler/framework/plugins/volumezone/volume_zone_test.go

    		},
    		{
    			name: "node without labels",
    			Pod:  createPodWithVolume("pod_1", "PVC_1"),
    			Node: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "host1",
    				},
    			},
    		},
    		{
    			name: "beta zone label matched",
    			Pod:  createPodWithVolume("pod_1", "PVC_1"),
    			Node: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:   "host1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 05:17:04 UTC 2023
    - 20K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    	createTestDir(t, fmt.Sprintf("%s/%s", tmpDir, "recursive/rc/rc_1"))
    	createTestDir(t, fmt.Sprintf("%s/%s", tmpDir, "inode/hardlink"))
    	defer os.RemoveAll(tmpDir)
    
    	// create test files
    	writeTestFile(t, fmt.Sprintf("%s/recursive/pod/busybox.json", tmpDir), strings.Replace(aPod, "{id}", "0", -1))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  4. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    				container_cpu_usage_seconds_total{container="container_a",namespace="namespace_a",pod="pod_a"} 10 1624396278302
    				container_cpu_usage_seconds_total{container="container_a",namespace="namespace_b",pod="pod_b"} 10 1624396278302
    				container_cpu_usage_seconds_total{container="container_b",namespace="namespace_a",pod="pod_a"} 10 1624396278302
    				# HELP container_memory_working_set_bytes [STABLE] Current working set of the container in bytes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  5. 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)
  6. 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)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    			},
    		},
    	})
    	s.assertEvent(t, s.podXdsName("pod1"))
    	s.assertWaypointAddressForPod(t, "pod1", "10.0.0.1")
    
    	// label pod1 to use a different waypoint than the namespace specifies
    	s.labelPod(t, "pod1", testNS, map[string]string{constants.AmbientUseWaypointLabel: "waypoint-sa1"})
    	s.assertEvent(t, s.podXdsName("pod1"))
    	// assert that we're using the correct waypoint for pod1
    	s.assertWaypointAddressForPod(t, "pod1", "10.0.0.2")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  8. pkg/controller/daemon/daemon_controller_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    		err = manager.dsStore.Add(ds2)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		pod1 := newPod("pod1-", "node-0", simpleDaemonSetLabel, ds1)
    		prev := *pod1
    		bumpResourceVersion(pod1)
    		manager.updatePod(logger, &prev, pod1)
    		if got, want := manager.queue.Len(), 1; got != want {
    			t.Fatalf("queue.Len() = %v, want %v", got, want)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  9. 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)
  10. pkg/controller/tainteviction/taint_eviction_test.go

    			prevPod:     testutil.NewPod("pod1", ""),
    			newPod:      testutil.NewPod("pod1", "node1"),
    			taintedNodes: map[string][]corev1.Taint{
    				"node1": {createNoExecuteTaint(1)},
    			},
    			expectDelete: true,
    		},
    		{
    			description: "scheduling onto tainted Node with toleration",
    			prevPod:     addToleration(testutil.NewPod("pod1", ""), 1, -1),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
Back to top