Skip to content

Commit f0e9001

Browse files
author
Martin Taillefer
committed
Some structural cleanup.
1 parent 04600d6 commit f0e9001

File tree

16 files changed

+14
-118
lines changed

16 files changed

+14
-118
lines changed

_includes/templates/concept-overview.md

Lines changed: 0 additions & 88 deletions
This file was deleted.

docs/concepts/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This page presents an architectural overview for the Istio service mesh.
1515

1616
## High-level architecture
1717

18-
<img src="./arch.svg" alt="The overall architecture of an Istio-based application." />
18+
<img src="./img/architecture/arch.svg" alt="The overall architecture of an Istio-based application." />
1919

2020
### The sidecar model
2121

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/concepts/mixer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ management. Services that leverage Mixer in this way are abstracted from environ
2424
easing the process of hosting the code in different environments (different clouds and on-prem). (Please note that
2525
as of the Alpha release of Istio, only Envoy can calls Mixer directly.)
2626

27-
<img style="display:block;width:60%;margin:auto;" src="./mixer/traffic.svg" alt="Flow of traffic." />
27+
<img style="display:block;width:60%;margin:auto;" src="./img/mixer/traffic.svg" alt="Flow of traffic." />
2828
<p style="text-align:center;">Mixer Traffic Flow</p>
2929

3030
Mixer provides three core features:
@@ -56,7 +56,7 @@ checking, and more. Adapters enable Mixer to expose a single consistent API, ind
5656
The exact set of adapters used at runtime is determined through configuration and can easily be extended
5757
to target new or custom backend systems.
5858

59-
<img style="width:65%;display:block;margin:auto;" src="./mixer/adapters.svg" alt="Mixer and its adapters." />
59+
<img style="width:65%;display:block;margin:auto;" src="./img/mixer/adapters.svg" alt="Mixer and its adapters." />
6060

6161
## Configuration state
6262

