Skip to content

Commit 9894f3d

Browse files
authored
release: update manifest and helm charts for v0.2.1 (kaito-project#302)
- Fixes https://github.com/Azure/kaito/security/dependabot/13 - Release v0.2.1 --------- Signed-off-by: Heba Elayoty <[email protected]>
1 parent fb2aba3 commit 9894f3d

File tree

12 files changed

+70
-73
lines changed

12 files changed

+70
-73
lines changed

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Image URL to use all building/pushing image targets
33
REGISTRY ?= YOUR_REGISTRY
44
IMG_NAME ?= workspace
5-
VERSION ?= v0.2.0
5+
VERSION ?= v0.2.1
66
IMG_TAG ?= $(subst v,,$(VERSION))
77

88
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
@@ -208,8 +208,6 @@ gpu-provisioner-helm: ## Update Azure client env vars and settings in helm valu
208208
$(eval AZURE_TENANT_ID=$(shell az account show | jq -r ".tenantId"))
209209
$(eval AZURE_SUBSCRIPTION_ID=$(shell az account show | jq -r ".id"))
210210

211-
yq -i '(.controller.image.repository) = "mcr.microsoft.com/aks/kaito/gpu-provisioner"' ./charts/kaito/gpu-provisioner/values.yaml
212-
yq -i '(.controller.image.tag) = "0.1.0"' ./charts/kaito/gpu-provisioner/values.yaml
213211
yq -i '(.controller.env[] | select(.name=="ARM_SUBSCRIPTION_ID")) .value = "$(AZURE_SUBSCRIPTION_ID)"' ./charts/kaito/gpu-provisioner/values.yaml
214212
yq -i '(.controller.env[] | select(.name=="LOCATION")) .value = "$(AZURE_LOCATION)"' ./charts/kaito/gpu-provisioner/values.yaml
215213
yq -i '(.controller.env[] | select(.name=="ARM_RESOURCE_GROUP")) .value = "$(AZURE_RESOURCE_GROUP)"' ./charts/kaito/gpu-provisioner/values.yaml
@@ -266,7 +264,7 @@ lint: $(GOLANGCI_LINT)
266264
.PHONY: release-manifest
267265
release-manifest:
268266
@sed -i -e 's/^VERSION ?= .*/VERSION ?= ${VERSION}/' ./Makefile
269-
@sed -i -e "s/version: .*/version: ${IMG_TAG}/" ./charts/kaito/workspace/Chart.yaml
267+
@sed -i -e "s/appVersion: .*/appVersion: ${IMG_TAG}/" ./charts/kaito/workspace/Chart.yaml
270268
@sed -i -e "s/tag: .*/tag: ${IMG_TAG}/" ./charts/kaito/workspace/values.yaml
271269
@sed -i -e 's/IMG_TAG=.*/IMG_TAG=${IMG_TAG}/' ./charts/kaito/workspace/README.md
272270
git checkout -b release-${VERSION}

charts/kaito/gpu-provisioner/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: gpu-provisioner
33
description: A Helm chart for gpu-provisioner
44
type: application
5-
version: 0.1.0
6-
appVersion: 0.1.0
5+
version: 0.2.0
6+
appVersion: 0.2.0
77
sources:
88
- https://github.com/Azure/gpu-provisioner
99
maintainers:

charts/kaito/gpu-provisioner/README.md

Lines changed: 51 additions & 56 deletions
Large diffs are not rendered by default.

charts/kaito/gpu-provisioner/templates/configmap-logging.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
kind: ConfigMap
33
metadata:
4-
name: config-logging
4+
name: gpu-provisioner-config-logging
55
namespace: {{ .Values.namespace }}
66
labels:
77
{{- include "gpu-provisioner.labels" . | nindent 4 }}

charts/kaito/gpu-provisioner/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ spec:
7575
image: {{ include "gpu-provisioner.controller.image" . }}
7676
imagePullPolicy: {{ .Values.imagePullPolicy }}
7777
env:
78+
- name: CONFIG_LOGGING_NAME
79+
value: "gpu-provisioner-config-logging"
7880
- name: SYSTEM_NAMESPACE
7981
valueFrom:
8082
fieldRef:

charts/kaito/gpu-provisioner/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ controller:
103103
# -- Repository path to the controller image.
104104
repository: mcr.microsoft.com/aks/kaito/gpu-provisioner
105105
# -- Tag of the controller image.
106-
tag: 0.1.0
106+
tag: 0.2.0
107107
# -- SHA256 digest of the controller image.
108108
digest: ""
109109
# -- SecurityContext for the controller container.
@@ -122,6 +122,8 @@ controller:
122122
value:
123123
- name: LEADER_ELECT # disable leader election for better debugging experience
124124
value: "false"
125+
- name: E2E_TEST_MODE
126+
value: "false"
125127
envFrom: []
126128
# -- Resources for the controller pod.
127129
resources:

charts/kaito/workspace/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ type: application
66
# This is the chart version. This version number should be incremented each time you make changes
77
# to the chart and its templates, including the app version.
88
# Versions are expected to follow Semantic Versioning (https://semver.org/)
9-
version: 0.1.0
9+
version: 0.2.1
1010

1111
# This is the version number of the application being deployed. This version number should be
1212
# incremented each time you make changes to the application. Versions are not expected to
1313
# follow Semantic Versioning. They should reflect the version the application is using.
1414
# It is recommended to use it with quotes.
15-
appVersion: "0.2.0"
15+
appVersion: "0.2.1"
1616
home: https://github.com/Azure/kaito
1717
sources:
1818
- https://github.com/Azure/kaito

charts/kaito/workspace/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
```bash
66
export REGISTRY=<your_docker_registry>
77
export IMG_NAME=workspace
8-
export IMG_TAG=0.2.0
8+
export IMG_TAG=0.2.1
99
helm install workspace ./charts/kaito/workspace --set image.repository=${REGISTRY}/$(IMG_NAME) --set image.tag=$(IMG_TAG)
1010
```
1111

charts/kaito/workspace/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ replicaCount: 1
55
image:
66
repository: mcr.microsoft.com/aks/kaito/workspace
77
pullPolicy: IfNotPresent
8-
tag: 0.2.0
8+
tag: 0.2.1
99
imagePullSecrets: []
1010
podAnnotations: {}
1111
podSecurityContext:

docker/presets/inference/llama-2/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ WORKDIR /workspace/llama
2020
RUN ["/bin/bash", "-c", "sed -i $'/torch.distributed.init_process_group(\"nccl\")/c\\ import datetime\\\n torch.distributed.init_process_group(\"nccl\", timeout=datetime.timedelta(days=365*100))' /workspace/llama/llama/generation.py"]
2121

2222
RUN pip install -e .
23-
RUN pip install torch==2.1.0 fastapi==0.103.2 pydantic==1.10.9 gputil==1.4.0
23+
RUN pip install torch==2.1.0 fastapi==0.109.1 pydantic==1.10.9 gputil==1.4.0
2424
RUN pip install 'uvicorn[standard]'
2525

2626
ARG WEIGHTS_PATH

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ require (
99
github.com/onsi/gomega v1.27.8
1010
github.com/samber/lo v1.38.1
1111
github.com/stretchr/testify v1.8.4
12+
gopkg.in/yaml.v2 v2.4.0
1213
gotest.tools v2.2.0+incompatible
1314
k8s.io/api v0.27.7
1415
k8s.io/apimachinery v0.27.7
@@ -90,9 +91,8 @@ require (
9091
google.golang.org/appengine v1.6.7 // indirect
9192
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
9293
google.golang.org/grpc v1.56.3 // indirect
93-
google.golang.org/protobuf v1.30.0 // indirect
94+
google.golang.org/protobuf v1.33.0 // indirect
9495
gopkg.in/inf.v0 v0.9.1 // indirect
95-
gopkg.in/yaml.v2 v2.4.0 // indirect
9696
gopkg.in/yaml.v3 v3.0.1 // indirect
9797
k8s.io/apiextensions-apiserver v0.27.2 // indirect
9898
k8s.io/component-base v0.27.7 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,8 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj
629629
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
630630
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
631631
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
632-
google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng=
633-
google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
632+
google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=
633+
google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
634634
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
635635
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
636636
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

0 commit comments

Comments
 (0)