- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 442 for Revisions (0.29 sec)
-
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) -
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) -
pkg/test/framework/resource/settings.go
// Compatibility determines whether we should transparently deploy echo workloads attached to each revision // specified in `Revisions` when creating echo instances. Used primarily for compatibility testing between revisions // on different control plane versions. Compatibility bool // Revisions maps the Istio revisions that are available to each cluster to their corresponding versions.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 19:04:51 UTC 2024 - 9.2K bytes - Viewed (0) -
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) -
tests/integration/pilot/gw_topology_test.go
} gatewayNs := namespace.NewOrFail(t, t, namespace.Config{Prefix: "custom-gateway", Inject: inject}) injectLabel := `sidecar.istio.io/inject: "true"` if len(t.Settings().Revisions.Default()) > 0 { injectLabel = fmt.Sprintf(`istio.io/rev: "%v"`, t.Settings().Revisions.Default()) } templateParams := map[string]string{ "imagePullSecret": t.Settings().Image.PullSecret, "injectLabel": injectLabel,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 8K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection.go
// elections, with one difference: the "default" revision will steal the lock from other revisions. func NewLeaderElection(namespace, name, electionID, revision string, client kube.Client) *LeaderElection { return newLeaderElection(namespace, name, electionID, revision, false, false, client) } // NewPerRevisionLeaderElection creates a *per revision* leader election. This means there will be one leader for each revision.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 9.7K bytes - Viewed (0) -
pkg/config/analysis/analyzers/webhook/webhook.go
for _, h := range wh.Webhooks { resources[fmt.Sprintf("%v/%v", resource.Metadata.FullName.String(), h.Name)] = resource } revisions.InsertAll(revs...) return true }) // Set up all relevant namespace and object selector permutations namespaceLabels := getNamespaceLabels() for rev := range revisions { for _, base := range getNamespaceLabels() { base[label.IoIstioRev.Name] = rev
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 6K bytes - Viewed (0) -
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) -
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) -
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)