Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Markdown formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Jun 24, 2020
1 parent 616a7bf commit 66d19f0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ Waypoint is a deployment tool, there are many like it, but it is ours.

1. Enable Kubernetes in the Docker for Mac configuration
1. Configured kubernetes to access the github docker registry
1. https://help.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages#authenticating-to-github-packages
1. `kubectl create secret docker-registry github --docker-server=docker.pkg.github.com --docker-username=$GITHUB_USER --docker-password=$GITHUB_PASSWORD --docker-email=$GITHUB_EMAIL`
1. https://help.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages#authenticating-to-github-packages
1. `kubectl create secret docker-registry github --docker-server=docker.pkg.github.com --docker-username=$GITHUB_USER --docker-password=$GITHUB_PASSWORD --docker-email=$GITHUB_EMAIL`
1. Download or build waypoint
1. Run `waypoint install` to install the server into your cluster
1. Check that the server is running: `kubectl get pod -l app=waypoint-server`
1. It should transition to Running after downloading the image. If the status is `ImagePullBackOff`, then there is something incorrect with your docker registry secret. Check it is configured correctly.
1. Check that the server is running: `kubectl get pod -l app=waypoint-server`
1. It should transition to Running after downloading the image. If the status is `ImagePullBackOff`, then there is something incorrect with your docker registry secret. Check it is configured correctly.
1. Add a simple docker registry to your install:
1. `docker run -d -p 5000:5000 --restart=always --name registry registry:2`
1. `docker run -d -p 5000:5000 --restart=always --name registry registry:2`
1. Go to test-apps/wpmini
1. Perform the build: `waypoint build`
1. Perform the deploy: `waypoint deploy`
1. TODO: Make Ctrl-C cancel the deploy properly if waiting on the pods to start
1. TODO: Make Ctrl-C cancel the deploy properly if waiting on the pods to start
1. Perform the release: `waypoint release`
1. See the app running: `curl localhost:8080`
1. View the logs of the app: `waypoint logs`
1. Show how config is plumbed:
1. Run `waypoint config set NAME=ptr`. You can substitue `ptr` for your name or any name.
1. Run `waypoint deploy`
1. Run `waypoint release`
1. See the response change: `curl localhost:8080`
1. Run `waypoint config set NAME=ptr`. You can substitue `ptr` for your name or any name.
1. Run `waypoint deploy`
1. Run `waypoint release`
1. See the response change: `curl localhost:8080`

0 comments on commit 66d19f0

Please sign in to comment.