Comments (5)
The individual Stack objects could have a traffic weight field on themselves
This is how I initially implemented it. It has the problem that you can't really modify the traffic weights in a transaction, so you could end up setting 0 on one stack and fail to set 100 on the other resulting in undesired traffic distribution.
However we do it, it should be something you can modify on a single resource.
@szuecs had some thoughts around a SkipperRoute
resource type which is related and also could be considered here IMO.
from stackset-controller.
I think it makes sense to store it in StackSet and distribute to ingress, because for http routers it does not makes sense to "integrate" with stackset, it should be the stackset-contrller making the change happen to ingress. The advantage with ingress is that other controller like traefik already support zalando.org/backend-weights, so we should not change that for skipper or as target.
SkipperRoute should only be used in favor for custom-routes, in my opinion. Maybe the idea will expand, but I did not started yet with the SkipperRoute anyways.
from stackset-controller.
My concern with having it directly on the StackSet
resource is that it becomes quite hard to just reapply the StackSet
because the list of traffic distribution is dynamic so you would have to always modify the stackset resource you are applying to have the desired traffic distribution.
from stackset-controller.
@mikkeloscar I am fine with only having it in the ingress.
We have to have the 2 annotations anyways to have the desired -> current.
I would say we should close this issue. What do you think @linki?
from stackset-controller.
No answer and we store now the values in stackset spec.Traffic
and status.Traffic
from stackset-controller.
Related Issues (20)
- Unbounded Traffic Switch leads to slow actual switch and high number of pods HOT 1
- Regression: StackSetController chokes on single broken stack HOT 1
- Report stackset/stack information via Prometheus metrics
- Proposal - enable external CRDs: skipper RouteGroup, FabricGateway HOT 6
- jsonschema updates for Kubernetes 1.15/1.16 HOT 1
- enable users to define secrets and configmaps in stackset resource HOT 1
- Detect when controller loses connection to API server
- RouteGroup support HOT 1
- startupProbe Support HOT 2
- Fractional traffic weights don't seem to be set accurately
- metadata from stackset service won't be propagated
- In kube-1.18 we don't write status field anymore HOT 1
- fix transport issue with WATCH
- Some low hanging fruits to improve the coverage:
- Include a tidy check on the CI
- StackSet cannot be created when RouteGroup contains metadata HOT 1
- pre define shunt backend in case routegroups are used HOT 3
- Support 'minReadySeconds' for deployments
- Routegroup Algorithm Support HOT 2
- Cannot overwrite rollingUpdate strategy for Stack's Deployment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stackset-controller.