mirror of https://github.com/istio/istio.io.git
40 lines
1.5 KiB
Plaintext
40 lines
1.5 KiB
Plaintext
# Created by TestBookinfo. DO NOT EDIT THIS FILE MANUALLY!
|
|
|
|
$snippet automatic_sidecar_injection.sh syntax="bash"
|
|
$ kubectl label namespace default istio-injection=enabled
|
|
$endsnippet
|
|
|
|
$snippet deploy_bookinfo_application.sh syntax="bash"
|
|
$ kubectl apply -f @samples/bookinfo/platform/kube/bookinfo.yaml@
|
|
$endsnippet
|
|
|
|
$snippet verify_service.sh syntax="bash"
|
|
$ kubectl get services
|
|
$endsnippet
|
|
|
|
$snippet verify_service.sh_output.txt syntax="text"
|
|
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
|
details ClusterIP 10.104.210.169 <none> 9080/TCP 1s
|
|
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 9m27s
|
|
productpage ClusterIP 10.104.178.50 <none> 9080/TCP 0s
|
|
ratings ClusterIP 10.97.49.198 <none> 9080/TCP 0s
|
|
reviews ClusterIP 10.103.202.170 <none> 9080/TCP 0s
|
|
|
|
$endsnippet
|
|
|
|
$snippet verify_pods.sh syntax="bash"
|
|
$ kubectl get pods
|
|
$endsnippet
|
|
|
|
$snippet verify_pods.sh_output.txt syntax="text"
|
|
NAME READY STATUS RESTARTS AGE
|
|
details-v1-74f858558f-fxjvw 2/2 Running 0 41s
|
|
productpage-v1-76589d9fdc-bmbrs 2/2 Running 0 41s
|
|
ratings-v1-7855f5bcb9-tc8d7 2/2 Running 0 40s
|
|
reviews-v1-64bc5454b9-mbrgq 2/2 Running 0 40s
|
|
reviews-v2-76c64d4bdf-5rrkj 2/2 Running 0 41s
|
|
reviews-v3-5545c7c78f-fwjs6 2/2 Running 0 41s
|
|
|
|
$endsnippet
|
|
|