- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 473 for Pods (0.06 sec)
-
pkg/controller/volume/attachdetach/attach_detach_controller_test.go
} adc := adcObj.(*attachDetachController) pods, err := fakeKubeClient.CoreV1().Pods(v1.NamespaceAll).List(tCtx, metav1.ListOptions{}) if err != nil { t.Fatalf("Run failed with error. Expected: <no error> Actual: %v", err) } for _, pod := range pods.Items { podToAdd := pod podInformer.GetIndexer().Add(&podToAdd) podsNum++ }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 24.2K bytes - Viewed (0) -
cni/pkg/util/podutil.go
func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error { _, err := client.CoreV1(). Pods(pod.Namespace). Patch( context.Background(), pod.Name, types.MergePatchType, annotationPatch, metav1.PatchOptions{}, // Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead. "status", ) return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 17:18:11 UTC 2024 - 4.4K bytes - Viewed (0) -
manifests/charts/istio-cni/templates/resourcequota.yaml
{{- if .Values.cni.resourceQuotas.enabled }} apiVersion: v1 kind: ResourceQuota metadata: name: {{ template "name" . }}-resource-quota namespace: {{ .Release.Namespace }} spec: hard: pods: {{ .Values.cni.resourceQuotas.pods | quote }} scopeSelector: matchExpressions: - operator: In scopeName: PriorityClass values: - system-node-critical
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 388 bytes - Viewed (0) -
tests/integration/pilot/cni/cniversionskew_test.go
retry.UntilSuccessOrFail(t, func() error { pods, err := podFetchFn() if err != nil { return fmt.Errorf("failed to get CNI pods %v", err) } if len(pods) == 0 { return fmt.Errorf("cannot find any CNI pods") } for _, p := range pods { if !strings.Contains(p.Spec.Containers[0].Image, v) { return fmt.Errorf("pods image does not match wanted CNI version") } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 22:56:37 UTC 2024 - 3.6K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/waiting_pods_map.go
) // waitingPodsMap a thread-safe map used to maintain pods waiting in the permit phase. type waitingPodsMap struct { pods map[types.UID]*waitingPod mu sync.RWMutex } // NewWaitingPodsMap returns a new waitingPodsMap. func NewWaitingPodsMap() *waitingPodsMap { return &waitingPodsMap{ pods: make(map[types.UID]*waitingPod), } } // add a new WaitingPod to the map.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods_test.go
}{ { name: "nil case", }, { name: "all pods in running state", objs: []runtime.Object{ makePod("p1", "", cpu1, api.PodRunning), makePod("p2", "", cpu1, api.PodRunning), }, want: corev1.ResourceList{ corev1.ResourcePods: resource.MustParse("2"), corev1.ResourceName("count/pods"): resource.MustParse("2"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0) -
pkg/controller/tainteviction/taint_eviction.go
// getPodsAssignedToNode can be delayed as long as all future updates to pods will call // tc.PodUpdated which will use tc.taintedNodes to potentially delete delayed pods. pods, err := tc.getPodsAssignedToNode(node.Name) if err != nil { logger.Error(err, "Failed to get pods assigned to node", "node", klog.KObj(node)) return } if len(pods) == 0 { return } // Short circuit, to make this controller a bit faster.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 19.9K bytes - Viewed (0) -
pkg/scheduler/framework/types.go
// Overall node information. node *v1.Node // Pods running on the node. Pods []*PodInfo // The subset of pods with affinity. PodsWithAffinity []*PodInfo // The subset of pods with required anti-affinity. PodsWithRequiredAntiAffinity []*PodInfo // Ports allocated on the node. UsedPorts HostPortInfo // Total requested resources of all pods on this node. This includes assumed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 19:28:17 UTC 2024 - 36.7K bytes - Viewed (0) -
pkg/kubelet/eviction/eviction_manager_test.go
summaryStatsMaker := makePIDStats pods := []*v1.Pod{} podStats := map[*v1.Pod]statsapi.PodStats{} for _, podToMake := range tc.podsToMake { pod, podStat := podMaker(podToMake.name, podToMake.priority, podToMake.pidUsage) pods = append(pods, pod) podStats[pod] = podStat } podToEvict := pods[tc.evictPodIndex] activePodsFunc := func() []*v1.Pod { return pods }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 119.9K bytes - Viewed (0) -
manifests/charts/istio-cni/values.yaml
resourceQuotas: enabled: false pods: 5000 # The number of pods that can be unavailable during rolling update (see # `updateStrategy.rollingUpdate.maxUnavailable` here: # https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/#DaemonSetSpec). # May be specified as a number of pods or as a percent of the total number # of pods at the start of the update. rollingMaxUnavailable: 1
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 5.2K bytes - Viewed (0)