- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 76 for cpod2 (0.04 sec)
-
pilot/pkg/xds/workload_test.go
expectRemoved(ads.ExpectResponse(), "/127.0.0.2") // Once we create it, we should get a push createPod(s, "pod2", "sa", "127.0.0.2", "node") expect(ads.ExpectResponse(), "Kubernetes//Pod/default/pod2") // TODO: implement pod update; this actually cannot really be done without waypoints or VIPs deletePod(s, "pod")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 15.9K bytes - Viewed (0) -
pkg/controller/tainteviction/taint_eviction_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 31.3K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_utils_test.go
ReadyReplicas: 1, AvailableReplicas: 1, }, }, { "2 fully labelled pods", fullyLabelledRS, []*v1.Pod{ newPod("pod1", fullyLabelledRS, v1.PodRunning, nil, true), newPod("pod2", fullyLabelledRS, v1.PodRunning, nil, true), }, apps.ReplicaSetStatus{ Replicas: 2, FullyLabeledReplicas: 2, ReadyReplicas: 2, AvailableReplicas: 2, }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 19 20:18:23 UTC 2018 - 6.6K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/managedfields_test.go
{ ObjectMeta: metav1.ObjectMeta{ Name: "pod1", ManagedFields: []metav1.ManagedFieldsEntry{}, }, }, { ObjectMeta: metav1.ObjectMeta{ Name: "pod2", ManagedFields: []metav1.ManagedFieldsEntry{ {Manager: "kubectl", Operation: metav1.ManagedFieldsOperationApply}, }, }, }, {ObjectMeta: metav1.ObjectMeta{Name: "pod3"}}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 16 14:52:03 UTC 2021 - 2.6K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
pod1.OwnerReferences = []metav1.OwnerReference{controllerRef1} pod1.ResourceVersion = "1" pod2 := pod1 pod2.Labels = labelMap2 pod2.ResourceVersion = "2" manager.updatePod(logger, &pod1, &pod2) expected := sets.NewString(testRSSpec1.Name) for _, name := range expected.List() { t.Logf("Expecting update for %+v", name) select {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
pod1 := generatePod("128.0.1.1", "pod1", "nsA", "", "node1", map[string]string{"app": "prod-app"}, map[string]string{}) pod2 := generatePod("128.0.1.2", "pod2", "nsB", "", "node2", map[string]string{"app": "prod-app"}, map[string]string{}) podOverride := generatePod("128.0.1.2", "pod2", "nsB", "", "node1", map[string]string{"app": "prod-app", model.LocalityLabel: "regionOverride.zoneOverride.subzoneOverride"}, map[string]string{})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers_test.go
pod1 := newPod("low-priority-high-usage", lowPriority, nil, nil) pod2 := newPod("low-priority-low-usage", lowPriority, nil, nil) pod3 := newPod("high-priority-high-usage", highPriority, nil, nil) pod4 := newPod("high-priority-low-usage", highPriority, nil, nil) stats := map[*v1.Pod]statsapi.PodStats{ pod1: newPodProcessStats(pod1, 20), pod2: newPodProcessStats(pod2, 6), pod3: newPodProcessStats(pod3, 20),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0) -
pkg/scheduler/util/utils_test.go
pod1 := newPriorityPodWithStartTime("pod1", 1, currentTime) pod2 := newPriorityPodWithStartTime("pod2", 2, currentTime.Add(time.Second)) pod3 := newPriorityPodWithStartTime("pod3", 2, currentTime) tests := map[string]struct { p1 *v1.Pod p2 *v1.Pod expected bool }{ "Pod with higher priority": { p1: pod1, p2: pod2, expected: false, }, "Pod with older created time": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 21 01:40:44 UTC 2023 - 14.5K bytes - Viewed (0) -
pkg/scheduler/util/utils.go
// but expects those arguments to be *v1.Pod. func MoreImportantPod(pod1, pod2 *v1.Pod) bool { p1 := corev1helpers.PodPriority(pod1) p2 := corev1helpers.PodPriority(pod2) if p1 != p2 { return p1 > p2 } return GetPodStartTime(pod1).Before(GetPodStartTime(pod2)) } // Retriable defines the retriable errors during a scheduling cycle. func Retriable(err error) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 21 01:40:44 UTC 2023 - 6.2K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
pod = &v1.Pod{ Spec: s, } output = roundTrip(t, runtime.Object(pod)) pod2 = output.(*v1.Pod) defaultRequest = pod2.Spec.Containers[0].Resources.Requests if requestValue := defaultRequest[v1.ResourceCPU]; requestValue.String() != "0" { t.Errorf("Expected 0 request value, got: %s", requestValue.String()) } defaultRequest = pod2.Spec.InitContainers[0].Resources.Requests
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0)