Skip to content

Commit

Permalink
Fix bug to have the serviceIP point resolve to the loadbalancer's IP
Browse files Browse the repository at this point in the history
address rather than clusterIP.
  • Loading branch information
daveremy committed Sep 27, 2018
1 parent 1df427c commit c32dee7
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 18 deletions.
3 changes: 2 additions & 1 deletion azure-ts-aks-helm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ export let cluster = k8sCluster.name;
export let kubeConfig = k8sCluster.kubeConfigRaw;
export let serviceIP = apache
.getResource("v1/Service", "apache-apache")
.spec.apply(s => s.clusterIP);
.status.apply(status => status.loadBalancer.ingress[0].ip);

Loading

0 comments on commit c32dee7

Please sign in to comment.