Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
Remove incorrect info from readme (#119)
Browse files Browse the repository at this point in the history
* remove incorrect info from readme

Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>

* more purging

Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>

* whitespace :shakes-fist:

Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
  • Loading branch information
psschwei committed May 24, 2022
1 parent 98f979f commit 89ada44
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ cd container-freezer
ko apply -f config/
```

This will install the daemon for the container-freezer, the required permissions, and a service for the daemon. By default, the service has the endpoint http://freeze-service.knative-serving.svc.cluster.local:9696, which we'll need in the next step.

Note: in the future, it will also be possible to install via `kubectl apply -f container-freezer.yaml`

### Enable concurrency endpoint in Knative Serving

By default, Knative does not enable the freezing capability. We can enable it by providing a value for `concurrency-state-endpoint` in the Knative Serving [deployment configmap](https://github.com/knative/serving/blob/main/config/core/configmaps/deployment.yaml):
Expand All @@ -51,6 +47,12 @@ data:
concurrency-state-endpoint: "http://$HOST_IP:9696"
```

Alternatively, you can also patch the configmap using `kubectl`:

```bash
kubectl patch configmap/config-deployment -n knative-serving --type merge -p '{"data":{"concurrencyStateEndpoint":"http://$HOST_IP:9696"}}'
```

## Sample application

See the [sleeptalker](https://github.com/psschwei/sleeptalker) application.
Expand Down

0 comments on commit 89ada44

Please sign in to comment.