- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 269 for mypods (0.16 sec)
-
pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go
func Test_MarkVolumeAsAttached_Positive_NewVolume(t *testing.T) { // Arrange volumePluginMgr, plugin := volumetesting.GetTestKubeletVolumePluginMgr(t) asw := NewActualStateOfWorld("mynode" /* nodeName */, volumePluginMgr) pod := &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod1", UID: "pod1uid", }, Spec: v1.PodSpec{ Volumes: []v1.Volume{ { Name: "volume-name",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 46.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/cluster_test.go
nodeName string pods []testresources.FakeStaticPod clientSetup func(*clientsetfake.Clientset) expectedEndpoint string expectedErr bool }{ { name: "no pods", nodeName: nodeName, expectedErr: true, }, { name: "exactly one pod with annotation", nodeName: nodeName, pods: []testresources.FakeStaticPod{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 26.7K bytes - Viewed (0) -
pilot/pkg/xds/workload_test.go
}, }, }, } } func createPod(s *xds.FakeDiscoveryServer, name string, sa string, ip string, node string) { pod := mkPod(name, sa, ip, node) pods := clienttest.NewWriter[*corev1.Pod](s.T(), s.KubeClient()) pods.CreateOrUpdate(pod) pods.UpdateStatus(pod) } // nolint: unparam func createService(s *xds.FakeDiscoveryServer, name, namespace string, selector map[string]string) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 15.9K bytes - Viewed (0) -
pkg/kubelet/apis/config/validation/validation_test.go
errMsg: "invalid configuration: maxOpenFiles (--max-open-files) -1 must not be a negative number", }, { name: "invalid MaxPods", configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration { conf.MaxPods = -1 return conf }, errMsg: "invalid configuration: maxPods (--max-pods) -1 must not be a negative number", }, { name: "invalid OOMScoreAdj",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 21:10:42 UTC 2024 - 28.7K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
istioctl analyze --use-kube=false a.yaml b.yaml my-app-config/ # Analyze the current live cluster and suppress PodMissingProxy for pod mypod in namespace 'testing'. istioctl analyze -S "IST0103=Pod mypod.testing" # Analyze the current live cluster and suppress PodMissingProxy for all pods in namespace 'testing', # and suppress MisplacedAnnotation on deployment foobar in namespace default.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 17K bytes - Viewed (0) -
pkg/controller/tainteviction/taint_eviction_test.go
pods, err := c.CoreV1().Pods(corev1.NamespaceAll).List(ctx, metav1.ListOptions{ FieldSelector: selector.String(), LabelSelector: labels.Everything().String(), }) if err != nil { return []*corev1.Pod{}, fmt.Errorf("failed to get Pods assigned to node %v", nodeName) } rPods := make([]*corev1.Pod, len(pods.Items)) for i := range pods.Items { rPods[i] = &pods.Items[i] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 31.3K bytes - Viewed (0) -
pkg/kubelet/apis/config/validation/validation.go
allErrors = append(allErrors, fmt.Errorf("invalid configuration: maxOpenFiles (--max-open-files) %v must not be a negative number", kc.MaxOpenFiles)) } if kc.MaxPods < 0 { allErrors = append(allErrors, fmt.Errorf("invalid configuration: maxPods (--max-pods) %v must not be a negative number", kc.MaxPods)) } if utilvalidation.IsInRange(int(kc.OOMScoreAdj), -1000, 1000) != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/kubelet/preemption/preemption_test.go
return nil } type fakePodProvider struct { pods []*v1.Pod } func newFakePodProvider() *fakePodProvider { return &fakePodProvider{pods: []*v1.Pod{}} } func (f *fakePodProvider) setPods(pods []*v1.Pod) { f.pods = pods } func (f *fakePodProvider) getPods() []*v1.Pod { return f.pods }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jul 24 10:04:08 UTC 2022 - 19.2K bytes - Viewed (0) -
src/go/types/typeset.go
// Object and give it the position of a corresponding embedded interface. Then // we can get rid of the mpos map below and simply use the cloned method's // position. var seen objset var allMethods []*Func mpos := make(map[*Func]token.Pos) // method specification or method embedding position, for good error messages addMethod := func(pos token.Pos, m *Func, explicit bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 13.7K bytes - Viewed (0) -
pkg/controller/disruption/disruption.go
logger := klog.FromContext(ctx) pods, err := dc.getPodsForPdb(pdb) if err != nil { dc.recorder.Eventf(pdb, v1.EventTypeWarning, "NoPods", "Failed to get pods: %v", err) return err } if len(pods) == 0 { dc.recorder.Eventf(pdb, v1.EventTypeNormal, "NoPods", "No matching pods found") } expectedCount, desiredHealthy, unmanagedPods, err := dc.getExpectedPodCount(ctx, pdb, pods) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.1K bytes - Viewed (0)