Difference between revisions of "Install Istio"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 13: Line 13:
 
  [[kubectl exec]] -it $([[kubectl get pod]] -l app=ratings -o jsonpath='{.items[0].metadata.name}') -c ratings -- curl productpage:9080/productpage | grep -o "<title>.*</title>"
 
  [[kubectl exec]] -it $([[kubectl get pod]] -l app=ratings -o jsonpath='{.items[0].metadata.name}') -c ratings -- curl productpage:9080/productpage | grep -o "<title>.*</title>"
 
  <title>Simple Bookstore App</title>
 
  <title>Simple Bookstore App</title>
 +
 +
Associtate to [[gateway]]
 +
[[kubectl apply]] -f samples/bookinfo/networking/bookinfo-gateway.yaml
  
 
== See also ==
 
== See also ==

Revision as of 11:46, 15 May 2020


https://istio.io/docs/setup/getting-started/#download

curl -L https://istio.io/downloadIstio | sh -
cd istio*
istioctl manifest apply --set profile=demo
kubectl label namespace default istio-injection=enabled
kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml

Review status:

kubectl get services
kubectl get pods
kubectl exec -it $(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}') -c ratings -- curl productpage:9080/productpage | grep -o "<title>.*</title>"
<title>Simple Bookstore App</title>

Associtate to gateway

kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml

See also

Advertising: