summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Busatto <fabio@gitlab.com>2018-02-02 09:54:29 +0000
committerFabio Busatto <fabio@gitlab.com>2018-02-02 09:54:29 +0000
commit0f9cf582de4b72cd098e07cd6170595599e738aa (patch)
tree6e456edcd8e760f782473751ac43e70f2ebd569c
parentc1c7b08e43c4504cef0e0e10dcc967c486a0a8c4 (diff)
downloadgitlab-ce-0f9cf582de4b72cd098e07cd6170595599e738aa.tar.gz
Copyedits
-rw-r--r--doc/user/project/clusters/index.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/user/project/clusters/index.md b/doc/user/project/clusters/index.md
index 0af094128b1..6f486c2e972 100644
--- a/doc/user/project/clusters/index.md
+++ b/doc/user/project/clusters/index.md
@@ -151,13 +151,15 @@ If the cluster is not on GKE, follow the specific instructions for your
Kubernetes provider to configure `kubectl` with the right credentials.
If you installed the Ingress using the **Applications** section, run the following command:
+
```bash
-$ kubectl get svc --namespace=gitlab-managed-apps ingress-nginx-ingress-controller -o jsonpath='{.status.loadBalancer.ingress[0].ip}'; echo
+kubectl get svc --namespace=gitlab-managed-apps ingress-nginx-ingress-controller -o jsonpath='{.status.loadBalancer.ingress[0].ip}'; echo
```
Otherwise, you can list all the available services and filter for the LoadBalancer:
+
```bash
-$ kubectl get svc --all-namespaces|grep LoadBalancer|awk '{print $5};'
+kubectl get svc --all-namespaces|grep LoadBalancer|awk '{print $5};'
```
The output is the external IP address of your cluster.