summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Busatto <fabio@gitlab.com>2018-02-02 13:31:46 +0000
committerFabio Busatto <fabio@gitlab.com>2018-02-02 13:31:46 +0000
commit098b7eaf35078c30e7b54e7a26878c92c7a04a07 (patch)
tree54c578180166fce092de569ebbb95321193053e4
parent77e77da35a7b47807264de3431a9202302244ad3 (diff)
downloadgitlab-ce-098b7eaf35078c30e7b54e7a26878c92c7a04a07.tar.gz
Make commands Windows compatible
-rw-r--r--doc/user/project/clusters/index.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/user/project/clusters/index.md b/doc/user/project/clusters/index.md
index 6adfedce806..2b3a1db3cfa 100644
--- a/doc/user/project/clusters/index.md
+++ b/doc/user/project/clusters/index.md
@@ -153,13 +153,13 @@ 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}'
```
Otherwise, you can list all the available services and filter for the LoadBalancer:
```bash
-kubectl get svc --all-namespaces -o jsonpath='{range.items[?(@.status.loadBalancer.ingress)]}{.status.loadBalancer.ingress[*].ip}'; echo
+kubectl get svc --all-namespaces -o jsonpath='{range.items[?(@.status.loadBalancer.ingress)]}{.status.loadBalancer.ingress[*].ip}'
```
The output is the external IP address of your cluster.