You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Getting started with deploying application through Devtron
24
29
25
-
Lets see how to deploy a custom nodejs app through Devtron.
26
-
Make sure Global Configurations are successfully saved and validated before deploying your application.
30
+
Lets see how to deploy a custom nodejs app through Devtron.
31
+
Make sure Global Configurations are successfully saved and validated before deploying your application.
27
32
28
-
**STEP 1**
33
+
**STEP 1**
29
34
Login into your Devtron Dashboard, Go to >> Applications >> Create new App. Give an appropriate name to this App, choose the project in which you want to keep the app, and create it.
30
35
31
-
**STEP 2**
36
+
**STEP 2**
32
37
After creating the app, setup the configurations. Copy the repo URL https://github.com/devtron-labs/getting-started-nodejs and paste it the Git repo section of your App. Click save and move to next config.
33
38
34
-
**STEP 3**
35
-
Now choose your Docker build config, the repository where you want to keep your CI build image. Select the container registry from the drop-down.
39
+
**STEP 3**
40
+
Now choose your Docker build config, the repository where you want to keep your CI build image. Select the container registry from the drop-down.
36
41
37
-
**STEP 4**
42
+
**STEP 4**
38
43
Coming up next is configuring the deployment template. As this is a very simple nodejs application we will be only covering the required the configs.
44
+
39
45
```
40
46
ContainerPort :
41
47
port : 8080
42
48
servicePort : 80
43
49
```
44
-
`8080` is the port number on which my nodejs application is running.
50
+
51
+
`8080` is the port number on which my nodejs application is running.
45
52
46
53
Set the resource limits & requests as given below -
47
54
@@ -55,7 +62,7 @@ resources:
55
62
memory: 10Mi
56
63
```
57
64
58
-
Now, select the serviceType, keep it as `LoadBalancer`.
65
+
Now, select the serviceType, keep it as `LoadBalancer`.
59
66
60
67
```
61
68
service:
@@ -72,11 +79,11 @@ You can add or create secrets or configmaps as per your requirement. These value
72
79
That’s it, now trigger your CI pipeline by selecting the latest image and deploy it on your chosen project.
73
80
74
81
**STEP 8**
75
-
After the successful deployment, check out your service manifest for fetching the LoadBalancer URL from the dashboard present in the App Details section.
82
+
After the successful deployment, check out your service manifest for fetching the LoadBalancer URL from the dashboard present in the App Details section.
76
83
77
84

78
85
79
-
**STEP 9**
86
+
**STEP 9**
80
87
Use this URL on your browser and you can get the output as.
81
88
82
89
```
@@ -86,4 +93,3 @@ Use this URL on your browser and you can get the output as.
86
93
Find out a detailed documentation about the configurations from here - https://docs.devtron.ai/devtron/user-guide/creating-application
0 commit comments