Félix Cantournet
0ca48d77be
Fix Port discovery with multiple port services
...
This fixes issue https://github.com/weaveworks/flagger/issues/263
We actually don't need to specify any ports in the VirtualService
and DestinationRules.
Istio will create clusters/listerners for each named port we have declared in
the kubernetes services and the router can be shared as it operates only on L7 criterias
Also contains a tiny clean-up of imports
2019-08-02 10:07:00 +02:00
stefanprodan
88c450e3bd
Implement port discovery
...
If port discovery is enabled, Flagger scans the deployment pod template and extracts the container ports excluding the port specified in the canary service spec and Istio proxy ports. All the extra ports will be used when generation the ClusterIP services.
2019-06-15 16:34:32 +03:00
stefanprodan
2285bd210e
Add traffic policy to canary service spec
...
Attach traffic policy to canary and primary destination rules
2019-06-07 13:58:59 +03:00
stefanprodan
3fa9f37192
Reconcile Istio destination rule
...
Remove port selector from virtual service destinations
Ignore the destination weight field when diffing the virtual service spec
2019-06-07 13:31:07 +03:00
stefanprodan
c92230c109
Fix duplicate hosts error when using wildcard
2019-05-02 19:05:54 +03:00
stefanprodan
126b68559e
Set default mesh gateway if no gateway is specified
2019-04-06 12:21:30 +03:00
stefanprodan
ca074ef13f
Rename router sync to reconcile
2019-03-26 17:12:46 +02:00
stefanprodan
b4ae060122
Move to weaveworks org
2019-03-20 18:26:04 +02:00
stefanprodan
881387e522
Fix HTTP URI match conditions
2019-03-11 14:54:17 +02:00
stefanprodan
bf1ca293dc
Implement fix routing for canary analysis
...
Allow A/B testing scenarios where instead of weighted routing the traffic is split between the primary and canary based on HTTP headers or cookies.
2019-03-08 11:54:41 +02:00
stefanprodan
9adc0698bb
Add CORS policy to Istio router
2019-03-06 15:34:36 +02:00
stefanprodan
eab7f126a6
Use request.add for header append operation
2019-03-06 13:45:46 +02:00
stefanprodan
7d0df82861
Add header manipulation rules to Canary CRD
2019-03-06 12:41:53 +02:00
stefanprodan
b0b6198ec8
Add Istio virtual service and signal packages
2019-03-06 01:43:09 +02:00
stefanprodan
9a9964c968
Add ClusterIP host to virtual service
2019-03-05 02:27:56 +02:00
stefanprodan
9680ca98f2
Rename service router to Kubernetes router
2019-03-05 02:12:52 +02:00
stefanprodan
3f5c22d863
Extract routing to dedicated package
...
- split routing management into Kubernetes service router and Istio Virtual service router
2019-03-05 02:02:58 +02:00