module
Version:
v0.0.0-...-fe35ec4
Opens a new window with list of versions in this module.
Published: Jul 24, 2023
License: MIT
Opens a new window with license information.
README
¶
gRPC Istio Demo
Based on Istio 1.1.7
How to start
- install minikube
- install pv & pvc (used by envoy.grpc_json_transcoder filter, mounting the proto_descriptor)
- install istio by using the istio's installer in this repo
- kubectl label namespace default istio-injection=enabled
- kubectl apply -f istio/idp.yaml
- kubectl apply -f istio/server.yaml
- kubectl apply -f istio/web-ui.yaml
- kubectl apply -f istio/gateway.yaml
- kubectl apply -f istio/envoyfilter*.yaml
- make create-istio-frontend-ingressgateway (used by the front-end application only which have no envoy.ext_authz applied)
- kubectl apply -f istio/frontend-gateway.yaml
- make run-auth-server
- make run-idp-example-app
- Note: Since I'm using minikube, there is an IP address is hardcode
192.168.39.224
& port 31380
as well
- Note: There is a domain
xianchao.me
point to my local machine with the network-interface IP address
Play & verify
- Set Http header
Authorization Bearer IDToken
before send any request
- Send http POST request to
/demo-server/v1/sayhello
& /demo-server/v1/emoji
via curl
or postman
- Send grpc-web request to
/demo-server/proto.EmojiService/InsertEmojis
via browser
Resources
You can learn more about this project from the following articles.
Directories
¶
Envoy’s External Authorization Service.
|
Envoy’s External Authorization Service. |
istio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
istio-1.2.5/tools/license
Binary get_dep_licenses outputs aggrerate license information for all transitive Istio dependencies.
|
Binary get_dep_licenses outputs aggrerate license information for all transitive Istio dependencies. |
|
|
Click to show internal directories.
Click to hide internal directories.