Skip to content

Commit

Permalink
Add README for VirtualServices
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Turner authored and ianmiell committed May 4, 2022
1 parent 5958eb6 commit aea771a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
run: |
curl -L https://github.com/yannh/kubeconform/releases/latest/download/kubeconform-linux-amd64.tar.gz | tar -zxf -
sudo mv kubeconform /usr/local/bin
kubeconform -v
- name: check all yaml
run: |
./bin/test.sh | tee -a apply.txt
Expand Down
10 changes: 10 additions & 0 deletions Istio/VirtualService/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# VirtualService
`VirtualServices` configure routing rules for traffic.

Traffic is identified by the _Host_ it's addressed to in its layer 7 request header (there must be at most one VirtualService per Host).
For a given protocol, Routing Rules are then tried in order until one matches the attributes of the request.
The matching routing rule specifies a Service to which to send the request (a _Service_ is effectively a Kubernetes `Service`, qv).
Optionally, a subset of the Service's Pods can be targeted using Subsets (see `DestinationRule`)

VirtualServices can be thought of as an "active" bump-on-the-wire through which requests are sent.
They can apply various transforms to the traffic passing through them, such as header manipulation, delay injection, etc.

0 comments on commit aea771a

Please sign in to comment.