Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for traffic segments. #495

Merged
merged 61 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
6995fba
Debug e2es.
Jun 7, 2023
c8d02ac
Add segment routegroup and ingress.
gargravarr Jun 15, 2023
f24cb48
Merge remote-tracking branch 'origin/master' into ingress-version
gargravarr Jun 15, 2023
7d790aa
Merge remote-tracking branch 'origin/master' into ingress-version
gargravarr Jun 16, 2023
de39350
Add ingress segments to resources; compute new segments on traffic up…
gargravarr Jun 21, 2023
3afd2ea
Fix decimals; cleanup; fix regex.
gargravarr Jun 21, 2023
a89c057
More cleanup.
gargravarr Jun 21, 2023
6183cd5
More cleanup.
gargravarr Jun 21, 2023
aba8837
Move segment computing to stack reconciliation.
gargravarr Jun 22, 2023
4a7066b
Move segment reconciliation to the end.
gargravarr Jun 22, 2023
90230dd
Collect routegroup segments.
gargravarr Jun 30, 2023
25e629f
Support routegroups (unfinished).
gargravarr Jul 7, 2023
dda8d26
Fixed checking up to date resources
gargravarr Jul 7, 2023
2cc7822
Fix unit tests.
gargravarr Jul 7, 2023
3a77194
Remove deprecated linters.
gargravarr Jul 20, 2023
a9a3ae3
Switchs e2es to teapot, for now.
gargravarr Jul 20, 2023
f0bb766
Fix switching e2es to teapot.
gargravarr Jul 20, 2023
ca26aa0
Wait on traffic segments.
gargravarr Jul 25, 2023
ab481ec
Adapt routegroup verification for segments; fix E2E docs
gargravarr Jul 26, 2023
05f1028
Refactor routegroup and ingress verification on E2Es; start fixing Ro…
gargravarr Jul 28, 2023
af50b18
Force stackset e2e to use traffic segments
gargravarr Jul 28, 2023
87b5861
Fix merge conflicts
gargravarr Aug 30, 2023
087abdf
Merge remote-tracking branch 'origin/master' into ingress-version
gargravarr Sep 1, 2023
fd397b5
e2es back to stups-test; remove unused var.
gargravarr Sep 5, 2023
d647def
Extract Traffic Segment struct.
gargravarr Sep 12, 2023
3b8a158
Fix sorting; move segment manipulation to trafficsegment struct,
gargravarr Sep 15, 2023
d004928
Support both traffic segments and central traffic management.
gargravarr Sep 26, 2023
ccf907a
Fix traffic switch.
gargravarr Sep 26, 2023
13b0f50
Reset e2es.
gargravarr Sep 26, 2023
3110ace
Newlines.
gargravarr Sep 26, 2023
f5a0c33
Convert to traffic segments.
gargravarr Sep 27, 2023
e124385
Merge remote-tracking branch 'origin/master' into ingress-version
gargravarr Sep 27, 2023
ed8e4a0
Revert to legacy StackSet.
gargravarr Sep 27, 2023
9c34cf4
Fix e2e cluster targeting to stups-test.
gargravarr Sep 27, 2023
09e4d4d
E2E for traffic segment stackset.
gargravarr Sep 27, 2023
8ce4506
Rearrange code, run goimports.
gargravarr Sep 27, 2023
ffa97f7
goimports
gargravarr Sep 27, 2023
fcad1c7
Delete central ingress considering TTL timeout.
gargravarr Oct 23, 2023
07d85e3
Merge remote-tracking branch 'origin/master' into ingress-version
gargravarr Oct 23, 2023
72f1927
Update ingress type resources from stack spec, not stackset.
gargravarr Oct 25, 2023
fe12cd8
Don't override backend port when no ingress resource.
gargravarr Oct 30, 2023
c9adb9a
E2E tests also segments (Part 1).
gargravarr Nov 2, 2023
11e2164
Test stackset creation also with segments.
gargravarr Nov 3, 2023
0a0d0f5
Test stackset updates also with segments.
gargravarr Nov 8, 2023
fe7ff73
Add option to enable traffic segments by default. Improve convertion …
gargravarr Nov 9, 2023
bb6ba54
Flip unit tests to use segments by default.
gargravarr Nov 9, 2023
32f0ab8
Ensure controller injects segment annotation when needed.
gargravarr Nov 9, 2023
a24c0d7
Fix e2e.
gargravarr Nov 10, 2023
1c37788
Backslashes to shell commands.
gargravarr Nov 10, 2023
6a27717
Fix comment typo.
gargravarr Nov 10, 2023
27a332a
Improve error message.
gargravarr Nov 10, 2023
2feb494
Improve veriable naming.
gargravarr Nov 10, 2023
5e17048
Move annotation injection to reconciler logic.
gargravarr Nov 10, 2023
59584e7
Ensure create/update traffic segments when reconciling stack.
gargravarr Dec 5, 2023
684c586
Resolve config map support conflicts.
gargravarr Dec 5, 2023
233abd9
Check if update is needed based on resource state
mikkeloscar Dec 5, 2023
68daec0
Format.
gargravarr Dec 6, 2023
dc68f02
Generate actual segment in cluster.
gargravarr Dec 6, 2023
b270a78
Decouple segment computing and generation; configure options to compl…
gargravarr Dec 14, 2023
cb044b0
Add more context to logs.
gargravarr Dec 14, 2023
f89601f
Add missing ConfigMap code.
gargravarr Dec 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cmd/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ watch -n 10 "kubectl get -n foo stackset,stack,ing,ep,deployment"
```
kubectl delete namespace foo; kubectl create namespace foo
make
./build/stackset-controller --apiserver=http://127.0.0.1:8001 --controller-id=foo
./build/stackset-controller --apiserver=http://127.0.0.1:8001 \
--enable-routegroup-support --controller-id=foo \
--cluster-domain=${CLUSTER_DOMAIN} --cluster-domain=${CLUSTER_DOMAIN_INTERNAL}
gargravarr marked this conversation as resolved.
Show resolved Hide resolved
```
4. rebuild e2e test and run e2e tests in `foo` namespace
```
Expand Down
Loading
Loading