Skip to content

Commit

Permalink
Merge branch 'main' into feature/ci/two-version-deploy-support
Browse files Browse the repository at this point in the history
  • Loading branch information
hlts2 authored Dec 26, 2023
2 parents 16ced22 + 8dc67ee commit 1ae1c91
Show file tree
Hide file tree
Showing 38 changed files with 211 additions and 79 deletions.
2 changes: 1 addition & 1 deletion .github/actions/docker-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ runs:
DOCKER="docker" \
BUILDKIT_INLINE_CACHE=0 \
DOCKER_OPTS="--platform ${PLATFORMS} --builder ${BUILDER} ${LABEL_OPTS} --label org.opencontainers.image.version=${PRIMARY_TAG} --label org.opencontainers.image.title=${TARGET}" \
EXTRA_TAGS="${EXTRA_TAGS}" \
EXTRA_ARGS="${EXTRA_TAGS}" \
TAG="${PRIMARY_TAG}" \
docker/build/${TARGET}
env:
Expand Down
92 changes: 92 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,97 @@
# CHANGELOG

## v1.7.10

### Docker images

<table>
<tr>
<th>component</th>
<th>Docker pull</th>
</tr>
<tr>
<td>Agent NGT</td>
<td>
<code>docker pull vdaas/vald-agent-ngt:v1.7.10</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-agent-ngt:v1.7.10</code>
</td>
</tr>
<tr>
<td>Agent sidecar</td>
<td>
<code>docker pull vdaas/vald-agent-sidecar:v1.7.10</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-agent-sidecar:v1.7.10</code>
</td>
</tr>
<tr>
<td>Discoverers</td>
<td>
<code>docker pull vdaas/vald-discoverer-k8s:v1.7.10</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-discoverer-k8s:v1.7.10</code>
</td>
</tr>
<tr>
<td>Gateways</td>
<td>
<code>docker pull vdaas/vald-lb-gateway:v1.7.10</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-lb-gateway:v1.7.10</code><br/>
<code>docker pull vdaas/vald-filter-gateway:v1.7.10</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-filter-gateway:v1.7.10</code>
</td>
</tr>
<tr>
<td>Index Manager</td>
<td>
<code>docker pull vdaas/vald-manager-index:v1.7.10</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-manager-index:v1.7.10</code>
</td>
</tr>
<tr>
<td>Helm Operator</td>
<td>
<code>docker pull vdaas/vald-helm-operator:v1.7.10</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-helm-operator:v1.7.10</code>
</td>
</tr>
</table>

### Documents

