istio-samples
Istio demos and sample applications for GCP
File Explorer
Download Latest Version (.zip)- snippet-bot.yml
- default.yaml
- install_istio.sh
- install.yaml
- server-ilb.yaml
- architecture.png
- default-svc-graph.png
- ilb-graph.png
- README.md
- destinationrule.yaml
- productcatalog-v2.yaml
- rollback.yaml
- vs-split-traffic.yaml
- activate-shell.png
- kiali.png
- metrics-explorer.png
- stackdriver-sidebar.png
- v2-latency.png
- README.md
- logs-filter.png
- logs-viewer.png
- stackdriver-dashboard.png
- trace-list.png
- trace-overview.png
- trace-selected.png
- trace-summary.png
- trace-timeline.png
- v2-latency.png
- README.md
- kiali.png
- onlineboutique.png
- topology.png
- 1-create-cluster.sh
- 2-create-vm.sh
- 3-install-istio.sh
- 4-deploy-hipstershop.sh
- 5-prep-cluster.sh
- 6-prep-vm.sh
- 7-add-to-mesh.sh
- 8-start-vm-istio.sh
- install.yaml
- vm-install-istio.sh
- vm-run-products.sh
- README.md
- deployments.yaml
- istio-defaults.yaml
- service-entries.yaml
- services-local.yaml
- deployments.yaml
- istio-defaults.yaml
- service-entries.yaml
- services-local.yaml
- frontend.png
- kialicluster2.png
- topology.png
- 1-create-gke-clusters.sh
- 2-install-istio.sh
- 3-configure-dns.sh
- 4-deploy-online-boutique.sh
- cleanup-delete-clusters.sh
- env.sh
- install.yaml
- README.md
- browser-screenshot.png
- topology.png
- 1-cluster-create.sh
- 2-get-credentials.sh
- 3-firewall.sh
- 4-cluster1-install.sh
- 5-cluster2-install.sh
- 6-connect-clusters.sh
- 7-deploy-hipstershop.sh
- cleanup-delete-clusters.sh
- cluster1.yaml
- cluster2.yaml
- env.sh
- README.md
- deployments.yaml
- istio-defaults.yaml
- service-entries.yaml
- services-local.yaml
- deployments.yaml
- istio-defaults.yaml
- service-entries.yaml
- services-local.yaml
- deployment.yaml
- service-cluster2.yaml
- serviceentry-cluster1.yaml
- vs-0-cluster1.yaml
- vs-0-cluster2.yaml
- vs-100-cluster1.yaml
- vs-100-cluster2.yaml
- vs-20-cluster1.yaml
- vs-20-cluster2.yaml
- cluster1-kiali-vm.png
- cluster2-kiali-vm.png
- migrate-before-config.png
- migrate-before-traffic.png
- migrate-complete-config.png
- migrate-complete-kiali.png
- migrate-complete-traffic.png
- migrate-progress-config.png
- migrate-progress-traffic.png
- traffic-split-cluster1.png
- traffic-split-cluster2.png
- 1-create-infra.sh
- 10-split-traffic.sh
- 11-complete-migration.sh
- 12-cleanup.sh
- 2-firewall.sh
- 3-install-istio-gke.sh
- 4-deploy-onlineboutique-gke.sh
- 5-prep-cluster1.sh
- 6-prep-vm.sh
- 7-add-vm-to-mesh.sh
- 8-verify-deploy.sh
- 9-deploy-productcatalog-gke.sh
- env.sh
- install.yaml
- vm-install-istio.sh
- vm-run-products.sh
- README.md
- architecture.png
- console-screenshot.png
- healthcheck.yaml
- ingress.yaml
- istio-ingressgateway-patch.json
- nodeport.png
- deployment.yaml
- gateway.yaml
- service.yaml
- virtualservice.yaml
- 1-create-clusters.sh
- 2-install-istio.sh
- 3-deploy-app.sh
- 4-verify-app.sh
- 5-prep-mci.sh
- 6-mci.sh
- 7-cleanup.sh
- common.sh
- README.md
- .dockerignore
- .gcloudignore
- client.go
- Dockerfile
- go.mod
- go.sum
- greeter-istio-destinationrule.yaml
- greeter-istio-gateway.yaml
- greeter-istio-virtualservice.yaml
- greeter-k8s.template.yaml
- istio-operator.yaml
- .dockerignore
- .gcloudignore
- Dockerfile
- go.mod
- go.sum
- server.go
- README.md
- Dockerfile
- Dockerfile-base
- loadgen.py
- loadgen.yaml
- requirements.txt
- Dockerfile
- server.py
- server.yaml
- README.md
- authz-frontend.yaml
- jwt-frontend-authz.yaml
- jwt-frontend-request.yaml
- mtls-default-ns.yaml
- mtls-frontend.yaml
- kiali-auto.png
- README.md
- istio-stackdriver-metrics.yaml
- README.md
- .gitignore
- CONTRIBUTING.md
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/GoogleCloudPlatform/istio-samples
Downloads the entire project code from GitHub to your computer.
cd istio-samples
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
docker build -f sample-apps/grpc-greeter-go/client/Dockerfile -t istio-samples .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 istio-samples
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Python
EasyPrerequisites
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
pip install -r sample-apps/helloserver/loadgen/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
4. Go
MediumPrerequisites
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd sample-apps/grpc-greeter-go/client
This project's files live in a subfolder, so move into it first.
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation
Was this content helpful?
(0 ratings)
