File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
scenarios/DeployTensorflowOnAKS Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -192,12 +192,12 @@ Retrieve the external IP address of the TensorFlow service.
192192
193193``` bash
194194while true ; do
195- EXTERNAL_IP =$( kubectl get service tensorflow-service --namespace $NAMESPACE -o jsonpath=' {.status.loadBalancer.ingress[0 ].ip}' )
196- if [ -n " $EXTERNAL_IP " ]; then
197- echo " External IP : $EXTERNAL_IP "
195+ ENDPOINTS =$( kubectl get endpoints tensorflow-service --namespace $NAMESPACE -o jsonpath=' {.subsets[*].addresses[* ].ip}' )
196+ if [ -n " $ENDPOINTS " ]; then
197+ echo " Service endpoints : $ENDPOINTS "
198198 break
199199 else
200- echo " Waiting for external IP ..."
200+ echo " Waiting for service endpoints ..."
201201 sleep 10
202202 fi
203203done
@@ -208,7 +208,7 @@ Results:
208208<!-- expected_similarity=0.3 -->
209209
210210``` text
211- External IP: xx.xx.xx.xx
211+ Service endpoints: 10.244.1.5 10.244.1.6
212212```
213213
214- Use the ` EXTERNAL-IP ` address to access the TensorFlow service .
214+ This confirms that the service is routing correctly to its backend pods .
You can’t perform that action at this time.
0 commit comments