- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 897 for Pods (0.09 sec)
-
pkg/controller/podautoscaler/replica_calculator_test.go
) func (tc *replicaCalcTestCase) prepareTestClientSet() *fake.Clientset { fakeClient := &fake.Clientset{} fakeClient.AddReactor("list", "pods", func(action core.Action) (handled bool, ret runtime.Object, err error) { obj := &v1.PodList{} podsCount := int(tc.currentReplicas) // Failed pods are not included in tc.currentReplicas if tc.podPhase != nil && len(tc.podPhase) > podsCount { podsCount = len(tc.podPhase) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 19 03:31:34 UTC 2023 - 68.4K bytes - Viewed (0) -
operator/pkg/verifier/k8s_util.go
return fmt.Errorf("DaemonSet is not ready: %s/%s. %d out of %d expected pods have been scheduled", daemonSet.Namespace, daemonSet.Name, daemonSet.Status.UpdatedNumberScheduled, daemonSet.Status.DesiredNumberScheduled) } case appsv1.RollingUpdateDaemonSetStrategyType: if daemonSet.Status.DesiredNumberScheduled <= 0 { return fmt.Errorf("DaemonSet %s/%s is not ready. Initializing, no pods are running", daemonSet.Namespace, daemonSet.Name)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Nov 28 16:26:13 UTC 2023 - 4K bytes - Viewed (0) -
pkg/config/analysis/analyzers/injection/injection-image.go
} } return true }) for ns, pods := range namespaceMismatchedPods { sort.Strings(pods) c.Report(gvk.Namespace, msg.NewPodsIstioProxyImageMismatchInNamespace(namespaceResources[ns], pods)) } } // GetIstioProxyImage retrieves the proxy image name defined in the sidecar injector // configuration.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 4.9K bytes - Viewed (0) -
pkg/scheduler/framework/interface.go
// and Pods rejected by these plugins are requeued based on this extension point. // Failures from other extension points are regarded as temporal errors (e.g., network failure), // and the scheduler requeue Pods without this extension point - always requeue Pods to activeQ after backoff. // This is because such temporal errors cannot be resolved by specific cluster events,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 35.4K bytes - Viewed (0) -
plugin/pkg/admission/noderestriction/admission.go
existingPod, err := p.podsGetter.Pods(a.GetNamespace()).Get(a.GetName()) if apierrors.IsNotFound(err) { return err } if err != nil { return admission.NewForbidden(a, err) } // only allow a node to delete a pod bound to itself if existingPod.Spec.NodeName != nodeName { return admission.NewForbidden(a, fmt.Errorf("node %q can only delete pods with spec.nodeName set to itself", nodeName)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 23.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/util_test.go
return server, storage } server, etcdStorage := newEtcdTestStorage(t, "") defer server.Terminate(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 11 12:07:39 UTC 2024 - 6.3K bytes - Viewed (0) -
cmd/kube-controller-manager/app/apps.go
ctx, controllerContext.InformerFactory.Apps().V1().DaemonSets(), controllerContext.InformerFactory.Apps().V1().ControllerRevisions(), controllerContext.InformerFactory.Core().V1().Pods(), controllerContext.InformerFactory.Core().V1().Nodes(), controllerContext.ClientBuilder.ClientOrDie("daemon-set-controller"), flowcontrol.NewBackOff(1*time.Second, 15*time.Minute), ) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/kubelet/pod_workers.go
// podWorkers keeps track of operations on pods and ensures each pod is // reconciled with the container runtime and other subsystems. The worker // also tracks which pods are in flight for starting, which pods are // shutting down but still have running containers, and which pods have // terminated recently and are guaranteed to have no running containers. // // podWorkers is the source of truth for what pods should be active on a
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 02 13:22:37 UTC 2024 - 74.8K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
configClient istioclient.Interface, client kube.CLIClient, ) error { pods, err := kubeClient.CoreV1().Pods("").List(context.TODO(), metav1.ListOptions{ LabelSelector: "istio=ingressgateway", FieldSelector: "status.phase=Running", }) if err != nil { return multierror.Prefix(err, "Could not find ingress gateway pods") } if len(pods.Items) == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 50.4K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers.go
// Len is part of sort.Interface. func (ms *multiSorter) Len() int { return len(ms.pods) } // Swap is part of sort.Interface. func (ms *multiSorter) Swap(i, j int) { ms.pods[i], ms.pods[j] = ms.pods[j], ms.pods[i] } // Less is part of sort.Interface. func (ms *multiSorter) Less(i, j int) bool { p1, p2 := ms.pods[i], ms.pods[j] var k int for k = 0; k < len(ms.cmp)-1; k++ { cmpResult := ms.cmp[k](p1, p2)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 53.6K bytes - Viewed (0)