Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
make weights simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
Michelle Noorali committed Aug 29, 2019
1 parent 7d52d56 commit 7285ad5
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions traffic-split.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,16 @@ different selector and type.
apiVersion: split.smi-spec.io/v1alpha1
kind: TrafficSplit
metadata:
name: my-weights
name: my-trafficsplit
spec:
# The root service that clients use to connect to the destination application.
service: numbers
service: my-website
# Services inside the namespace with their own selectors, endpoints and configuration.
backends:
- service: one
# Identical to resources, 1 = 1000m
weight: 10m
- service: two
weight: 100m
- service: three
weight: 1500m
- service: my-website-v1
weight: 50
- service: my-website-v2
weight: 50
```
### Ports
Expand Down Expand Up @@ -183,7 +180,7 @@ In order to update an application, the user will perform the following actions:
- service: foobar-v1
weight: 1
- service: foobar-v2
weight: 0m
weight: 0
```

**Note**: The `TrafficSplit` resource above refers to the service
Expand Down

0 comments on commit 7285ad5

Please sign in to comment.