|
1 | 1 |
|
2 | | -1. Run the following command to get the password for the default `admin` user: |
| 2 | +1. Run the following command to get the password for the default admin user: |
3 | 3 |
|
4 | 4 | kubectl -n devtroncd get secret devtron-secret -o jsonpath='{.data.ACD_PASSWORD}' | base64 -d |
5 | 5 |
|
| 6 | +{{- if $.Values.components }} |
| 7 | +{{- if $.Values.components.devtron }} |
| 8 | +{{- if $.Values.components.devtron.ingress }} |
6 | 9 | {{- if $.Values.components.devtron.ingress.enabled }} |
7 | 10 | 2. The Devtron dashboard URL for |
8 | 11 |
|
9 | 12 | - http is: http://{{ .Values.components.devtron.ingress.host }}/dashboard |
10 | 13 | - https is https://{{ .Values.components.devtron.ingress.host }}/dashboard |
11 | 14 |
|
12 | | -3. Run the following command to get the dashboard URL for the service type: |
| 15 | +{{- end }} |
| 16 | +{{- end }} |
| 17 | +{{- end }} |
13 | 18 |
|
14 | 19 | {{- else if eq $.Values.components.devtron.service.type "LoadBalancer" }} |
15 | | -3.1 LoadBalancer |
| 20 | +2. Run the following command to get the dashboard URL for the service type: |
| 21 | + LoadBalancer |
16 | 22 |
|
17 | 23 | kubectl get svc -n devtroncd devtron-service -o jsonpath='{.status.loadBalancer.ingress}' |
18 | 24 |
|
19 | 25 | {{- else if eq $.Values.components.devtron.service.type "NodePort" }} |
20 | | -3.2 NodePort |
| 26 | +2. Run the following commands to get the dashboard URL for the service type: |
| 27 | + NodePort |
21 | 28 |
|
22 | 29 | a. export nodeport=$(kubectl get svc -n devtroncd devtron-service -o jsonpath="{.spec.ports[0].nodePort}") |
23 | 30 |
|
24 | | - b. Run the following command to get Devtron dashboard URL: `echo http://HOST_IP:$nodeport/dashboard` |
25 | | -{{- else if eq $.Values.components.devtron.service.type "ClusterIP" }} |
26 | | -3.3 ClusterIP |
27 | | - |
28 | | -Make sure that your security settings allow incoming connection to your Host machine on the nodeport mentioned. |
| 31 | + b. Run the following command to get Devtron dashboard URL: echo http://HOST_IP:$nodeport/dashboard |
| 32 | + |
| 33 | + Make sure that your security settings allow incoming connection to your Host machine on the nodeport mentioned. |
29 | 34 |
|
30 | 35 | {{- else if eq $.Values.components.devtron.service.type "ClusterIP" }} |
| 36 | +2. Run the following commands to get the dashboard URL for the service type: |
| 37 | + ClusterIP |
31 | 38 |
|
32 | 39 | kubectl get svc -n devtroncd devtron-service |
33 | 40 |
|
34 | 41 | You can port-forward devtron-service in namespace devtroncd to access devtron dashboard. You can use the following command to port forward. |
35 | 42 |
|
36 | 43 | kubectl -n devtroncd port-forward svc/devtron-service 8000:80 |
37 | 44 |
|
38 | | - The dashboard should be accesible on `http://localhost:8000/` |
| 45 | + The dashboard should be accesible on http://localhost:8000/ |
39 | 46 | {{- end }} |
40 | 47 |
|
41 | 48 | {{- if $.Values.installer.modules }} |
|
0 commit comments