Skip to content

Commit b39e1d4

Browse files
committed
URL Format + Indentation Fix + Added Table for Placeholders
1 parent 0f078a8 commit b39e1d4

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

docs/user-guide/resource-browser.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -493,22 +493,28 @@ If you are not a super-admin and can't generate a token yourself, you can find t
493493
clusters:
494494
- cluster:
495495
insecure-skip-tls-verify: true
496-
server: https://<devtron proxy url for cluster>
497-
name: default-cluster
496+
server: https://<devtron_host_name>/orchestrator/k8s/proxy/cluster/<cluster_name>
497+
name: devtron-cluster
498498
contexts:
499499
- context:
500-
cluster: default-cluster
500+
cluster: devtron-cluster
501501
user: admin
502-
name: default-cluster
503-
current-context: default-cluster
502+
name: devtron-cluster
503+
current-context: devtron-cluster
504504
users:
505505
- name: admin
506506
user:
507-
token: <devtron token>
507+
token: <devtron_token>
508508
```
509509
{% endcode %}
510510

511-
2. Enter the cluster URL provided by Devtron in the `server` field, and API token (you generated) in the `token` field.
511+
2. Edit the following placeholders in the `server` field and the `token` field:
512+
513+
| Placeholder | Description | Example |
514+
| ------------------- | ----------------------------------- | ----------------------------------------------- |
515+
| <devtron_host_name> | Hostname of the Devtron server | demo.devtron.ai |
516+
| <cluster_name> | Name of the cluster (or cluster ID) | devtron-cluster |
517+
| <devtron_token> | API token or session token | \- |
512518

513519
![Figure 23: Editing Kubeconfig File](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/kubernetes-resource-browser/kubeconfig.gif)
514520

0 commit comments

Comments
 (0)