Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for svcs (0.06 sec)

  1. pkg/proxy/nftables/proxier_test.go

    			svc.Spec.Type = "NodePort"
    			svc.Spec.ClusterIP = "172.30.0.43"
    			svc.Spec.Ports = []v1.ServicePort{{
    				Name:     "p80",
    				Port:     80,
    				Protocol: v1.ProtocolTCP,
    				NodePort: 3003,
    			}}
    		}),
    		// create ExternalIP service
    		makeTestService("ns4", "svc4", func(svc *v1.Service) {
    			svc.Spec.Type = "NodePort"
    			svc.Spec.ClusterIP = "172.30.0.44"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/proxier_test.go

    			NodePort: int32(svcNodePort),
    		}}
    		svc.Spec.ExternalTrafficPolicy = v1.ServiceExternalTrafficPolicyLocal
    	})
    
    	svc1, svc2, invalidSvc3 := *sampleSvc, *sampleSvc, *sampleSvc
    	svc1.Name, svc1.Spec.HealthCheckNodePort = "valid-svc1", 30000
    	svc2.Name, svc2.Spec.HealthCheckNodePort = "valid-svc2", 30001
    	// make svc3 invalid by setting external traffic policy to cluster
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  3. pkg/scheduler/schedule_one_test.go

    	fts := feature.Features{}
    	tests := []struct {
    		name               string
    		registerPlugins    []tf.RegisterPluginFunc
    		extenders          []tf.FakeExtender
    		nodes              []string
    		pvcs               []v1.PersistentVolumeClaim
    		pod                *v1.Pod
    		pods               []*v1.Pod
    		wantNodes          sets.Set[string]
    		wantEvaluatedNodes *int32
    		wErr               error
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	duration, err := time.ParseDuration(durationStr)
    	if err != nil {
    		duration = globalNetPerfMinDuration
    	}
    
    	if duration < globalNetPerfMinDuration {
    		// We need sample size of minimum 10 secs.
    		duration = globalNetPerfMinDuration
    	}
    
    	duration = duration.Round(time.Second)
    
    	results, err := globalSiteReplicationSys.Netperf(ctx, duration)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/exec.go

    	if err = os.WriteFile(src, []byte(swigIntSizeCode), 0666); err != nil {
    		return
    	}
    	srcs := []string{src}
    
    	p := load.GoFilesPackage(context.TODO(), load.PackageOpts{}, srcs)
    
    	if _, _, e := BuildToolchain.gc(b, &Action{Mode: "swigDoIntSize", Package: p, Objdir: objdir}, "", nil, nil, "", false, "", srcs); e != nil {
    		return "32", nil
    	}
    	return "64", nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  6. pkg/volume/util/operationexecutor/operation_generator.go

    			newSize = updatedSize
    			// k8s doesn't have transactions, we can't guarantee that after updating PV - updating PVC will be
    			// successful, that is why all PVCs for which pvc.Spec.Size > pvc.Status.Size must be reprocessed
    			// until they reflect user requested size in pvc.Status.Size
    			_, updateErr := util.UpdatePVSize(pv, newSize, og.kubeClient)
    			if updateErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_control_test.go

    	om.podsIndexer.Update(pods[0])
    	if _, err := ssc.UpdateStatefulSet(context.TODO(), set, pods); err != nil {
    		t.Errorf("Error updating StatefulSet %s", err)
    	}
    	// invariants check if there any missing PVCs for the Pods
    	if err := invariants(set, om); err != nil {
    		t.Error(err)
    	}
    	_, err = om.podsLister.Pods(set.Namespace).List(selector)
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
Back to top