From 2029a56af7668431683f60f7e0e5bd7611c958fb Mon Sep 17 00:00:00 2001 From: AnchorArray Date: Thu, 11 Apr 2024 08:59:39 -0700 Subject: [PATCH] notes on retrieving langkit hostname --- charts/langkit/docs/quickstart/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/charts/langkit/docs/quickstart/README.md b/charts/langkit/docs/quickstart/README.md index e67f2b8..ce88859 100644 --- a/charts/langkit/docs/quickstart/README.md +++ b/charts/langkit/docs/quickstart/README.md @@ -118,3 +118,19 @@ registry_token="" --registry-username "${registry_username}" \ --registry-token "${registry_token}" ``` + +1. Retrieve Langkit URL + + > :warning: A Network Load Balancer is created by the Langkit service. You + > can reach the service at the DNS address of the load balancer. It may take + > a few moments for the load balancer to be provisioned. The following + > command will return the hostname once it's available. + + ```shell + hostname=$(kubectl get service langkit \ + --namespace "${namespace}" \ + -o json | \ + jq -r '.status.loadBalancer.ingress[0].hostname') + + printf "\nLangkit Hostname: http://${hostname}\n\n" + ```