Skip to content

Commit

Permalink
ISSUE #27 Updated week 6 README.MD with a warning to pull latest update
Browse files Browse the repository at this point in the history
  • Loading branch information
ErickRamirezDS committed Aug 10, 2020
1 parent f270d07 commit 89631a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions week6-App-in-k8s/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ docker run -e USE_ASTRA='true' -p 9090:9090 astra-backend:my-image
docker run -e USE_ASTRA='true' -e BASE_ADDRESS='http://localhost:9090/api' -p 3000:3000 astra-ui:my-image
```

![WARNING - Update the code in your cluster](https://community.datastax.com/storage/attachments/1292-workshop-week6-pull-code-update.png)

Navigate to [http://localhost:9090](http://localhost:9090) and to [http://localhost:3000](http://localhost:3000), complete the connection dialog with your details, and connect to your Astra database.

⚠️ If you're using a DataStax cloud instance, remember to use the EC2 instance name in place of `localhost`, for example: `http://wksv136191.cws-week6.datastaxtraining.com:9090/`.
Expand Down Expand Up @@ -265,6 +267,8 @@ data:

⚠️ If you're using a DataStax cloud instance, remember to use the EC2 instance name in place of `localhost`, for example: `http://wksv136191.cws-week6.datastaxtraining.com:9090/api`.

![WARNING - Update the code in your cluster](https://community.datastax.com/storage/attachments/1292-workshop-week6-pull-code-update.png)

Feel free to look at the 06-backend.yaml and the 07-ui.yaml to see the specific configuration option used there.

**Step5d:** Last item will be to install our schema in the new cassandra cluster we have setup. To do this we will need to use the password we decoded from the previous section. Replace the CHANGEME in the following commands with the password. Use the following commands to access cqlsh.
Expand Down Expand Up @@ -364,6 +368,8 @@ kubectl -n my-app port-forward --address 0.0.0.0 pod/astra-ui 3000 &

**Step5i:** Navigate to [http://localhost:3000](http://localhost:3000) for the UI and [http://localhost:9090](http://localhost:9090) for the backend.

![WARNING - Update the code in your cluster](https://community.datastax.com/storage/attachments/1292-workshop-week6-pull-code-update.png)

⚠️ You will still need a plugin that unblocks CORS requests for you.

CONGRATULATIONS!!! you now have a full application running in kubernetes.
Expand Down

0 comments on commit 89631a9

Please sign in to comment.