Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 175 for podrest (0.38 sec)

  1. istioctl/pkg/injector/injector-list.go

    	if counts.pods == 0 {
    		return "<no pods>"
    	}
    
    	podText := strconv.Itoa(counts.pods)
    	if counts.disabled > 0 {
    		podText += fmt.Sprintf(" (injection disabled: %d)", counts.disabled)
    	}
    	if counts.needsRestart > 0 {
    		podText += fmt.Sprintf(" NEEDS RESTART: %d", counts.needsRestart)
    	}
    	return fmt.Sprintf("%s: %s", injectedRevision, podText)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. istioctl/pkg/util/handlers/handlers.go

    		return []string{podName}, namespace, err
    	}
    
    	options := metav1.ListOptions{LabelSelector: selector}
    	podList, err := client.Pods(namespace).List(context.TODO(), options)
    	if err != nil {
    		return []string{}, "", err
    	}
    	pods := []string{}
    	for i := range podList.Items {
    		pods = append(pods, podList.Items[i].Name)
    	}
    
    	return pods, namespace, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 06 15:01:41 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/util_test.go

    		storage := etcd3.New(server.V3Client, apitesting.TestCodec(codecs, examplev1.SchemeGroupVersion, example2v1.SchemeGroupVersion), func() runtime.Object { return &example.Pod{} }, func() runtime.Object { return &example.PodList{} }, prefix, "/pods", schema.GroupResource{Resource: "pods"}, identity.NewEncryptCheckTransformer(), etcd3.NewDefaultLeaseManagerConfig())
    		return server, storage
    	}
    	server, etcdStorage := newEtcdTestStorage(t, "")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 11 12:07:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/test/groovy/org/gradle/api/plugins/quality/PmdPluginTest.groovy

            expect:
            hasCustomizedSettings("pmdMain", project.sourceSets.main)
            hasCustomizedSettings("pmdTest", project.sourceSets.test)
            hasCustomizedSettings("pmdOther", project.sourceSets.other)
            that(project.check, dependsOn(hasItem('pmdMain')))
            that(project.check, dependsOn(not(hasItems('pmdTest', 'pmdOther'))))
        }
    
        private void hasCustomizedSettings(String taskName, SourceSet sourceSet) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 14:47:31 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/compilerFacility/bugsFromRealComposeApps/constExprInitializer.kt

        operator fun component2() = lastEpisodeDate
    }
    
    // FILE: main.kt
    package home
    
    import data.PodcastWithExtraInfo
    
    fun preview(featuredPodcast: PodcastWithExtraInfo) {
        val (podcast, lastEpisodeDate) = featuredPodcast
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 18 11:28:11 UTC 2024
    - 470 bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/config/cluster.go

    	if err != nil {
    		return "", errors.Wrap(err, "could not retrieve list of pods to determine api server endpoints")
    	}
    	if len(podList.Items) != 1 {
    		return "", errors.Errorf("API server pod for node name %q has %d entries, only one was expected", nodeName, len(podList.Items))
    	}
    	if apiServerEndpoint, ok := podList.Items[0].Annotations[constants.KubeAPIServerAdvertiseAddressEndpointAnnotationKey]; ok {
    		return apiServerEndpoint, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/printers/template_test.go

    	// Template printer should succeed on these resources.
    	om := func(name string) metav1.ObjectMeta { return metav1.ObjectMeta{Name: name} }
    	objects := []runtime.Object{
    		&v1.Pod{ObjectMeta: om("pod")},
    		&v1.PodList{},
    		&v1.PodList{Items: []v1.Pod{{}}},
    		&v1.Endpoints{
    			Subsets: []v1.EndpointSubset{{
    				Addresses: []v1.EndpointAddress{{IP: "127.0.0.1"}, {IP: "localhost"}},
    				Ports:     []v1.EndpointPort{{Port: 8080}},
    			}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 22 23:10:00 UTC 2019
    - 7.1K bytes
    - Viewed (0)
  8. pkg/kubelet/config/apiserver_test.go

    		ObjectMeta: metav1.ObjectMeta{Name: "q"},
    		Spec:       v1.PodSpec{Containers: []v1.Container{{Image: "image/blah"}}}}
    
    	// Setup fake api client.
    	fakeWatch := watch.NewFake()
    	lw := fakePodLW{
    		listResp:  &v1.PodList{Items: []v1.Pod{*pod1v1}},
    		watchResp: fakeWatch,
    	}
    
    	ch := make(chan interface{})
    
    	newSourceApiserverFromLW(lw, ch)
    
    	got, ok := <-ch
    	if !ok {
    		t.Errorf("Unable to read from channel when expected")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 22 18:31:03 UTC 2017
    - 5.6K bytes
    - Viewed (0)
  9. pkg/controller/deployment/recreate.go

    	if oldPods := util.GetActualReplicaCountForReplicaSets(oldRSs); oldPods > 0 {
    		return true
    	}
    	for rsUID, podList := range podMap {
    		// If the pods belong to the new ReplicaSet, ignore.
    		if newRS != nil && newRS.UID == rsUID {
    			continue
    		}
    		for _, pod := range podList {
    			switch pod.Status.Phase {
    			case v1.PodFailed, v1.PodSucceeded:
    				// Don't count pods in terminal state.
    				continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 13 20:32:13 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  10. istioctl/pkg/completion/completion.go

    	client, err := ctx.CLIClient()
    	if err != nil {
    		return nil, err
    	}
    	ns := ctx.NamespaceOrDefault(ctx.Namespace())
    	podList, err := client.Kube().CoreV1().Pods(ns).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return nil, err
    	}
    
    	var podsName []string
    	for _, pod := range podList.Items {
    		if toComplete == "" || strings.HasPrefix(pod.Name, toComplete) {
    			podsName = append(podsName, pod.Name)
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top