Sidecar 01 works.
Slightliy documented. Proceeding with sidecar egress.
This commit is contained in:
19
Istio/istio-classic/README.md
Normal file → Executable file
19
Istio/istio-classic/README.md
Normal file → Executable 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
0
Istio/istio-classic/ingress.yaml
Normal file → Executable file
0
Istio/istio-classic/monitoring/tmp.yaml
Normal file → Executable file
0
Istio/istio-classic/monitoring/tmp.yaml
Normal file → Executable file
23
Istio/istio-classic/simple/01-hello_world_1_service_1_deployment/README.md
Normal file → Executable file
23
Istio/istio-classic/simple/01-hello_world_1_service_1_deployment/README.md
Normal file → Executable 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
|
||||
|
0
Istio/istio-classic/simple/01-hello_world_1_service_1_deployment/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/01-hello_world_1_service_1_deployment/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/01-hello_world_1_service_1_deployment/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/01-hello_world_1_service_1_deployment/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/02-hello_world_1_service_2_deployments_unmanaged/README.md
Normal file → Executable file
0
Istio/istio-classic/simple/02-hello_world_1_service_2_deployments_unmanaged/README.md
Normal file → Executable file
0
Istio/istio-classic/simple/02-hello_world_1_service_2_deployments_unmanaged/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/02-hello_world_1_service_2_deployments_unmanaged/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/02-hello_world_1_service_2_deployments_unmanaged/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/02-hello_world_1_service_2_deployments_unmanaged/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/03-hello_world_1_service_2_deployments_managed_version/README.md
Normal file → Executable file
0
Istio/istio-classic/simple/03-hello_world_1_service_2_deployments_managed_version/README.md
Normal file → Executable file
0
Istio/istio-classic/simple/03-hello_world_1_service_2_deployments_managed_version/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/03-hello_world_1_service_2_deployments_managed_version/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/03-hello_world_1_service_2_deployments_managed_version/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/03-hello_world_1_service_2_deployments_managed_version/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/01-namespace.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/01-namespace.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/README.md
Normal file → Executable file
0
Istio/istio-classic/simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/README.md
Normal file → Executable file
0
Istio/istio-classic/simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/04-hello_world_1_service_2_deployments_managed_version_defaultnt_namespace/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/05-hello_world_1_Service_Entry/README.md
Normal file → Executable file
0
Istio/istio-classic/simple/05-hello_world_1_Service_Entry/README.md
Normal file → Executable file
0
Istio/istio-classic/simple/05-hello_world_1_Service_Entry/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/05-hello_world_1_Service_Entry/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/05-hello_world_1_Service_Entry/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/simple/05-hello_world_1_Service_Entry/gateway.yaml
Normal file → Executable file
21
Istio/istio-classic/simple/README.md
Normal file → Executable file
21
Istio/istio-classic/simple/README.md
Normal file → Executable 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
|
||||
|
||||
|
0
Istio/istio-classic/traffic_management/01-2_deployments_method/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/01-2_deployments_method/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/01-2_deployments_method/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/01-2_deployments_method/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/01-2_deployments_method/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/01-2_deployments_method/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/02-DirectResponse-HTTP-Body/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/02-DirectResponse-HTTP-Body/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/02-DirectResponse-HTTP-Body/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/02-DirectResponse-HTTP-Body/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/02-DirectResponse-HTTP-Body/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/02-DirectResponse-HTTP-Body/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/03-HTTPRewrite/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/03-HTTPRewrite/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/03-HTTPRewrite/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/03-HTTPRewrite/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/03-HTTPRewrite/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/03-HTTPRewrite/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/04-HTTPRedirect/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/04-HTTPRedirect/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/04-HTTPRedirect/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/04-HTTPRedirect/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/04-HTTPRedirect/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/04-HTTPRedirect/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/05a-FaultInjection-delay/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/05a-FaultInjection-delay/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/05a-FaultInjection-delay/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/05a-FaultInjection-delay/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/05a-FaultInjection-delay/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/05a-FaultInjection-delay/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/05b-FaultInjection-abort/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/05b-FaultInjection-abort/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/05b-FaultInjection-abort/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/05b-FaultInjection-abort/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/05b-FaultInjection-abort/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/05b-FaultInjection-abort/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/06-mTLS/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/06-mTLS/README.md
Normal file → Executable file
0
Istio/istio-classic/traffic_management/06-mTLS/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/06-mTLS/deployment.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/06-mTLS/gateway.yaml
Normal file → Executable file
0
Istio/istio-classic/traffic_management/06-mTLS/gateway.yaml
Normal file → Executable file
5
Istio/istio-classic/traffic_management/README.md
Normal file → Executable file
5
Istio/istio-classic/traffic_management/README.md
Normal file → Executable 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
|
||||
|
Reference in New Issue
Block a user