# 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.96.60.64      <none>        9080/TCP   0s
kubernetes    ClusterIP   10.96.0.1        <none>        443/TCP    7m50s
productpage   ClusterIP   10.111.146.105   <none>        9080/TCP   0s
ratings       ClusterIP   10.104.124.247   <none>        9080/TCP   0s
reviews       ClusterIP   10.105.106.39    <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-2ttbx       2/2     Running   0          39s
productpage-v1-76589d9fdc-gvvmf   2/2     Running   0          38s
ratings-v1-7855f5bcb9-lss29       2/2     Running   0          39s
reviews-v1-64bc5454b9-6rzvb       2/2     Running   0          39s
reviews-v2-76c64d4bdf-kbgqd       2/2     Running   0          39s
reviews-v3-5545c7c78f-q8zf9       2/2     Running   0          39s

$endsnippet

