Commit 7c63e238 authored by Dmitriy Stoyanov's avatar Dmitriy Stoyanov

Fix grep command to find kubernetes api URL in documentation

parent f006fea3
...@@ -189,7 +189,7 @@ To add a Kubernetes cluster to your project, group, or instance: ...@@ -189,7 +189,7 @@ To add a Kubernetes cluster to your project, group, or instance:
Get the API URL by running this command: Get the API URL by running this command:
```shell ```shell
kubectl cluster-info | grep 'Kubernetes master' | awk '/http/ {print $NF}' kubectl cluster-info | grep -E 'Kubernetes master|Kubernetes control plane' | awk '/http/ {print $NF}'
``` ```
1. **CA certificate** (required) - A valid Kubernetes certificate is needed to authenticate to the cluster. We use the certificate created by default. 1. **CA certificate** (required) - A valid Kubernetes certificate is needed to authenticate to the cluster. We use the certificate created by default.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment