- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,369 for Pods (0.04 sec)
-
pkg/scheduler/util/utils.go
return pod.Status.StartTime } // Assumed pods and bound pods that haven't started don't have a StartTime yet. return &metav1.Time{Time: time.Now()} } // GetEarliestPodStartTime returns the earliest start time of all pods that // have the highest priority among all victims. func GetEarliestPodStartTime(victims *extenderv1.Victims) *metav1.Time { if len(victims.Pods) == 0 { // should not reach here.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 21 01:40:44 UTC 2023 - 6.2K bytes - Viewed (0) -
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) -
pkg/controller/controller_utils.go
if rankDiff == 0 { return s.Pods[i].UID < s.Pods[j].UID } return rankDiff < 0 } } } // 7. Pods with containers with higher restart counts < lower restart counts if maxContainerRestarts(s.Pods[i]) != maxContainerRestarts(s.Pods[j]) { return maxContainerRestarts(s.Pods[i]) > maxContainerRestarts(s.Pods[j]) } // 8. Empty creation time pods < newer pods < older pods
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 12 15:34:44 UTC 2024 - 47.6K bytes - Viewed (0) -
staging/src/k8s.io/api/apps/v1beta1/types.go
// can be scaled down further, followed by scaling up the new ReplicaSet, ensuring // that the total number of pods available at all times during the update is at // least 70% of desired pods. // +optional MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty" protobuf:"bytes,1,opt,name=maxUnavailable"` // The maximum number of pods that can be scheduled above the desired number of // pods.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:24 UTC 2023 - 35.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)