Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 102 for Pods (0.48 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    			continue
    		}
    		podUID := kubetypes.UID(s.Metadata.Uid)
    		if _, ok := pods[podUID]; !ok {
    			pods[podUID] = &kubecontainer.Pod{
    				ID:        podUID,
    				Name:      s.Metadata.Name,
    				Namespace: s.Metadata.Namespace,
    			}
    		}
    		p := pods[podUID]
    		converted, err := m.sandboxToKubeContainer(s)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.31.md

    - Added flag to `kubectl logs` called `--all-pods` to get all pods from a object that uses a pod selector. ([#124732](https://github.com/kubernetes/kubernetes/pull/124732), [@cmwylie19](https://github.com/cmwylie19)) [SIG CLI and Testing]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    )
    
    func makeResources(milliCPU, memory, pods, extendedA, storage, hugePageA int64) v1.ResourceList {
    	return v1.ResourceList{
    		v1.ResourceCPU:              *resource.NewMilliQuantity(milliCPU, resource.DecimalSI),
    		v1.ResourceMemory:           *resource.NewQuantity(memory, resource.BinarySI),
    		v1.ResourcePods:             *resource.NewQuantity(pods, resource.DecimalSI),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top