Sidecar 01 works.

Slightliy documented.

Proceeding with sidecar egress.
This commit is contained in:
savagebidoof
2023-04-19 18:10:02 +02:00
parent e28c54c89a
commit c850b09d0a
102 changed files with 282 additions and 110 deletions

19
Istio/istio-classic/README.md Normal file → Executable file
View File

@ -1,4 +1,23 @@
# Examples
ALL NEEDS DOCUMENTATION
- 01-2_deployments_method
- 02-DirectResponse-HTTP-Body
- 03-HTTPRewrite
- 04-HTTPRedirect
- 05a-FaultInjection-delay
- 05b-FaultInjection-abort
# TODO
06-mTLS (pending)
Multiple Ingress
https://youtu.be/QIkryA8HnQ0

0
Istio/istio-classic/ingress.yaml Normal file → Executable file
View File

0
Istio/istio-classic/monitoring/tmp.yaml Normal file → Executable file
View File

View File

@ -58,17 +58,30 @@ hosts: "*"
```yaml
hosts: "*"
uri: "/helloworld"
rewrite:
uri: "/"
hosts:
- "*"
gateways:
- helloworld-gateway
http:
- match:
- uri:
exact: /helloworld
route:
- destination:
host: helloworld
port:
number: 80
rewrite:
uri: "/"
```
- Allows the traffic from that have any domain.
- Allows the traffic that have as a destination any domain.
- Only allows traffic that has as a destination the directory/path `/helloworld`.
- `rewrite.uri` allows to redirect the traffic towards the root directory of the service, as the service(s) used don't have any directory named `helloworld` but are configured to work at the root base level.
- Traffic request is sent to the service named `helloworld`, to the service port 80.
# Run example
## Deploy resources

View File

View File

21
Istio/istio-classic/simple/README.md Normal file → Executable file
View File

@ -8,17 +8,20 @@
# Examples
ALL NEEDS DOCUMENTATION
- 01-hello_world_1_service_1_deployment
- 02-hello_world_1_service_2_deployments_unmanaged
- 03-hello_world_1_service_2_deployments_managed_version
- 04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace
- 05-hello_world_1_Service_Entry
## 01-hello_world_1_service_1_deployment
## 02-hello_world_1_service_2_deployments_unmanaged
## 03-hello_world_1_service_2_deployments_managed_version
## 04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace
## 05-hello_world_1_Service_Entry
# TODO
do HTTPS ingress

View File

View File

View File

View File

View File

View File

View File

View File

View File

5
Istio/istio-classic/traffic_management/README.md Normal file → Executable file
View File

@ -1,3 +1,8 @@
Should try to do a double Virtual Service chain
https://academy.tetrate.io/courses/take/istio-fundamentals/lessons/19068816-lab-2-observing-failure-injection