Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createdPod (0.27 sec)

  1. 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)
  2. 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)
Back to top