Skip to content

Commit

Permalink
Move chart to own directory and add fetch-depth (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
norbjd authored Mar 25, 2024
1 parent 46dfacd commit ce22b5a
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/kind-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
INFORMER_IMAGE=$(ko build ./cmd/informer)
WEBHOOK_IMAGE=$(ko build ./cmd/webhook)
helm install k8s-pod-cpu-booster --namespace pod-cpu-booster --create-namespace ./charts \
helm install k8s-pod-cpu-booster --namespace pod-cpu-booster --create-namespace ./charts/k8s-pod-cpu-booster \
--set informer.image=$INFORMER_IMAGE \
--set informer.imagePullPolicy=Never \
--set webhook.image=$WEBHOOK_IMAGE \
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Configure Git
run: |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ 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
helm install k8s-pod-cpu-booster --namespace pod-cpu-booster --create-namespace ./charts/k8s-pod-cpu-booster
```

## Test/Demo
Expand All @@ -51,7 +51,7 @@ 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
helm install k8s-pod-cpu-booster --namespace pod-cpu-booster --create-namespace ./charts/k8s-pod-cpu-booster
```

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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ce22b5a

Please sign in to comment.