acs-demos icon indicating copy to clipboard operation
acs-demos copied to clipboard

Building reliability into the K8s ACI Connector demo

Open rbitia opened this issue 8 years ago • 1 comments

Added fixes for ACI connector which includes a canary build of the connector. Also scoped the service principle differently. @rgardler I took out some of your nginx stuff because it wasn't giving me an ip even though it was running - we don't support kubectl get logs and some other ip getting things but I was able to get it in a json format output but I need some help with the correct json string because it's slightly different from what you have.

This is what I deleted : Since we need to ensure our Public IPs have been assigned before proceeding, and because we need the IP number later we'll run a loop to grab the IP once assinged. This is a little cumbersome but great if you want to script things. If you are doing this manually you can use kubectl get service --wait to display changes as they happen.

NGINX_IP="" while [ -z $NGINX_IP ]; do sleep 10; NGINX_IP=$(kubectl get service vamp -o jsonpath="{.status.loadBalancer.ingress[*].ip}"); done

kubectl get pods -o wide

Now we have our IP:

echo $NGINX_IP

Take a look...

xdg-open $NGINX

rbitia avatar Aug 31 '17 02:08 rbitia

If you want this merged you'll have to fix the conflicts above.

SorraTheOrc avatar Sep 18 '17 21:09 SorraTheOrc