Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for mysapod (0.17 sec)

  1. plugin/pkg/admission/noderestriction/admission_test.go

    	existingPodsIndex.Add(v1mypod)
    	existingPodsIndex.Add(v1otherpod)
    	existingPodsIndex.Add(v1unboundpod)
    
    	existingNodesIndex.Add(&corev1.Node{ObjectMeta: mynodeObjMeta})
    
    	sapod, _ := makeTestPod("ns", "mysapod", "mynode", true)
    	sapod.Spec.ServiceAccountName = "foo"
    
    	secretpod, _ := makeTestPod("ns", "mysecretpod", "mynode", true)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  2. pkg/scheduler/extender.go

    func (h *HTTPExtender) convertPodUIDToPod(
    	metaPod *extenderv1.MetaPod,
    	nodeInfo *framework.NodeInfo) (*v1.Pod, error) {
    	for _, p := range nodeInfo.Pods {
    		if string(p.Pod.UID) == metaPod.UID {
    			return p.Pod, nil
    		}
    	}
    	return nil, fmt.Errorf("extender: %v claims to preempt pod (UID: %v) on node: %v, but the pod is not found on that node",
    		h.extenderURL, metaPod, nodeInfo.Node().Name)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker_test.go

    			expected: 2,
    		},
    		{
    			name:     "mypod update in foo namespace",
    			request:  httpRequest("PUT", "/api/v1/namespaces/foo/pods/mypod", ""),
    			expected: 3,
    		},
    		{
    			name:     "mypod patch in foo namespace",
    			request:  httpRequest("PATCH", "/api/v1/namespaces/foo/pods/mypod", ""),
    			expected: 3,
    		},
    		{
    			name:     "mypod deletion in foo namespace",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 03 14:02:51 UTC 2021
    - 10.4K bytes
    - Viewed (0)
  4. pkg/scheduler/extender_test.go

    					},
    					NumPDBViolations: 2,
    				},
    			},
    			want: map[string]*extenderv1.MetaVictims{
    				"node1": {
    					Pods: []*extenderv1.MetaPod{
    						{UID: "uid1"},
    						{UID: "uid3"},
    					},
    					NumPDBViolations: 1,
    				},
    				"node2": {
    					Pods: []*extenderv1.MetaPod{
    						{UID: "uid2"},
    						{UID: "uid4"},
    					},
    					NumPDBViolations: 2,
    				},
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. pkg/serviceaccount/claims_test.go

    			Namespace: "myns",
    			Name:      "mysvcacct",
    			UID:       "mysvcacct-uid",
    		},
    	}
    	pod := &core.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Namespace: "myns",
    			Name:      "mypod",
    			UID:       "mypod-uid",
    		},
    	}
    	sec := &core.Secret{
    		ObjectMeta: metav1.ObjectMeta{
    			Namespace: "myns",
    			Name:      "mysecret",
    			UID:       "mysecret-uid",
    		},
    	}
    	node := &core.Node{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. operator/pkg/object/testdata/malformed.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: mypod
      namespace: default
    spec:
      containers:
      - name: mycontainer
        image: nginx
    ---
    apiVersion: v1
    metadata:
      name: myservice
      namespace: default
    spec:
      selector:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 19:39:36 UTC 2023
    - 230 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors_test.go

    		{`{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pod \"mypod\" is forbidden: User \"NAME\" cannot get resource \"pod\" in API group \"\" at the cluster scope","reason":"Forbidden","details":{"name":"mypod","kind":"pod"},"code":403}
    `, authorizer.AttributesRecord{User: u, Verb: "get", Resource: "pod", ResourceRequest: true, Name: "mypod"}, "", "application/json"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 29 07:45:20 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go

    			Verb: "PUT",
    			Path: "/api/v1/namespaces/myns/pods/mypod",
    			ExpectedAttributes: &authorizer.AttributesRecord{
    				Verb:            "update",
    				Path:            "/api/v1/namespaces/myns/pods/mypod",
    				ResourceRequest: true,
    				Namespace:       "myns",
    				Resource:        "pods",
    				APIVersion:      "v1",
    				Name:            "mypod",
    			},
    		},
    		"API group resource": {
    			Verb: "GET",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. pkg/controller/job/pod_failure_policy_test.go

    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/utils/ptr"
    )
    
    func TestMatchPodFailurePolicy(t *testing.T) {
    	validPodObjectMeta := metav1.ObjectMeta{
    		Namespace: "default",
    		Name:      "mypod",
    	}
    	ignore := batch.PodFailurePolicyActionIgnore
    	failJob := batch.PodFailurePolicyActionFailJob
    	failIndex := batch.PodFailurePolicyActionFailIndex
    	count := batch.PodFailurePolicyActionCount
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. operator/pkg/object/testdata/well-formed.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: mypod
      namespace: default
    spec:
      containers:
      - name: mycontainer
        image: nginx
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: myservice
      namespace: default
    spec:
      selector:
        app: MyApp
      ports:
      - protocol: TCP
        port: 80
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 19:39:36 UTC 2023
    - 305 bytes
    - Viewed (0)
Back to top