Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 94 for Pods (0.34 sec)

  1. pkg/kubelet/status/status_manager_test.go

    	}
    }
    
    func TestSyncPodIgnoresNotFound(t *testing.T) {
    	client := fake.Clientset{}
    	syncer := newTestManager(&client)
    	client.AddReactor("get", "pods", func(action core.Action) (bool, runtime.Object, error) {
    		return true, nil, errors.NewNotFound(api.Resource("pods"), "test-pod")
    	})
    	syncer.SetPodStatus(getTestPod(), getRandomPodStatus())
    	verifyActions(t, syncer, []core.Action{getAction()})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  2. pkg/controller/endpoint/endpoints_controller_test.go

    			podStore := cache.NewStore(cache.DeletionHandlingMetaNamespaceKeyFunc)
    			ns := "test"
    			addPods(podStore, ns, 1, 1, 0, tc.ipFamilies)
    			pods := podStore.List()
    			if len(pods) != 1 {
    				t.Fatalf("podStore size: expected: %d, got: %d", 1, len(pods))
    			}
    			pod := pods[0].(*v1.Pod)
    			epa, err := podToEndpointAddressForService(&tc.service, pod)
    
    			if err != nil && !tc.expectError {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    	var wg sync.WaitGroup
    	wg.Add(2 * concurrentRequests)
    	for i := 0; i < concurrentRequests; i++ {
    		go func() {
    			defer wg.Done()
    			if err := expectHTTPGet(fmt.Sprintf("%s/api/v1/namespaces/default/pods?watch=true", server.URL), http.StatusOK); err != nil {
    				t.Error(err)
    			}
    		}()
    	}
    
    	firstRunning.Wait()
    	sendSignals()
    	fakeFilter.wait()
    	firstRunning.Add(concurrentRequests)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  4. hack/local-up-cluster.sh

      local interval_time=2
      local coredns_wait_time=300
    
      # kick the coredns pods to be recreated
      ${KUBECTL} --kubeconfig="${CERT_DIR}/admin.kubeconfig" -n kube-system delete pods -l k8s-app=kube-dns
      sleep 30
    
      local coredns_pods_ready="${KUBECTL} --kubeconfig '${CERT_DIR}/admin.kubeconfig' wait --for=condition=Ready --timeout=60s pods -l k8s-app=kube-dns -n kube-system"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. pkg/apis/admissionregistration/types.go

    	// Required.
    	APIVersions []string
    
    	// Resources is a list of resources this rule applies to.
    	//
    	// For example:
    	// 'pods' means pods.
    	// 'pods/log' means the log subresource of pods.
    	// '*' means all resources, but not subresources.
    	// 'pods/*' means all subresources of pods.
    	// '*/scale' means all scale subresources.
    	// '*/*' means all resources and their subresources.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      repeated string apiVersions = 2;
    
      // Resources is a list of resources this rule applies to.
      //
      // For example:
      // 'pods' means pods.
      // 'pods/log' means the log subresource of pods.
      // '*' means all resources, but not subresources.
      // 'pods/*' means all subresources of pods.
      // '*/scale' means all scale subresources.
      // '*/*' means all resources and their subresources.
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    					changes: change{
    						claim: func(in *resourcev1alpha2.ResourceClaim) *resourcev1alpha2.ResourceClaim {
    							return st.FromResourceClaim(in).
    								ReservedFor(resourcev1alpha2.ResourceClaimConsumerReference{Resource: "pods", Name: podName, UID: types.UID(podUID)}).
    								Obj()
    						},
    					},
    				},
    				postbind: result{
    					removed: []metav1.Object{schedulingInfo},
    				},
    			},
    		},
    		"in-use-by-other": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	//
    	// Note that this also works when the allocation result gets added twice because
    	// two pods both started using a shared claim: the first pod to get here adds the
    	// allocation result. The second pod then only adds itself to reservedFor.
    	patch := fmt.Sprintf(`{"metadata": {"uid": %q}, "status": {%s "reservedFor": [ {"resource": "pods", "name": %q, "uid": %q} ] }}`,
    		claim.UID,
    		allocationPatch,
    		pod.Name,
    		pod.UID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  9. pkg/apis/batch/validation/validation.go

    		// For indexed job, the job controller appends a suffix (`-$INDEX`)
    		// to the pod hostname when indexed job create pods.
    		// The index could be maximum `.spec.completions-1`
    		// If we don't validate this here, the indexed job will fail to create pods later.
    		maximumPodHostname := fmt.Sprintf("%s-%d", job.ObjectMeta.Name, *job.Spec.Completions-1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// Resources is a list of resources this rule applies to.
    	//
    	// For example:
    	// 'pods' means pods.
    	// 'pods/log' means the log subresource of pods.
    	// '*' means all resources, but not subresources.
    	// 'pods/*' means all subresources of pods.
    	// '*/scale' means all scale subresources.
    	// '*/*' means all resources and their subresources.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
Back to top