Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 279 for Pods (0.08 sec)

  1. 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)
  2. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	controller.NodeLister = p.NodeInformer.Lister()
    	controller.NodeListerSynced = p.NodeInformer.Informer().HasSynced
    
    	// This custom indexer will index pods by its PVC keys. Then we don't need
    	// to iterate all pods every time to find pods which reference given PVC.
    	if err := common.AddPodPVCIndexerIfNotPresent(controller.podIndexer); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  3. 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)
  4. pkg/volume/emptydir/empty_dir.go

    	sizeLimit := &resource.Quantity{}
    	if !utilfeature.DefaultFeatureGate.Enabled(features.SizeMemoryBackedVolumes) {
    		return sizeLimit
    	}
    
    	// size limit defaults to node allocatable (pods can't consume more memory than all pods)
    	sizeLimit = nodeAllocatableMemory
    	zero := resource.MustParse("0")
    
    	// determine pod resource allocation
    	// we use the same function for pod cgroup assignment to maintain consistent behavior
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. cluster/gce/gci/configure-helper.sh

      fi
    
      log-start 'SetupKubePodLogReadersGroupDir'
      if [[ -n "${KUBE_POD_LOG_READERS_GROUP:-}" ]]; then
         mkdir -p /var/log/pods/
         chgrp -R "${KUBE_POD_LOG_READERS_GROUP:-}" /var/log/pods/
         chmod -R g+s /var/log/pods/
      fi
      log-end 'SetupKubePodLogReadersGroupDir'
    
      # Note prepare-mounter-rootfs must be called before the kubelet starts, as
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  6. cluster/log-dump/log-dump.sh

          if [[ -z "${NON_LOGEXPORTED_NODES:-}" ]]; then
            break
          fi
        fi
        sleep 15
      done
    
      # Store logs from logexporter pods to allow debugging log exporting process
      # itself.
      proc=${max_dump_processes}
      "${KUBECTL}" get pods -n "${logexporter_namespace}" -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.spec.nodeName}{"\n"}{end}' | (while read -r pod node; do
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 21:15:57 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    					MinReplicas: &minReplicasVal,
    					MaxReplicas: 10,
    					Metrics: []autoscaling.MetricSpec{
    						{
    							Type: autoscaling.PodsMetricSourceType,
    							Pods: &autoscaling.PodsMetricSource{
    								Metric: autoscaling.MetricIdentifier{
    									Name: "some-pods-metric",
    								},
    								Target: autoscaling.MetricTarget{
    									Type:         autoscaling.AverageValueMetricType,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  8. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                      on which this patch configuration should be applied.
                    properties:
                      labels:
                        additionalProperties:
                          type: string
                        description: One or more labels that indicate a specific set of
                          pods/VMs on which the configuration should be applied.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.7K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    	// calling unmount with a wrong devicePath.
    	if len(rc.volumesNeedUpdateFromNodeStatus) != 0 {
    		return false
    	}
    	return true
    }
    
    // reconstructVolumes tries to reconstruct the actual state of world by scanning all pods' volume
    // directories from the disk. For the volumes that cannot support or fail reconstruction, it will
    // put the volumes to volumesFailedReconstruction to be cleaned up later when DesiredStateOfWorld
    // is populated.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. manifests/charts/base/crds/crd-all.gen.yaml

                      on which this patch configuration should be applied.
                    properties:
                      labels:
                        additionalProperties:
                          type: string
                        description: One or more labels that indicate a specific set of
                          pods/VMs on which the configuration should be applied.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.6K bytes
    - Viewed (0)
Back to top