Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 576 for Revisions (0.1 sec)

  1. pkg/controller/statefulset/stateful_set_control.go

    		updateRevision = revisions[revisionCount-1]
    	} else if equalCount > 0 {
    		// if the equivalent revision is not immediately prior we will roll back by incrementing the
    		// Revision of the equivalent revision
    		updateRevision, err = ssc.controllerHistory.UpdateControllerRevision(
    			equalRevisions[equalCount-1],
    			updateRevision.Revision)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  2. pkg/test/framework/resource/flags.go

    	}
    
    	if s.Revision != "" {
    		if s.Revisions != nil {
    			return fmt.Errorf("cannot use --istio.test.revision and --istio.test.revisions at the same time," +
    				" --istio.test.revisions will take precedence and --istio.test.revision will be ignored")
    		}
    		// use Revision as the sole revision in RevVerMap
    		s.Revisions = RevVerMap{
    			s.Revision: "",
    		}
    	} else if s.Revisions != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. pkg/controller/history/controller_history.go

    // FindEqualRevisions returns all ControllerRevisions in revisions that are equal to needle using EqualRevision as the
    // equality test. The returned slice preserves the order of revisions.
    func FindEqualRevisions(revisions []*apps.ControllerRevision, needle *apps.ControllerRevision) []*apps.ControllerRevision {
    	var eq []*apps.ControllerRevision
    	for i := range revisions {
    		if EqualRevision(revisions[i], needle) {
    			eq = append(eq, revisions[i])
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  4. pilot/pkg/leaderelection/leaderelection_test.go

    	// Second pod, revision "red", steals the leader lock from "green" since it is the default revision
    	_, stop2 := createElection(t, "pod2", "red", watcher, true, client)
    	// Third pod with revision "red" comes in and cannot take the lock since another revision with "red" has it
    	_, stop3 := createElection(t, "pod3", "red", watcher, false, client)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/bugreport/bugreport.go

    	defer logRuntime(time.Now(), "Done getting control plane revisions/versions")
    
    	text := ""
    	text += fmt.Sprintf("CLI version:\n%s\n\n", version.Info.LongForm())
    
    	revisions := getIstioRevisions(resources)
    	istioVersions, proxyVersions := getIstioVersions(ctx, istioNamespace, revisions)
    	text += "The following Istio control plane revisions/versions were found in the cluster:\n"
    	for rev, ver := range istioVersions {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. pkg/test/framework/components/istio/configmap.go

    	ctx       resource.Context
    	namespace string
    	mu        sync.Mutex
    	revisions resource.RevVerMap
    }
    
    type meshConfig struct {
    	configMap
    	meshConfig *meshconfig.MeshConfig
    }
    
    type injectConfig struct {
    	configMap
    	injectConfig *inject.Config
    	values       *inject.ValuesConfig
    }
    
    func newConfigMap(ctx resource.Context, namespace string, revisions resource.RevVerMap) *configMap {
    	return &configMap{
    		ctx:       ctx,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_test.go

    		}
    	}
    
    	// It should not adopt revisions.
    	revisions, err := ssh.ListControllerRevisions(set, selector)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if got, want := len(revisions), 1; got != want {
    		t.Errorf("len(revisions) = %v, want %v", got, want)
    	}
    	for _, revision := range revisions {
    		if len(revision.OwnerReferences) > 0 {
    			t.Errorf("unexpected revision owner references: %v", revision.OwnerReferences)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. pkg/controller/statefulset/stateful_set_utils.go

    }
    
    // nextRevision finds the next valid revision number based on revisions. If the length of revisions
    // is 0 this is 1. Otherwise, it is 1 greater than the largest revision's Revision. This method
    // assumes that revisions has been sorted by Revision.
    func nextRevision(revisions []*apps.ControllerRevision) int64 {
    	count := len(revisions)
    	if count <= 0 {
    		return 1
    	}
    	return revisions[count-1].Revision + 1
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. tests/integration/pilot/ingress_test.go

    				d := filepath.Join(t.TempDir(), "gateway-values.yaml")
    				rev := ""
    				if t.Settings().Revisions.Default() != "" {
    					rev = t.Settings().Revisions.Default()
    				}
    				os.WriteFile(d, []byte(fmt.Sprintf(`
    revision: %v
    gateways:
      istio-ingressgateway:
        name: custom-gateway-helm
        injectionTemplate: gateway
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/uninstall.go

    		l.LogAndFatal(err)
    	}
    	var kubeClientWithRev kube.CLIClient
    	if uiArgs.revision != "" && uiArgs.revision != "default" {
    		kubeClientWithRev, err = ctx.CLIClientWithRevision(uiArgs.revision)
    		if err != nil {
    			return err
    		}
    	} else {
    		kubeClientWithRev = kubeClient
    	}
    
    	if uiArgs.revision != "" {
    		revisions, err := tag.ListRevisionDescriptions(kubeClient)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top