Skip to content

Commit

Permalink
Update README to retrieve helm package from norbjd.github.io/k8s-pod-…
Browse files Browse the repository at this point in the history
…cpu-booster (#34)
  • Loading branch information
norbjd authored Mar 25, 2024
1 parent ce22b5a commit db00403
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ The CPU boost can be configured with `norbjd.github.io/k8s-pod-cpu-booster-multi
Use `helm`:

```sh
helm install k8s-pod-cpu-booster --namespace pod-cpu-booster --create-namespace ./charts/k8s-pod-cpu-booster
helm repo add k8s-pod-cpu-booster https://norbjd.github.io/k8s-pod-cpu-booster
helm repo update

helm install k8s-pod-cpu-booster k8s-pod-cpu-booster/k8s-pod-cpu-booster --devel \
--namespace pod-cpu-booster --create-namespace
```

## Test/Demo
Expand All @@ -51,7 +55,11 @@ kind load docker-image python:3.11-alpine
Install `k8s-pod-cpu-booster`:

```sh
helm install k8s-pod-cpu-booster --namespace pod-cpu-booster --create-namespace ./charts/k8s-pod-cpu-booster
helm repo add k8s-pod-cpu-booster https://norbjd.github.io/k8s-pod-cpu-booster
helm repo update

helm install k8s-pod-cpu-booster k8s-pod-cpu-booster/k8s-pod-cpu-booster --devel \
--namespace pod-cpu-booster --create-namespace
```

Start two similar pods with low CPU limits and running `python -m http.server`, with a readiness probe configured to check when the http server is started. The only differences are the name (obviously), and the label `norbjd.github.io/k8s-pod-cpu-booster-enabled`:
Expand Down

0 comments on commit db00403

Please sign in to comment.