- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for createdPod (0.38 sec)
-
pkg/kubelet/pod/mirror_client_test.go
assert.Error(t, err) return } createdPod, err := clientset.CoreV1().Pods(testPodNS).Get(context.TODO(), testPodName, metav1.GetOptions{}) require.NoError(t, err) // Validate created pod assert.Equal(t, testPodHash, createdPod.Annotations[kubetypes.ConfigMirrorAnnotationKey]) assert.Len(t, createdPod.OwnerReferences, 1) expectedOwnerRef := metav1.OwnerReference{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 08 12:44:09 UTC 2023 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/util_test.go
} func TestHasInitialEventsEndBookmarkAnnotation(t *testing.T) { createPod := func(name string) *example.Pod { return &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: name}} } createAnnotatedPod := func(name, value string) *example.Pod { p := createPod(name) p.Annotations = map[string]string{} p.Annotations[metav1.InitialEventsAnnotationKey] = value return p }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 11 12:07:39 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/volume/util/recyclerclient/recycler_client_test.go
client := &mockRecyclerClient{ events: test.eventSequence, pod: test.existingPod, } err := internalRecycleVolumeByWatchingPodUntilCompletion(test.createPod.Name, test.createPod, client) receivedError := "" if err != nil { receivedError = err.Error() } if receivedError != test.expectedError { t.Errorf("Test %q failed, expected error %q, got %q", test.name, test.expectedError, receivedError)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 31 14:16:53 UTC 2022 - 8.5K bytes - Viewed (0) -
pkg/volume/util/recyclerclient/recycler_client.go
if err != nil { klog.V(4).Infof("cannot start watcher for pod %s/%s: %v", pod.Namespace, pod.Name, err) return err } // Start the pod _, err = recyclerClient.CreatePod(pod) if err != nil { if errors.IsAlreadyExists(err) { deleteErr := recyclerClient.DeletePod(pod.Name, pod.Namespace) if deleteErr != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 8.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/health.go
createdJob, err := client.BatchV1().Jobs(ns).Create(context.Background(), job, metav1.CreateOptions{}) if err != nil { klog.V(2).Infof("Could not create a Job with the prefix %q in the namespace %q, retrying: %v", prefix, ns, err) lastError = err return false, nil } jobName = createdJob.Name return true, nil }) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 09:18:02 UTC 2024 - 8.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/build_lifecycle.adoc
Your build scripts and plugins configure this dependency graph. For example, if your project tasks include `build`, `assemble`, `createDocs`, your build script(s) can ensure that they are executed in the order `build` -> `assemble` -> `createDoc`. == Task Graphs Gradle builds the task graph *before* executing any task. Across all projects in the build, tasks form a http://en.wikipedia.org/wiki/Directed_acyclic_graph[Directed Acyclic Graph^] (DAG).
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 29 11:17:49 UTC 2023 - 4.2K bytes - Viewed (0)