Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for pod9 (0.09 sec)

  1. pkg/controller/podautoscaler/horizontal.go

    		a.hpaSelectors.PutSelector(hpaKey, parsedSelector)
    	}
    	a.hpaSelectorsMux.Unlock()
    
    	pods, err := a.podLister.Pods(hpa.Namespace).List(parsedSelector)
    	if err != nil {
    		return nil, err
    	}
    
    	selectingHpas := a.hpasControllingPodsUnderSelector(pods)
    	if len(selectingHpas) > 1 {
    		errMsg := fmt.Sprintf("pods by selector %v are controlled by multiple HPAs: %v", selector, selectingHpas)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    				return
    			default:
    				out := &example.Pod{}
    				pod := &example.Pod{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      fmt.Sprintf("foo-%d", i),
    						Namespace: "test-ns",
    					},
    				}
    				podKey := computePodKey(pod)
    				if err := store.Create(ctx, podKey, pod, out, 0); err != nil {
    					errc <- fmt.Errorf("failed to create pod %v: %v", pod, err)
    					return
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cri_stats_provider_test.go

    	seedContainer0 = 2000
    	seedSandbox1   = 3000
    	seedContainer1 = 4000
    	seedContainer2 = 5000
    	seedSandbox2   = 6000
    	seedContainer3 = 7000
    	seedSandbox3   = 8000
    )
    
    const (
    	pName0 = "pod0"
    	pName1 = "pod1"
    	pName2 = "pod2"
    )
    
    const (
    	cName0 = "container0-name"
    	cName1 = "container1-name"
    	cName2 = "container2-name"
    	cName3 = "container3-name"
    	cName5 = "container5-name"
    	cName6 = "container6-name"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceregistry_test.go

    		},
    	}
    }
    
    func makePod(t *testing.T, c kubernetes.Interface, pod *v1.Pod) {
    	t.Helper()
    	newPod, err := c.CoreV1().Pods(pod.Namespace).Create(context.Background(), pod, metav1.CreateOptions{})
    	if kerrors.IsAlreadyExists(err) {
    		newPod, err = c.CoreV1().Pods(pod.Namespace).Update(context.Background(), pod, metav1.UpdateOptions{})
    	}
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		if err != nil {
    			klog.ErrorS(err, "GetPodCgroupMemoryUsage failed", "pod", pod.Name)
    			result.Fail(err)
    			return
    		}
    		if currentPodMemoryUsage >= uint64(*podResources.Memory) {
    			klog.ErrorS(nil, "Aborting attempt to set pod memory limit less than current memory usage", "pod", pod.Name)
    			result.Fail(fmt.Errorf("Aborting attempt to set pod memory limit less than current memory usage for pod %s", pod.Name))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  6. pkg/apis/autoscaling/v2/zz_generated.conversion.go

    	out.Type = autoscaling.MetricSourceType(in.Type)
    	out.Object = (*autoscaling.ObjectMetricSource)(unsafe.Pointer(in.Object))
    	out.Pods = (*autoscaling.PodsMetricSource)(unsafe.Pointer(in.Pods))
    	out.Resource = (*autoscaling.ResourceMetricSource)(unsafe.Pointer(in.Resource))
    	if in.ContainerResource != nil {
    		in, out := &in.ContainerResource, &out.ContainerResource
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 58.5K bytes
    - Viewed (0)
  7. pkg/kube/inject/testdata/inputs/enable-core-dump.yaml.5.template.gen.yaml

    # defaultTemplates defines the default template to use for pods that do not explicitly specify a template
    defaultTemplates: [sidecar]
    policy: enabled
    alwaysInjectSelector:
      []
    neverInjectSelector:
      []
    injectedAnnotations:
    template: "{{ Template_Version_And_Istio_Version_Mismatched_Check_Installation }}"
    templates:
      sidecar: |
        {{- define "resources"  }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  8. pkg/kube/inject/testdata/inputs/hello-existing-cncf-networks-json.yaml.16.template.gen.yaml

    # defaultTemplates defines the default template to use for pods that do not explicitly specify a template
    defaultTemplates: [sidecar]
    policy: enabled
    alwaysInjectSelector:
      []
    neverInjectSelector:
      []
    injectedAnnotations:
    template: "{{ Template_Version_And_Istio_Version_Mismatched_Check_Installation }}"
    templates:
      sidecar: |
        {{- define "resources"  }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inputs/hello-image-pull-secret.yaml.11.template.gen.yaml

    # defaultTemplates defines the default template to use for pods that do not explicitly specify a template
    defaultTemplates: [sidecar]
    policy: enabled
    alwaysInjectSelector:
      []
    neverInjectSelector:
      []
    injectedAnnotations:
    template: "{{ Template_Version_And_Istio_Version_Mismatched_Check_Installation }}"
    templates:
      sidecar: |
        {{- define "resources"  }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inputs/hello.yaml.0.template.gen.yaml

    # defaultTemplates defines the default template to use for pods that do not explicitly specify a template
    defaultTemplates: [sidecar]
    policy: enabled
    alwaysInjectSelector:
      []
    neverInjectSelector:
      []
    injectedAnnotations:
    template: "{{ Template_Version_And_Istio_Version_Mismatched_Check_Installation }}"
    templates:
      sidecar: |
        {{- define "resources"  }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
Back to top