Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for RSs (0.08 sec)

  1. pkg/controller/deployment/recreate_test.go

    	}{
    		{
    			name:              "no old RSs",
    			hasOldPodsRunning: false,
    		},
    		{
    			name:              "old RSs with running pods",
    			oldRSs:            []*apps.ReplicaSet{rsWithUID("some-uid"), rsWithUID("other-uid")},
    			podMap:            podMapWithUIDs([]string{"some-uid", "other-uid"}),
    			hasOldPodsRunning: true,
    		},
    		{
    			name:              "old RSs without pods but with non-zero status replicas",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/internal/impl/DefaultSessionTest.java

    public class DefaultSessionTest {
    
        @Test
        void testRootDirectoryWithNull() {
            RepositorySystemSession rss = new DefaultRepositorySystemSession(h -> false);
            DefaultMavenExecutionRequest mer = new DefaultMavenExecutionRequest();
            MavenSession ms = new MavenSession(null, rss, mer, null);
            DefaultSession session =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jan 25 13:58:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/util/testing/fake_test.go

    	}
    	// Add real server to the virtual server
    	for i := range rss {
    		if err = fake.AddRealServer(vs, rss[i]); err != nil {
    			t.Errorf("Fail to add real server, error: %v", err)
    		}
    	}
    	// Delete a real server of the virtual server
    	// Make sure any position of the list can be real deleted
    	rssLen := len(rss)
    	for i := range rss {
    		// List all real servers of the virtual server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. pkg/controller/deployment/util/deployment_util_test.go

    			rs:   rss[3],
    			err:  fmt.Errorf("could not find deployments set for ReplicaSet %s in namespace %s with labels: %v", rss[3].Name, rss[3].Namespace, rss[3].Labels),
    		},
    		{
    			name: "GetDeploymentsForReplicaSet for rs-4",
    			rs:   rss[4],
    			err:  fmt.Errorf("could not find deployments set for ReplicaSet %s in namespace %s with labels: %v", rss[4].Name, rss[4].Namespace, rss[4].Labels),
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/util/ipvs_linux.go

    	}
    	rss := make([]*RealServer, 0)
    	for _, dst := range dsts {
    		dst, err := toRealServer(dst)
    		// TODO: aggregate errors?
    		if err != nil {
    			return nil, fmt.Errorf("could not convert IPVS destination to local real server: %w", err)
    		}
    		rss = append(rss, dst)
    	}
    	return rss, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. pkg/scheduler/testing/framework/fake_listers.go

    		if err != nil {
    			// This object has an invalid selector, it does not match the pod
    			continue
    		}
    
    		if selector.Matches(labels.Set(pod.Labels)) {
    			rss = append(rss, rs)
    		}
    	}
    	if len(rss) == 0 {
    		err = fmt.Errorf("could not find ReplicaSet for pod %s in namespace %s with labels: %v", pod.Name, pod.Namespace, pod.Labels)
    	}
    
    	return
    }
    
    // ReplicaSets returns nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 10:14:08 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

        @Inject
        ToolchainsBuilder toolchainsBuilder;
    
        @BeforeEach
        void setup() {
            // create session with any local repo, is redefined anyway below
            RepositorySystemSession rss = new MavenSessionBuilderSupplier(repositorySystem)
                    .get()
                    .withLocalRepositoryBaseDirectories(new File("target").toPath())
                    .build();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/cadvisor_stats_provider.go

    		return false
    	}
    	return cstat.CpuInst.Usage.Total != 0 && cstat.Memory.RSS != 0
    }
    
    // isContainerTerminated returns true if the specified container meet one of the following conditions
    // 1. info.spec both cpu memory and network are false conditions
    // 2. info.Stats both network and cpu or memory are nil
    // 3. both zero CPU instantaneous usage zero memory RSS usage and zero network usage,
    // and false otherwise.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  9. pkg/controller/replicaset/replica_set.go

    	// them to see if anyone wants to adopt it.
    	// DO NOT observe creation because no controller should be waiting for an
    	// orphan.
    	rss := rsc.getPodReplicaSets(pod)
    	if len(rss) == 0 {
    		return
    	}
    	logger.V(4).Info("Orphan Pod created", "pod", klog.KObj(pod), "detail", pod)
    	for _, rs := range rss {
    		rsc.enqueueRS(rs)
    	}
    }
    
    // When a pod is updated, figure out what replica set/s manage it and wake them
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. pkg/controller/replicaset/replica_set_test.go

    		for _, r := range c.inRSs {
    			informers.Apps().V1().ReplicaSets().Informer().GetIndexer().Add(r)
    		}
    		if rss := manager.getPodReplicaSets(c.pod); rss != nil {
    			if len(rss) != 1 {
    				t.Errorf("len(rss) = %v, want %v", len(rss), 1)
    				continue
    			}
    			rs := rss[0]
    			if c.outRSName != rs.Name {
    				t.Errorf("Got replica set %+v expected %+v", rs.Name, c.outRSName)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
Back to top