Skip to content

Commit aea771a

Browse files
Matt Turnerianmiell
authored andcommitted
Add README for VirtualServices
1 parent 5958eb6 commit aea771a

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
run: |
1414
curl -L https://github.com/yannh/kubeconform/releases/latest/download/kubeconform-linux-amd64.tar.gz | tar -zxf -
1515
sudo mv kubeconform /usr/local/bin
16+
kubeconform -v
1617
- name: check all yaml
1718
run: |
1819
./bin/test.sh | tee -a apply.txt

Istio/VirtualService/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# VirtualService
2+
`VirtualServices` configure routing rules for traffic.
3+
4+
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).
5+
For a given protocol, Routing Rules are then tried in order until one matches the attributes of the request.
6+
The matching routing rule specifies a Service to which to send the request (a _Service_ is effectively a Kubernetes `Service`, qv).
7+
Optionally, a subset of the Service's Pods can be targeted using Subsets (see `DestinationRule`)
8+
9+
VirtualServices can be thought of as an "active" bump-on-the-wire through which requests are sent.
10+
They can apply various transforms to the traffic passing through them, such as header manipulation, delay injection, etc.

0 commit comments

Comments
 (0)