Skip to content

Commit

Permalink
Add cleanup to k8s example READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
highb committed Apr 26, 2022
1 parent 6485f24 commit b41d40a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions examples/hotrod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ kustomize build ./kubernetes | kubectl apply -f -
kubectl port-forward -n example-hotrod service/example-hotrod 8080:frontend
# In another terminal
kubectl port-forward -n example-hotrod service/jaeger 16686:frontend

# To cleanup
kustomize build ./kubernetes | kubectl delete -f -
```

Access Jaeger UI at http://localhost:16686 and HotROD app at http://localhost:8080
Expand Down
12 changes: 10 additions & 2 deletions examples/hotrod/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@

Example k8s manifests for deploying the [hotrod app](..) to your k8s environment of choice. e.g. minikube, k3s, EKS, GKE

## Deploy with Kustomize
## Usage

```
```bash
kustomize build . | kubectl apply -f -
kubectl port-forward -n example-hotrod service/example-hotrod 8080:frontend
# In another terminal
kubectl port-forward -n example-hotrod service/jaeger 16686:frontend

# To cleanup
kustomize build . | kubectl delete -f -
```

Access Jaeger UI at <http://localhost:16686> and HotROD app at <http://localhost:8080>

0 comments on commit b41d40a

Please sign in to comment.