updates to getting started tutorial (#2801)

This commit is contained in:
Daniel Helfand
2019-12-03 20:33:11 -05:00
committed by Alex Collins
parent 148b90b5b5
commit 9fa1886c02
11 changed files with 22 additions and 10 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

BIN
docs/assets/create-app.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

BIN
docs/assets/destination.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 102 KiB

BIN
docs/assets/new-app.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

View File

@@ -1,7 +1,7 @@
# Getting Started
!!! tip
This guide assumes you have a grounding in the tools that Argo CD is based on. Please read the [understanding the basics](understand_the_basics.md).
This guide assumes you have a grounding in the tools that Argo CD is based on. Please read [understanding the basics](understand_the_basics.md) to learn about these tools.
## Requirements
@@ -62,14 +62,14 @@ The API server can then be accessed using the localhost:8080
## 4. Login Using The CLI
Login as the `admin` user. The initial password is autogenerated to be the pod name of the
The initial password is autogenerated to be the pod name of the
Argo CD API server. This can be retrieved with the command:
```bash
kubectl get pods -n argocd -l app.kubernetes.io/name=argocd-server -o name | cut -d'/' -f 2
```
Using the above password, login to Argo CD's IP or hostname:
Using the username `admin` and the password from above, login to Argo CD's IP or hostname:
```bash
argocd login <ARGOCD_SERVER>
@@ -124,15 +124,27 @@ argocd app create guestbook \
### Creating Apps Via UI
Open a browser to the Argo CD external UI, and login using the credentials, IP/hostname set in step 4.
Connect the [https://github.com/argoproj/argocd-example-apps.git](https://github.com/argoproj/argocd-example-apps.git) repo to Argo CD:
Open a browser to the Argo CD external UI, and login by visiting the IP/hostname in a browser and use the credentials set in step 4.
![connect repo](assets/connect_repo.png)
After logging in, click the **+ New App** button as shown below:
After connecting a repository, select the guestbook application for creation:
![+ new app button](assets/new-app.png)
![select app](assets/select_app.png)
![create app](assets/create_app.png)
Give your app the name `guestbook`, use the project `default`, and leave the sync policy as `Manual`:
![app information](assets/app-ui-information.png)
Connect the [https://github.com/argoproj/argocd-example-apps.git](https://github.com/argoproj/argocd-example-apps.git) repo to Argo CD by setting repository url to the github repo url, leave revision as `HEAD`, and set the path to `guestbook`:
![connect repo](assets/connect-repo.png)
For **Destination**, set cluster to `in-cluster` and namespace to `default`:
![destination](assets/destination.png)
After filling out the information above, click **Create** at the top of the UI to create the `guestbook` application:
![destination](assets/create-app.png)
## 7. Sync (Deploy) The Application
@@ -157,7 +169,7 @@ apps Deployment default guestbook-ui OutOfSync Missing
Service default guestbook-ui OutOfSync Missing
```
The application status is initially `OutOfSync` state, since the application has yet to be
The application status is initially in `OutOfSync` state since the application has yet to be
deployed, and no Kubernetes resources have been created. To sync (deploy) the application, run:
```bash