|
1 | 1 |
|
2 | | -1. Run the following command to get the default admin password. Default username is admin |
| 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 | | -{{- if $.Values.components.devtron.ingress.enabled }} |
6 | 5 |
|
7 | | -2. Your devtron dashboard will be available for http on http://{{ .Values.components.devtron.ingress.host }}/dashboard or for https on https://{{ .Values.components.devtron.ingress.host }}/dashboard |
| 6 | +{{- if $.Values.components }} |
| 7 | +{{- if $.Values.components.devtron }} |
| 8 | +{{- if $.Values.components.devtron.ingress }} |
| 9 | +{{- if $.Values.components.devtron.ingress.enabled }} |
| 10 | +2. The Devtron dashboard URL for |
8 | 11 |
|
9 | | -{{- else if eq $.Values.components.devtron.service.type "LoadBalancer" }} |
| 12 | +- http is: http://{{ .Values.components.devtron.ingress.host }}/dashboard |
| 13 | +- https is https://{{ .Values.components.devtron.ingress.host }}/dashboard |
10 | 14 |
|
11 | | -2. You can get url of devtron dashboard by the following command |
| 15 | +{{- end }} |
| 16 | +{{- end }} |
| 17 | +{{- end }} |
12 | 18 |
|
13 | | - kubectl get svc -n devtroncd devtron-service -o jsonpath='{.status.loadBalancer.ingress}' |
| 19 | +{{- else if eq $.Values.components.devtron.service.type "LoadBalancer" }} |
| 20 | +2. Run the following command to get the dashboard URL for the service type: |
| 21 | + LoadBalancer |
| 22 | + |
| 23 | + kubectl get svc -n devtroncd devtron-service -o jsonpath='{.status.loadBalancer.ingress}' |
| 24 | + |
14 | 25 | {{- else if eq $.Values.components.devtron.service.type "NodePort" }} |
15 | | - |
16 | | -2. You can get the devtron dashboard by following the steps mentioned below |
| 26 | +2. Run the following commands to get the dashboard URL for the service type: |
| 27 | + NodePort |
17 | 28 |
|
18 | 29 | a. export nodeport=$(kubectl get svc -n devtroncd devtron-service -o jsonpath="{.spec.ports[0].nodePort}") |
19 | 30 |
|
20 | | - b. Run the following command to get Devtron dashboard URL |
21 | | - |
22 | | - echo http://HOST_IP:$nodeport/dashboard |
23 | | - |
24 | | -Make sure that your security settings allow incoming connection to your Host machine on the nodeport mentioned. |
25 | | - |
| 31 | + b. Run the following command to get Devtron dashboard URL: echo http://HOST_IP:$nodeport/dashboard |
26 | 32 |
|
27 | | -{{- else if eq $.Values.components.devtron.service.type "ClusterIP" }} |
| 33 | + Make sure that your security settings allow incoming connection to your Host machine on the nodeport mentioned. |
28 | 34 |
|
29 | | -2. You can get the devtron dashboard by the following command |
| 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 |
30 | 38 |
|
31 | | - kubectl get svc -n devtroncd devtron-service |
| 39 | + kubectl get svc -n devtroncd devtron-service |
32 | 40 |
|
33 | 41 | You can port-forward devtron-service in namespace devtroncd to access devtron dashboard. You can use the following command to port forward. |
34 | | - |
| 42 | + |
35 | 43 | kubectl -n devtroncd port-forward svc/devtron-service 8000:80 |
| 44 | + |
36 | 45 | The dashboard should be accesible on http://localhost:8000/ |
37 | 46 | {{- end }} |
38 | 47 |
|
39 | 48 | {{- if $.Values.installer.modules }} |
40 | | - |
41 | | -3. You can watch the progress of Devtron microservices installation by the following command |
| 49 | +3. To track the progress of Devtron microservices installation, run the following command: |
42 | 50 |
|
43 | 51 | kubectl -n devtroncd get installers installer-devtron -o jsonpath='{.status.sync.status}' |
| 52 | + |
44 | 53 | {{- end }} |
45 | 54 |
|
0 commit comments