Skip to content

Commit

Permalink
Adding more comments to Knative commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Dec 27, 2019
1 parent 5fb46fb commit 75bff1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/part-09/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Knative operations

Create service `my-podinfo-2` with image:

```bash
kn service create my-podinfo-2 --port 9898 --image harbor.mylabs.dev/library/my-podinfo:3.1.0
sleep 30
Expand Down Expand Up @@ -54,6 +56,8 @@ Output:
}
```

Set hard limit of concurrent requests to be processed by a single replica:

```bash
kn service update my-podinfo-2 --concurrency-limit=1
```
Expand All @@ -71,6 +75,8 @@ Service 'my-podinfo-2' updated with latest revision 'my-podinfo-2-hfqhc-2' and U
http://my-podinfo-2.default.mylabs.dev
```

Check the pods:

```bash
kubectl get pods
```
Expand Down

0 comments on commit 75bff1b

Please sign in to comment.