- [GoDoc](https://pkg.go.dev/github.com/vdaas/[email protected])
- [Helm Chart Reference](https://github.com/vdaas/vald/blob/v1.7.10/charts/vald/README.md)
- [Helm Operator Chart Reference](https://github.com/vdaas/vald/blob/v1.7.10/charts/vald-helm-operator/README.md)

### Changes

:sparkles: New feature

- Implement malloc metrics [#2161](https://github.com/vdaas/vald/pull/2161)
- Add svc discoverer for readreplica svc [#2263](https://github.com/vdaas/vald/pull/2263)
- Add agent readreplica resources [#2258](https://github.com/vdaas/vald/pull/2258)
- Add cronjob for readreplica rotator [#2242](https://github.com/vdaas/vald/pull/2242)

:recycle: Refactor

- Apply make proto/all [#2266](https://github.com/vdaas/vald/pull/2266)
- Migratation to buf [#2236](https://github.com/vdaas/vald/pull/2236)
- Update schema [#2265](https://github.com/vdaas/vald/pull/2265)

:bug: Bugfix

- Resolve duplicated cluster wide resources name problem [#2274](https://github.com/vdaas/vald/pull/2274)

:pencil2: Document

- Add caution sentence for deploy multi-Vald clusters [#2271](https://github.com/vdaas/vald/pull/2271)

:green_heart: CI

- Disable BUILDKIT_INLINE_CACHE on GitHub Actions [#2270](https://github.com/vdaas/vald/pull/2270)
- Fix docker build for scanning [#2269](https://github.com/vdaas/vald/pull/2269)
- change login user and token for ghcr.io & small refactor [#2268](https://github.com/vdaas/vald/pull/2268)
- Add e2e job for index management job [#2239](https://github.com/vdaas/vald/pull/2239)
- Add docker buildx cache [#2261](https://github.com/vdaas/vald/pull/2261)

## v1.7.9

### Docker images
Expand Down
2 changes: 1 addition & 1 deletion Makefile.d/docker.mk
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ docker/name/operator/helm:
docker/build/operator/helm:
@make DOCKERFILE="$(ROOTDIR)/dockers/operator/helm/Dockerfile" \
IMAGE=$(HELM_OPERATOR_IMAGE) \
EXTRA_ARGS="--build-arg OPERATOR_SDK_VERSION=$(OPERATOR_SDK_VERSION) --build-arg UPX_OPTIONS=$(UPX_OPTIONS)" \
EXTRA_ARGS="--build-arg OPERATOR_SDK_VERSION=$(OPERATOR_SDK_VERSION) --build-arg UPX_OPTIONS=$(UPX_OPTIONS) $(EXTRA_ARGS)" \
docker/build/image

.PHONY: docker/name/loadtest
Expand Down
2 changes: 1 addition & 1 deletion charts/vald-helm-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

apiVersion: v2
name: vald-helm-operator
version: v1.7.9
version: v1.7.10
description: A Helm chart for vald-helm-operator
type: application
keywords:
Expand Down
10 changes: 5 additions & 5 deletions charts/vald-helm-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a Helm chart to install vald-helm-operator.

Current chart version is `v1.7.9`
Current chart version is `v1.7.10`

## Table of Contents

Expand All @@ -26,13 +26,13 @@ Run the following command to install the chart,

Please upgrade the CRDs first because Helm doesn't have a support to upgrade CRDs.

$ kubectl replace -f https://raw.githubusercontent.com/vdaas/vald/v1.7.9/charts/vald-helm-operator/crds/valdrelease.yaml
$ kubectl replace -f https://raw.githubusercontent.com/vdaas/vald/v1.7.9/charts/vald-helm-operator/crds/valdhelmoperatorrelease.yaml
$ kubectl replace -f https://raw.githubusercontent.com/vdaas/vald/v1.7.10/charts/vald-helm-operator/crds/valdrelease.yaml
$ kubectl replace -f https://raw.githubusercontent.com/vdaas/vald/v1.7.10/charts/vald-helm-operator/crds/valdhelmoperatorrelease.yaml

After upgrading CRDs, you can upgrade the operator.
If you're using `valdhelmoperatorrelease` (or `vhor`) resource, please update the `spec.image.tag` field of it.

$ kubectl patch vhor vhor-release -p '{"spec":{"image":{"tag":"v1.7.9"}}}'
$ kubectl patch vhor vhor-release -p '{"spec":{"image":{"tag":"v1.7.10"}}}'

On the other hand, please update the operator's deployment manually.

Expand Down Expand Up @@ -79,7 +79,7 @@ spec: {}
| healthPort | int | `8081` | port of health endpoint |
| image.pullPolicy | string | `"Always"` | image pull policy |
| image.repository | string | `"vdaas/vald-helm-operator"` | image repository |
| image.tag | string | `"v1.7.9"` | image tag |
| image.tag | string | `"v1.7.10"` | image tag |
| leaderElectionID | string | `"vald-helm-operator"` | name of the configmap that is used for holding the leader lock. |
| livenessProbe.enabled | bool | `true` | enable liveness probe. |
| livenessProbe.failureThreshold | int | `2` | liveness probe failure threshold |
Expand Down
2 changes: 1 addition & 1 deletion charts/vald-helm-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ image:
repository: vdaas/vald-helm-operator
# @schema {"name": "image.tag", "type": "string"}
# image.tag -- image tag
tag: v1.7.9
tag: v1.7.10
# @schema {"name": "image.pullPolicy", "type": "string", "enum": ["Always", "Never", "IfNotPresent"]}
# image.pullPolicy -- image pull policy
pullPolicy: Always
Expand Down
2 changes: 1 addition & 1 deletion charts/vald/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

apiVersion: v2
name: vald
version: v1.7.9
version: v1.7.10
description: A distributed high scalable & high-speed approximate nearest neighbor search engine
type: application
keywords:
Expand Down
Loading

0 comments on commit 1ae1c91

Please sign in to comment.