Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,261 for Pods (0.04 sec)

  1. pkg/controller/util/node/controller_utils.go

    	if len(pods) > 0 {
    		RecordNodeEvent(ctx, recorder, nodeName, nodeUID, v1.EventTypeNormal, "DeletingAllPods", fmt.Sprintf("Deleting all Pods from Node %v.", nodeName))
    	}
    
    	for i := range pods {
    		// Defensive check, also needed for tests.
    		if pods[i].Spec.NodeName != nodeName {
    			continue
    		}
    
    		// Pod will be modified, so making copy is required.
    		pod := pods[i].DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/apps/v1beta2/types.go

    	// can have their pods stopped for an update at any given time. The update
    	// starts by stopping at most 30% of those DaemonSet pods and then brings
    	// up new DaemonSet pods in their place. Once the new pods are available,
    	// it then proceeds onto other DaemonSet pods, thus ensuring that at least
    	// 70% of original number of DaemonSet pods are available at all times during
    	// the update.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  3. security/pkg/server/ca/node_auth_test.go

    			}(ztunnelPod)},
    			wantErr: "pod found, but ServiceAccount does not match",
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			var pods []runtime.Object
    			for _, p := range tt.pods {
    				pods = append(pods, &v1.Pod{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      p.name,
    						Namespace: p.namespace,
    						UID:       types.UID(p.uid),
    					},
    					Spec: v1.PodSpec{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/podresources/server_v1alpha1.go

    }
    
    // List returns information about the resources assigned to pods on the node
    func (p *v1alpha1PodResourcesServer) List(ctx context.Context, req *v1alpha1.ListPodResourcesRequest) (*v1alpha1.ListPodResourcesResponse, error) {
    	metrics.PodResourcesEndpointRequestsTotalCount.WithLabelValues("v1alpha1").Inc()
    	pods := p.podsProvider.GetPods()
    	podResources := make([]*v1alpha1.PodResources, len(pods))
    	p.devicesProvider.UpdateAllocatedDevices()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 17:33:01 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/podresources/types.go

    // DevicesProvider knows how to provide the devices used by the given container
    type DevicesProvider interface {
    	// UpdateAllocatedDevices frees any Devices that are bound to terminated pods.
    	UpdateAllocatedDevices()
    	// GetDevices returns information about the devices assigned to pods and containers
    	GetDevices(podUID, containerName string) []*podresourcesapi.ContainerDevices
    	// GetAllocatableDevices returns information about all the devices known to the manager
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 17:33:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/autoscaling/v1/types_swagger_doc_generated.go

    	"targetAverageValue":       "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/autoscaling/v2beta1/types_swagger_doc_generated.go

    	"currentReplicas":    "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.",
    	"desiredReplicas":    "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  8. pkg/controller/podautoscaler/replica_calculator.go

    	}
    	podList, err := c.podLister.Pods(namespace).List(selector)
    	if err != nil {
    		return 0, 0, 0, time.Time{}, fmt.Errorf("unable to get pods while calculating replica count: %v", err)
    	}
    	if len(podList) == 0 {
    		return 0, 0, 0, time.Time{}, fmt.Errorf("no pods returned by selector while calculating replica count")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go

    	"maxSurge":       "The maximum number of...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 05:34:30 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/policy/v1/types.go

    	// A null selector will match no pods, while an empty ({}) selector will select
    	// all pods within the namespace.
    	// +patchStrategy=replace
    	// +optional
    	Selector *metav1.LabelSelector `json:"selector,omitempty" patchStrategy:"replace" protobuf:"bytes,2,opt,name=selector"`
    
    	// An eviction is allowed if at most "maxUnavailable" pods selected by
    	// "selector" are unavailable after the eviction, i.e. even in absence of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top