Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 77 for Pods (0.04 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tests/integration/ambient/baseline_test.go

    func TestWaypointChanges(t *testing.T) {
    	framework.NewTest(t).Run(func(t framework.TestContext) {
    		getGracePeriod := func(want int64) bool {
    			pods, err := kubetest.NewPodFetch(t.AllClusters()[0], apps.Namespace.Name(), constants.GatewayNameLabel+"=waypoint")()
    			assert.NoError(t, err)
    			for _, p := range pods {
    				grace := p.Spec.TerminationGracePeriodSeconds
    				if grace != nil && *grace == want {
    					return true
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    		expectedEvents []string
    	}{
    		{
    			"no pods use the volume",
    			[]nodeWithPods{
    				{"node1", []string{"ns1/pod1"}},
    			},
    			[]string{"Warning FailedAttachVolume Multi-Attach error for volume \"volume-name\" Volume is already exclusively attached to one node and can't be attached to another"},
    		},
    		{
    			"pods in the same namespace use the volume",
    			[]nodeWithPods{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  9. cluster/gce/windows/k8s-node-setup.psm1

    #  - Document functions using proper syntax:
    #    https://technet.microsoft.com/en-us/library/hh847834(v=wps.620).aspx
    
    $GCE_METADATA_SERVER = "169.254.169.254"
    # The "management" interface is used by the kubelet and by Windows pods to talk
    # to the rest of the Kubernetes cluster *without NAT*. This interface does not
    # exist until an initial HNS network has been created on the Windows node - see
    # Add_InitialHnsNetwork().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  10. pkg/registry/core/pod/strategy_test.go

    		gateEnabled bool
    		newPod      *api.Pod
    		wantPod     *api.Pod
    	}{
    		{
    			description: "gate enabled, creating pods with sleep action",
    			gateEnabled: true,
    			newPod:      podWithHandler(),
    			wantPod:     podWithHandler(),
    		},
    		{
    			description: "gate disabled, creating pods with sleep action",
    			gateEnabled: false,
    			newPod:      podWithHandler(),
    			wantPod:     podWithoutHandler(),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
Back to top