- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for testpvc (0.12 sec)
-
pkg/kubelet/status/status_manager_test.go
} syncer.SetPodStatus(testPod, firstStatus) t.Logf("set the testPod to a pod with Phase running, to simulate a stale pod") testPod.Status = getRandomPodStatus() testPod.Status.Phase = v1.PodRunning testPod.Status.InitContainerStatuses = []v1.ContainerStatus{ {Name: "test-1"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0) -
plugin/pkg/admission/limitranger/admission_test.go
limitRange := validLimitRange() testPod := validPodInit(validPod("foo", 1, getResourceRequirements(api.ResourceList{}, api.ResourceList{})), getResourceRequirements(api.ResourceList{}, api.ResourceList{})) err := PodMutateLimitFunc(&limitRange, &testPod) if err != nil { t.Errorf("Unexpected error for valid pod: %s, %v", testPod.Name, err) } for i := range testPod.Spec.Containers {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 51.5K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
testCases := []struct { description string testPod *api.Pod quota *corev1.ResourceQuota anotherQuota *corev1.ResourceQuota config *resourcequotaapi.Configuration expErr string }{ { description: "Covering quota exists for configured limited scope PriorityClassNameExists.",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
testfunc: func(manager *wrappedManagerImpl) { manager.GetTopologyHints(testPod, &testPod.Spec.Containers[0]) }, }, { description: "GetPodTopologyHints data race when update device", count: 10, devices: devs, testfunc: func(manager *wrappedManagerImpl) { manager.GetPodTopologyHints(testPod) }, }, } for _, test := range testCases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
pkg/controller/podautoscaler/replica_calculator_test.go
}}, container: "", resource: v1.ResourceCPU, expectedRequests: map[string]int64{testPod: 150}, expectedError: nil, }, { name: "calculate requests with special container", pods: []*v1.Pod{{ ObjectMeta: metav1.ObjectMeta{ Name: testPod, Namespace: testNamespace, }, Spec: v1.PodSpec{ Containers: []v1.Container{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 19 03:31:34 UTC 2023 - 68.4K bytes - Viewed (0) -
configure.py
# Disable tests with "v1only" tag in "v2" Bazel config, but not in "v1" config write_to_bazelrc('test:v1 --test_tag_filters=%s' % ','.join(test_and_build_filters + test_only_filters)) write_to_bazelrc('test:v1 --build_tag_filters=%s' % ','.join(test_and_build_filters)) write_to_bazelrc( 'test:v2 --test_tag_filters=%s' % ','.join(test_and_build_filters + test_only_filters + ['-v1only']))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 04:32:44 UTC 2024 - 53.8K bytes - Viewed (1) -
pkg/volume/csi/csi_mounter_test.go
"k8s.io/kubernetes/pkg/volume/util" volumetypes "k8s.io/kubernetes/pkg/volume/util/types" ) var ( testDriver = "test-driver" testVol = "vol-123" testns = "test-ns" testPod = "test-pod" testPodUID = types.UID("test-pod") testAccount = "test-service-account" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller_test.go
func TestSyncEndpointsWithPodResourceVersionUpdateOnly(t *testing.T) { ns := metav1.NamespaceDefault testServer, endpointsHandler := makeTestServer(t, ns) defer testServer.Close() pod0 := testPod(ns, 0, 1, true, ipv4only) pod1 := testPod(ns, 1, 1, false, ipv4only) tCtx := ktesting.Init(t) endpoints := newController(tCtx, testServer.URL, 0*time.Second) endpoints.endpointsStore.Add(&v1.Endpoints{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
RestartPolicy: v1.RestartContainer, }, }, }, } { t.Run(desc, func(t *testing.T) { testPod := v1.Pod{} testPod.Spec.Containers = append(testPod.Spec.Containers, tc.testContainer) output := roundTrip(t, runtime.Object(&testPod)) pod2 := output.(*v1.Pod) if !cmp.Equal(pod2.Spec.Containers[0].ResizePolicy, tc.expectedResizePolicy) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
go informers.Core().V1().Pods().Informer().Run(stopCh) go manager.Run(ctx, 1) pods := newPodList(nil, 1, v1.PodRunning, labelMap, testRSSpec, "pod") testPod := pods.Items[0] testPod.Status.Phase = v1.PodFailed fakeWatch.Add(&testPod) select { case <-received: case <-time.After(wait.ForeverTestTimeout): t.Errorf("unexpected timeout from result channel") } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0)