Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 116 for Namespaced (0.17 sec)

  1. pkg/kubelet/kubelet_pods.go

    	kl.removeOrphanedPodStatuses(allPods, mirrorPods)
    
    	// Remove orphaned pod user namespace allocations (if any).
    	klog.V(3).InfoS("Clean up orphaned pod user namespace allocations")
    	if err = kl.usernsManager.CleanupOrphanedPodUsernsAllocations(allPods, runningRuntimePods); err != nil {
    		klog.ErrorS(err, "Failed cleaning up orphaned pod user namespaces allocations")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    }
    
    func podWithUIDNameNs(uid types.UID, name, namespace string) *v1.Pod {
    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID:         uid,
    			Name:        name,
    			Namespace:   namespace,
    			Annotations: map[string]string{},
    		},
    	}
    }
    
    func podWithUIDNameNsSpec(uid types.UID, name, namespace string, spec v1.PodSpec) *v1.Pod {
    	pod := podWithUIDNameNs(uid, name, namespace)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. pkg/registry/batch/job/strategy_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "myjob2",
    					Namespace: metav1.NamespaceDefault,
    					UID:       theUID,
    				},
    				Spec: validSpec,
    			},
    		},
    		"dns invalid name": {
    			wantWarningsCount: 1,
    			job: &batch.Job{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "my job2",
    					Namespace: metav1.NamespaceDefault,
    					UID:       theUID,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/flowcontrol/v1beta3/generated.pb.go

    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	if len(m.Namespaces) > 0 {
    		for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- {
    			i -= len(m.Namespaces[iNdEx])
    			copy(dAtA[i:], m.Namespaces[iNdEx])
    			i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespaces[iNdEx])))
    			i--
    			dAtA[i] = 0x2a
    		}
    	}
    	i--
    	if m.ClusterScope {
    		dAtA[i] = 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 141.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/flowcontrol/v1/generated.pb.go

    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	if len(m.Namespaces) > 0 {
    		for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- {
    			i -= len(m.Namespaces[iNdEx])
    			copy(dAtA[i:], m.Namespaces[iNdEx])
    			i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespaces[iNdEx])))
    			i--
    			dAtA[i] = 0x2a
    		}
    	}
    	i--
    	if m.ClusterScope {
    		dAtA[i] = 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 141.8K bytes
    - Viewed (0)
  6. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	var pods = []*v1.Pod{
    		st.MakePod().Name("p0").Namespace("ns1").Annotation("annot1", "val1").NominatedNodeName("node1").Obj(),
    		st.MakePod().Name("p1").Namespace("ns1").Annotation("annot", "val").Obj(),
    		st.MakePod().Name("p2").Namespace("ns2").Annotation("annot2", "val2").Annotation("annot3", "val3").NominatedNodeName("node3").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/proxier_test.go

    			masq:     true,
    		},
    	})
    }
    
    func makeTestService(namespace, name string, svcFunc func(*v1.Service)) *v1.Service {
    	svc := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        name,
    			Namespace:   namespace,
    			Annotations: map[string]string{},
    		},
    		Spec:   v1.ServiceSpec{},
    		Status: v1.ServiceStatus{},
    	}
    	svcFunc(svc)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods_test.go

    func (e envs) Swap(i, j int) { e[i], e[j] = e[j], e[i] }
    
    func (e envs) Less(i, j int) bool { return e[i].Name < e[j].Name }
    
    func buildService(name, namespace, clusterIP, protocol string, port int) *v1.Service {
    	return &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: namespace},
    		Spec: v1.ServiceSpec{
    			Ports: []v1.ServicePort{{
    				Protocol: v1.Protocol(protocol),
    				Port:     int32(port),
    			}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/flowcontrol/v1beta1/generated.pb.go

    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	if len(m.Namespaces) > 0 {
    		for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- {
    			i -= len(m.Namespaces[iNdEx])
    			copy(dAtA[i:], m.Namespaces[iNdEx])
    			i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespaces[iNdEx])))
    			i--
    			dAtA[i] = 0x2a
    		}
    	}
    	i--
    	if m.ClusterScope {
    		dAtA[i] = 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test"},
    		Spec:       example.PodSpec{NodeName: "machine"},
    	}
    	podB := &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test"},
    		Spec:       example.PodSpec{NodeName: "machine2"},
    	}
    	podAWithResourceVersion := &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test", ResourceVersion: "7"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
Back to top