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 Istio traffic policy #200

Merged
merged 7 commits into from
Jun 12, 2019
Merged

Add support for Istio traffic policy #200

merged 7 commits into from
Jun 12, 2019

Conversation

stefanprodan
Copy link
Member

This PR allows customising the Istio load balancing, connection pool sizes and outlier detection by extending the canary service spec with traffic policy.

Example:

apiVersion: flagger.app/v1alpha3
kind: Canary
spec:
  service:
    trafficPolicy:
      loadBalancer:
        consistentHash:
          httpCookie:
            name: user
            ttl: 0s

Fix: #199
Ref: #67

Remove port selector from virtual service destinations
Ignore the destination weight field when diffing the virtual service spec
Attach traffic policy to canary and primary destination rules
@stefanprodan stefanprodan merged commit f117f72 into master Jun 12, 2019
@stefanprodan stefanprodan deleted the traffic-policy branch June 12, 2019 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Istio traffic policy
1 participant