Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for pod4 (4.07 sec)

  1. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    			pod:  st.MakePod().Namespace(defaultNamespace).Labels(podLabel2).PodAffinityIn("service", "region", []string{"securityscan", "value2"}, st.PodAffinityWithRequiredReq).Obj(),
    			pods: []*v1.Pod{pod},
    			node: &node1,
    		},
    		{
    			name: "satisfies the pod with requiredDuringSchedulingIgnoredDuringExecution in PodAffinity using not in operator in labelSelector that matches the existing pod",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  2. 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)
  3. pkg/kubelet/server/server_test.go

    }
    
    func TestTrimURLPath(t *testing.T) {
    	tests := []struct {
    		path, expected string
    	}{
    		{"", ""},
    		{"//", ""},
    		{"/pods", "pods"},
    		{"pods", "pods"},
    		{"pods/", "pods"},
    		{"good/", "good"},
    		{"pods/probes", "pods"},
    		{"metrics", "metrics"},
    		{"metrics/resource", "metrics/resource"},
    		{"metrics/hello", "metrics/hello"},
    	}
    
    	for _, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. plugin/pkg/admission/limitranger/admission_test.go

    		err := PodMutateLimitFunc(&test.limitRange, &test.pod)
    		if err != nil {
    			t.Errorf("Unexpected error for pod: %s, %v", test.pod.Name, err)
    		}
    		err = PodValidateLimitFunc(&test.limitRange, &test.pod)
    		if err == nil {
    			t.Errorf("Expected error for pod: %s", test.pod.Name)
    		}
    	}
    }
    
    func withRestartableInitContainer(requests, limits api.ResourceList, pod api.Pod) api.Pod {
    	policyAlways := api.ContainerRestartPolicyAlways
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_utils_test.go

    	}
    	pod.Name = "foo"
    	if identityMatches(set, pod) {
    		t.Error("identity matches for a Pod with the wrong name")
    	}
    	pod = newStatefulSetPod(set, 1)
    	pod.Namespace = ""
    	if identityMatches(set, pod) {
    		t.Error("identity matches for a Pod with the wrong namespace")
    	}
    	pod = newStatefulSetPod(set, 1)
    	delete(pod.Labels, apps.StatefulSetPodNameLabel)
    	if identityMatches(set, pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K 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/kubelet/status/status_manager_test.go

    		}
    	}
    
    	testCases := []struct {
    		name     string
    		pod      *v1.Pod
    		updateFn func(*v1.Pod)
    		expectFn func(t *testing.T, status v1.PodStatus)
    	}{
    		{pod: newPod(0, 1, func(pod *v1.Pod) { pod.Status.Phase = v1.PodFailed })},
    		{
    			pod: newPod(0, 1, func(pod *v1.Pod) {
    				pod.Status.Phase = v1.PodRunning
    			}),
    			expectFn: func(t *testing.T, status v1.PodStatus) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    	return p.err
    }
    
    func (p *mockPolicy) Allocate(s state.State, pod *v1.Pod, container *v1.Container) error {
    	return p.err
    }
    
    func (p *mockPolicy) RemoveContainer(s state.State, podUID string, containerName string) {
    }
    
    func (p *mockPolicy) GetTopologyHints(s state.State, pod *v1.Pod, container *v1.Container) map[string][]topologymanager.TopologyHint {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  9. docs/ru/docs/deployment/docker.md

    !!! info "Информация"
        При использовании Kubernetes, это может быть <a href="https://kubernetes.io/docs/concepts/workloads/pods/init-containers/" class="external-link" target="_blank">Инициализирующий контейнер</a>.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. 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)
Back to top