|
1 | 1 | # ArgoCD Lab |
2 | 2 |
|
3 | 3 | === "OpenShift" |
| 4 | + ## OpenShift |
4 | 5 |
|
5 | | - ## Pre-requisites |
| 6 | + ### Pre-requisites |
6 | 7 |
|
7 | 8 | Make sure your environment is setup properly for the lab. |
8 | 9 |
|
9 | 10 | Check the [Environment Setup](../prerequisites/#environment-setup) page for your setup. |
10 | 11 |
|
11 | | - ## ArgoCD Installation |
| 12 | + ### ArgoCD Installation |
12 | 13 |
|
13 | 14 | - Create the namespace `argocd` to install argocd |
14 | 15 | ```bash |
|
50 | 51 | echo ARGOCD_SERVER=$ARGOCD_SERVER |
51 | 52 | ``` |
52 | 53 |
|
53 | | - ## Deploying the app |
| 54 | + ### Deploying the app |
54 | 55 |
|
55 | 56 | - Login into the UI. |
56 | 57 | ```bash |
|
104 | 105 |
|
105 | 106 |  |
106 | 107 |
|
107 | | - ## Verifying the deployment |
| 108 | + ### Verifying the deployment |
108 | 109 |
|
109 | 110 | - Access the app to verify if it is correctly deployed. |
110 | 111 | - List the cloudnativesampleapp-service route |
|
129 | 130 | {"id":2,"content":"Welcome to Cloudnative bootcamp !!! Hello, Carlos :)"} |
130 | 131 | ``` |
131 | 132 |
|
132 | | - ## Using the ArgoCD CLI |
| 133 | + ### Using the ArgoCD CLI |
133 | 134 |
|
134 | 135 | - Login using the cli. |
135 | 136 | - Use `admin` as the username and get the password with the following command |
|
186 | 187 | ID DATE REVISION |
187 | 188 | 0 2020-02-12 21:10:32 -0500 EST HEAD (9684037) |
188 | 189 | ``` |
189 | | - ## References |
| 190 | + ### References |
190 | 191 |
|
191 | 192 | - [ArgoCD](https://argoproj.github.io/argo-cd/) |
192 | 193 |
|
193 | 194 | === "Kubernetes" |
194 | | - |
195 | | - ## Pre-requisites |
| 195 | + |
| 196 | + ## Kubernetes |
| 197 | + |
| 198 | + ### Pre-requisites |
196 | 199 |
|
197 | 200 | Make sure your environment is setup properly for the lab. |
198 | 201 |
|
199 | 202 | Check the [Environment Setup](../prerequisites/#environment-setup) page for your setup. |
200 | 203 |
|
201 | | - ## ArgoCD Installation |
| 204 | + ### ArgoCD Installation |
202 | 205 |
|
203 | 206 | - Create the namespace `argocd` to install argocd |
204 | 207 | ```bash |
|
285 | 288 | ``` |
286 | 289 | Then you can access the argocd server locally on port 8080 [http://localhost:8080](http://localhost:8080) |
287 | 290 |
|
288 | | - ## Deploying the app |
| 291 | + ### Deploying the app |
289 | 292 |
|
290 | 293 | - Login using the Browser into the UI using `$ARGOCD_URL` or `localhost:8080` if using port-forward |
291 | 294 | - Use `admin` as the username and get the password with the following command |
|
336 | 339 |
|
337 | 340 |  |
338 | 341 |
|
339 | | - ## Verifying the deployment |
| 342 | + ### Verifying the deployment |
340 | 343 |
|
341 | 344 | - Access the app to verify if it is correctly deployed. |
342 | 345 | - List the cloudnativesampleapp-service service |
|
362 | 365 | {"id":2,"content":"Welcome to Cloudnative bootcamp !!! Hello, Carlos :)"} |
363 | 366 | ``` |
364 | 367 |
|
365 | | - ## References |
| 368 | + ### References |
366 | 369 |
|
367 | 370 | - [ArgoCD](https://argoproj.github.io/argo-cd/) |
0 commit comments