@@ -100,7 +100,7 @@ configured through a simple declarative form as described [here]({{site.baseurl}
100100
Processing phase creates a set of adapter parameters. The Adapter Dispatching phase invokes the adapters
101101
associated with each aspect and passes them those parameters.
102102

103-
<img style="display:block;width:50%;margin:auto;" src="./mixer/phases.svg" alt="Phases of mixer request processing" />
103+
<img style="display:block;width:50%;margin:auto;" src="./img/mixer/phases.svg" alt="Phases of mixer request processing" />
104104
<p style="text-align:center;">Request Phases</p>
105105

106106
## Scripting

docs/samples/bookinfo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ There are 3 versions of the reviews microservice:
2828

2929
The end-to-end architecture of the application is shown below.
3030

31-
![Bookinfo app_noistio](../../img/example-app-bookinfo-noistio.svg)
31+
![Bookinfo app_noistio](./img/bookinfo/noistio.svg)
3232

3333
This application is polyglot, i.e., the microservices are written in different languages.
3434

@@ -116,7 +116,7 @@ _Note: The following instructions assume that you have access to a kubernetes cl
116116
that manages incoming and outgoing calls for the service. The updated diagram looks
117117
like this:
118118

119-
![Bookinfo app](../../img/example-app-bookinfo.svg)
119+
![Bookinfo app](./img/bookinfo/withistio.svg)
120120

121121

122122
1. Confirm that all services and pods are correctly defined and running:

docs/tasks/timeout-injection.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Timeout Injection
3-
headline: 'Timeout Injection walkthrough'
3+
headline: 'Timeout Injection'
44
sidenav: doc-side-tasks-nav.html
55
bodyclass: docs
66
layout: docs
@@ -29,7 +29,7 @@ implement the timeout.
2929
This task assumes you have deployed Istio on Kubernetes. If you have not done so, please first
3030
clone the istio GitHub repository and start the core Istio services (the istio-manager, the istio-mixer, and the istio ingress controller).
3131

32-
```shell
32+
```bash
3333
git clone https://github.com/istio/istio
3434
cd istio
3535
kubectl apply -f ./kubernetes/istio-install
@@ -50,7 +50,7 @@ In this example we use *[httpbin](https://httpbin.org)* and *NGINX* and demonstr
5050

5151
First, let's start httpbin and have it join the Istio service mesh
5252

53-
```shell
53+
```bash
5454
# Start the citizenstig/httpbin image in a Kubernetes Pod. 8000 is the httpbin port.
5555
source ../istio.VERSION
5656
kubectl create -f <(istioctl kube-inject -f {{site.baseurl}}/docs/tasks/httpbin.yaml)
@@ -65,22 +65,22 @@ we cannot test it from outside the cluster. To verify that it is working correc
6565
a _curl_ command against httpbin:8000 *from inside the cluster* using the public _dockerqa/curl_
6666
image from the Docker hub:
6767

68-
```shell
68+
```bash
6969
kubectl run -i --rm --restart=Never dummy --image=dockerqa/curl:ubuntu-trusty --command -- curl --silent httpbin:8000/html
7070
kubectl run -i --rm --restart=Never dummy --image=dockerqa/curl:ubuntu-trusty --command -- curl --silent httpbin:8000/status/500
7171
time kubectl run -i --rm --restart=Never dummy --image=dockerqa/curl:ubuntu-trusty --command -- curl --silent httpbin:8000/delay/5
7272
```
7373

7474
Next we will start NGINX and configure it to proxy for the httpbin service started in the previous step
7575

76-
```shell
76+
```bash
7777
kubectl create -f <(istioctl kube-inject -f {{site.baseurl}}/docs/tasks/nginx-httpbin.yaml)
7878
```
7979

8080
To test from outside the cluster we will need the IP address of a Kubernetes node, as well
8181
as the exposed NodePort port on that node.
8282

83-
```shell
83+
```bash
8484
# Get the IP address of the Kubernetes node
8585
IP=$(kubectl get po -l infra=istio-ingress-controller -o jsonpath={.items[0].status.hostIP})
8686
NGINX_NODEPORT=$(kubectl get service nginx --output jsonpath='{.spec.ports[0].nodePort}')
@@ -96,7 +96,7 @@ At this point we have two services. Both are wired through the Istio service me
9696
Istio has many advanced capabilities to control how network traffic flows between microservices. One of the
9797
simplest capabilities is to add a timeout.
9898

99-
```shell
99+
```bash
100100
# First, create a rule file
101101
cat <<EOF > /tmp/httpbin-3s-rule.yaml
102102
type: route-rule
@@ -119,7 +119,7 @@ three seconds. Although _httpbin_ was waiting 5 seconds, Istio cut off the requ
119119

120120
To remove the rules, deployments and services used in this task:
121121

122-
```shell
122+
```bash
123123
istioctl delete route-rule httpbin-3s-rule
124124
kubectl delete -f {{site.baseurl}}/docs/tasks/httpbin.yaml
125125
kubectl delete -f {{site.baseurl}}/docs/tasks/nginx-httpbin.yaml

img/docker-icon.png

-11.2 KB
Binary file not shown.

true-index.html

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,6 @@
33
title: istio.io
44
---
55
<div id="landing-content" class="container landing-content-container">
6-
<div class="row" style="width:50%;text-align:center;margin:auto">
7-
<br/>
8-
<p style="font-size:large">Welcome,</p>
9-
<br/>
10-
<p style="font-size:large">
11-
We're happy you're here, but we want to point out that
12-
we're not quite ready for you just yet. We're still
13-
getting this site ready for public consumption. You can
14-
look around, but please forgive the mess and missing
15-
bits.
16-
</p>
17-
<br/>
18-
<p style="font-size:large">- The Istio Team</p>
19-
<br/>
20-
</div>
21-
226
<div class="row" >
237
<div class="col-md-11 nofloat center-block landing-row">
248
<h3 class="col-sm-7 landing-row-title">Rich Layer-7 Routing & Traffic Management</h3>

0 commit comments

Comments
 (0)