Skip to content

Commit 35808f1

Browse files
authored
update helm version in repo (llm-d#841)
Signed-off-by: Mohammed Abdi <mohammed.munir.abdi@ibm.com>
1 parent 4d93581 commit 35808f1

7 files changed

Lines changed: 25 additions & 19 deletions

File tree

.github/workflows/helm-release.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -167,34 +167,34 @@ jobs:
167167
-f visibility='public' || echo "::warning::Could not set chart package to public — may need manual update"
168168
169169
# -----------------------------------------
170-
# 11. Commit updated chart files
170+
# 11. Commit updated chart files back to default branch
171171
# -----------------------------------------
172172
- name: Commit updated Helm chart files
173173
env:
174174
GITHUB_TOKEN: ${{ github.token }}
175175
run: |
176+
CHART_DIR="charts/workload-variant-autoscaler"
177+
# Save release-patched chart files (they are lost when we checkout default branch)
178+
cp "$CHART_DIR/Chart.yaml" Chart.yaml.release
179+
cp "$CHART_DIR/values.yaml" values.yaml.release
180+
176181
# Configure Git user to match the person who triggered the release
177-
# This ensures each person is responsible for their own release commits
178182
git config user.name "${{ github.actor }}"
179183
git config user.email "${{ github.actor }}@users.noreply.github.com"
180-
181-
# Configure remote to use github.token (belongs to the person who triggered workflow)
182184
git remote set-url origin https://${{ github.token }}@github.com/${{ github.repository }}.git
183185
184186
# Checkout the default branch (we're in detached HEAD from tag checkout)
185187
git fetch origin
186188
DEFAULT_BRANCH=$(git remote show origin | grep "HEAD branch" | cut -d' ' -f5 || echo "main")
187189
git checkout $DEFAULT_BRANCH
188190
git pull origin $DEFAULT_BRANCH
189-
190-
# Stage changes
191-
git add charts/workload-variant-autoscaler/Chart.yaml
192-
git add charts/workload-variant-autoscaler/values.yaml
193191
194-
# Commit with message showing who created the release
192+
# Restore the release version into the repo so the commit updates the chart
193+
cp Chart.yaml.release "$CHART_DIR/Chart.yaml"
194+
cp values.yaml.release "$CHART_DIR/values.yaml"
195+
196+
git add "$CHART_DIR/Chart.yaml" "$CHART_DIR/values.yaml"
195197
COMMIT_MSG="Release ${{ steps.version.outputs.tag }}: update Chart.yaml and values.yaml"
196198
git commit -m "$COMMIT_MSG" || echo "No changes to commit"
197-
198199
# Push directly to main (bypass enabled via role-based permissions)
199-
# The person who triggered the workflow must have Write/Maintain role with bypass
200200
git push origin $DEFAULT_BRANCH || echo "Push failed - ensure your role has bypass permissions"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ helm upgrade workload-variant-autoscaler ./charts/workload-variant-autoscaler \
133133

134134
### Breaking Changes
135135

136-
#### v0.5.0 (upcoming)
136+
#### v0.5.1
137137
- **VariantAutoscaling CRD**: Added `scaleTargetRef` field as **required**. v0.4.1 VariantAutoscaling resources without `scaleTargetRef` must be updated before upgrading:
138138
- **Impact on Scale-to-Zero**: VAs without `scaleTargetRef` will not scale to zero properly, even with HPAScaleToZero enabled and HPA `minReplicas: 0`, because the HPA cannot reference the target deployment.
139139
- **Migration**: Update existing VAs to include `scaleTargetRef`:

charts/workload-variant-autoscaler/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: workload-variant-autoscaler
33
description: Helm chart for Workload-Variant-Autoscaler (WVA) - GPU-aware autoscaler for LLM inference workloads
44
type: application
5-
version: 0.5.0
6-
appVersion: "v0.5.0"
5+
version: 0.5.1
6+
appVersion: "v0.5.1"

charts/workload-variant-autoscaler/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
# workload-variant-autoscaler
22

3-
![Version: 0.4.1](https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.4.1](https://img.shields.io/badge/AppVersion-v0.4.1-informational?style=flat-square)
3+
![Version: 0.5.1](https://img.shields.io/badge/Version-0.5.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.5.1](https://img.shields.io/badge/AppVersion-v0.5.1-informational?style=flat-square)
44

55
Helm chart for Workload-Variant-Autoscaler (WVA) - GPU-aware autoscaler for LLM inference workloads
66

7+
### Chart registry (OCI)
8+
9+
The chart is published to GitHub Container Registry under the **llm-d** org (not llm-d-incubation). Use this OCI URL in Helm or Helmfile:
10+
11+
- **OCI URL:** `oci://ghcr.io/llm-d/workload-variant-autoscaler`
12+
- **Example:** `helm pull oci://ghcr.io/llm-d/workload-variant-autoscaler --version 0.5.1`
13+
714
## Installation (OpenShift)
815
Helm is the recommended installation method. Before running, be sure to delete all previous helm installations for `workload-variant-autoscaler` and `prometheus-adapter`. To list all helm charts installed in the cluster run `helm ls -A`.
916

1017
### Step 1: Setup Variables, Secret, Helm repo
1118
```
1219
export OWNER="llm-d"
1320
export WVA_PROJECT="llm-d-workload-variant-autoscaler"
14-
export WVA_RELEASE="v0.5.0"
21+
export WVA_RELEASE="v0.5.1"
1522
export WVA_NS="workload-variant-autoscaler-system"
1623
export MON_NS="openshift-user-workload-monitoring"
1724

charts/workload-variant-autoscaler/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ wva:
99

1010
image:
1111
repository: ghcr.io/llm-d/llm-d-workload-variant-autoscaler
12-
tag: v0.5.0
12+
tag: v0.5.1
1313
imagePullPolicy: Always
1414

1515
metrics:

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ kind: Kustomization
77
images:
88
- name: controller
99
newName: ghcr.io/llm-d/llm-d-workload-variant-autoscaler
10-
newTag: v0.4.1
10+
newTag: v0.5.1

docs/saturation-analyzer.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# NOTE: we are currently updating the documentation to be aligned with the 0.4.0 release
21
# Saturation Analyzer
32

43
## Overview

0 commit comments

Comments
 (0)