Skip to content

Commit

Permalink
revert v1.7.6 (#2064)
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <[email protected]>
  • Loading branch information
kpango committed Jun 15, 2023
1 parent 407e6f5 commit fd9f8c1
Show file tree
Hide file tree
Showing 52 changed files with 247 additions and 264 deletions.
118 changes: 0 additions & 118 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,123 +1,5 @@
# CHANGELOG

## v1.7.6

### 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.6</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-agent-ngt:v1.7.6</code>
</td>
</tr>
<tr>
<td>Agent sidecar</td>
<td>
<code>docker pull vdaas/vald-agent-sidecar:v1.7.6</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-agent-sidecar:v1.7.6</code>
</td>
</tr>
<tr>
<td>Discoverers</td>
<td>
<code>docker pull vdaas/vald-discoverer-k8s:v1.7.6</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-discoverer-k8s:v1.7.6</code>
</td>
</tr>
<tr>
<td>Gateways</td>
<td>
<code>docker pull vdaas/vald-lb-gateway:v1.7.6</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-lb-gateway:v1.7.6</code><br/>
<code>docker pull vdaas/vald-filter-gateway:v1.7.6</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-filter-gateway:v1.7.6</code>
</td>
</tr>
<tr>
<td>Index Manager</td>
<td>
<code>docker pull vdaas/vald-manager-index:v1.7.6</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-manager-index:v1.7.6</code>
</td>
</tr>
<tr>
<td>Helm Operator</td>
<td>
<code>docker pull vdaas/vald-helm-operator:v1.7.6</code><br/>
<code>docker pull ghcr.io/vdaas/vald/vald-helm-operator:v1.7.6</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.6/charts/vald/README.md)
- [Helm Operator Chart Reference](https://github.com/vdaas/vald/blob/v1.7.6/charts/vald-helm-operator/README.md)

### Changes

⚠️ ⚠️ ⚠️ Warning ⚠️ ⚠️ ⚠️

- `v1.7.6` does not support `vald-agent-sidecar` for some reason.
- You can use the `vald-agent-sidecar` by setting the `vald-agent-ngt` image tag as `v1.7.5` or earlier.
- We will support `vald-agent-sidecar` in the future version again.

:sparkles: New feature

- Add search algorithm benchmark and update search aggregation algo [#2044](https://github.com/vdaas/vald/pull/2044)
- Add broken index backup [#2034](https://github.com/vdaas/vald/pull/2034)
- Add network policy [#2022](https://github.com/vdaas/vald/pull/2022)

:recycle: Refactor

- Add save index operation log [#2048](https://github.com/vdaas/vald/pull/2048)
- Added flg that can disable to ingress defaultBackend [#1976](https://github.com/vdaas/vald/pull/1976)
- Refactor and Add test for service/ngt.go [#2040](https://github.com/vdaas/vald/pull/2040)
- Add e2e envs to devcontainer [#2032](https://github.com/vdaas/vald/pull/2032)
- Update RoundTrip retry condition [#2033](https://github.com/vdaas/vald/pull/2033)

:bug: Bugfix

- Fix fp16 problems [#2049](https://github.com/vdaas/vald/pull/2049)
- Add KUBECTL_VERSION value to workflow [#2052](https://github.com/vdaas/vald/pull/2052)
- Remove sudo from kubectl and small refactor around os/arch [#2037](https://github.com/vdaas/vald/pull/2037)

:pencil2: Document

- Add documentation for devcontiner [#2042](https://github.com/vdaas/vald/pull/2042)
- Create README for each docker image [#2014](https://github.com/vdaas/vald/pull/2014)

:green_heart: CI

- Disable deepsource TestCoverage due to the Deepsource Coverage collect server timeout is too short for Vald testing [#2038](https://github.com/vdaas/vald/pull/2038)
- Update Docker Build workflow with forked sources [#2036](https://github.com/vdaas/vald/pull/2036)
- Fix e2e-max-dim test [#2028](https://github.com/vdaas/vald/pull/2028)
- Fix E2E actions on PR [#2025](https://github.com/vdaas/vald/pull/2025)
- Change E2E actions to use local charts on PR [#2024](https://github.com/vdaas/vald/pull/2024)
- Update format chatops [#2021](https://github.com/vdaas/vald/pull/2021)
- Format code with prettier and gofumpt [#2015](https://github.com/vdaas/vald/pull/2015)

:chart_with_upwards_trend: Metrics/Tracing

- Add command to deploy monitoring stack [#2030](https://github.com/vdaas/vald/pull/2030)
- Fixed duplicate counting in CPU graphs [#2019](https://github.com/vdaas/vald/pull/2019)

:arrow_up: Update dependencies

- Update go modules [#2053](https://github.com/vdaas/vald/pull/2053)
- Update NGT version [#2026](https://github.com/vdaas/vald/pull/2026)

:handshake: Contributor

- Add takuyaymd as a contributor for maintenance [#2020](https://github.com/vdaas/vald/pull/2020)

## v1.7.5

### 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 @@ -22,7 +22,7 @@ docker/build: \
docker/build/gateway-lb \
docker/build/gateway-filter \
docker/build/manager-index \
docker/build/helm-operator
docker/build/operator/helm

.PHONY: docker/name/org
docker/name/org:
Expand Down
58 changes: 29 additions & 29 deletions apis/docs/v1/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@
- [Object](#vald-v1-Object)
- [apis/proto/v1/vald/remove.proto](#apis_proto_v1_vald_remove-proto)
- [Remove](#vald-v1-Remove)
- [apis/proto/v1/vald/search.proto](#apis_proto_v1_vald_search-proto)
- [Search](#vald-v1-Search)
- [apis/proto/v1/vald/update.proto](#apis_proto_v1_vald_update-proto)
- [Update](#vald-v1-Update)
- [apis/proto/v1/vald/upsert.proto](#apis_proto_v1_vald_upsert-proto)
- [Upsert](#vald-v1-Upsert)
- [apis/proto/v1/vald/search.proto](#apis_proto_v1_vald_search-proto)
- [Search](#vald-v1-Search)
- [Scalar Value Types](#scalar-value-types)

<a name="apis_proto_v1_agent_core_agent-proto"></a>
Expand Down Expand Up @@ -1011,33 +1011,6 @@ Remove service provides ways to remove indexed vectors.
| StreamRemove | [.payload.v1.Remove.Request](#payload-v1-Remove-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to remove multiple indexed vectors by bidirectional streaming. |
| MultiRemove | [.payload.v1.Remove.MultiRequest](#payload-v1-Remove-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to remove multiple indexed vectors in a single request. |

<a name="apis_proto_v1_vald_search-proto"></a>

<p align="right"><a href="#top">Top</a></p>

## apis/proto/v1/vald/search.proto

<a name="vald-v1-Search"></a>

### Search

Search service provides ways to search indexed vectors.

| Method Name | Request Type | Response Type | Description |
| ---------------------- | ---------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| Search | [.payload.v1.Search.Request](#payload-v1-Search-Request) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search indexed vectors by a raw vector. |
| SearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search indexed vectors by ID. |
| StreamSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search indexed vectors by multiple vectors. |
| StreamSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search indexed vectors by multiple IDs. |
| MultiSearch | [.payload.v1.Search.MultiRequest](#payload-v1-Search-MultiRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search indexed vectors by multiple vectors in a single request. |
| MultiSearchByID | [.payload.v1.Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search indexed vectors by multiple IDs in a single request. |
| LinearSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to linear search indexed vectors by a raw vector. |
| LinearSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to linear search indexed vectors by ID. |
| StreamLinearSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to linear search indexed vectors by multiple vectors. |
| StreamLinearSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to linear search indexed vectors by multiple IDs. |
| MultiLinearSearch | [.payload.v1.Search.MultiRequest](#payload-v1-Search-MultiRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to linear search indexed vectors by multiple vectors in a single request. |
| MultiLinearSearchByID | [.payload.v1.Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to linear search indexed vectors by multiple IDs in a single request. |

<a name="apis_proto_v1_vald_update-proto"></a>

<p align="right"><a href="#top">Top</a></p>
Expand Down Expand Up @@ -1074,6 +1047,33 @@ Upsert service provides ways to insert/update vectors.
| StreamUpsert | [.payload.v1.Upsert.Request](#payload-v1-Upsert-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to insert/update multiple vectors by bidirectional streaming. |
| MultiUpsert | [.payload.v1.Upsert.MultiRequest](#payload-v1-Upsert-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to insert/update multiple vectors in a single request. |

<a name="apis_proto_v1_vald_search-proto"></a>

<p align="right"><a href="#top">Top</a></p>

## apis/proto/v1/vald/search.proto

<a name="vald-v1-Search"></a>

### Search

Search service provides ways to search indexed vectors.

| Method Name | Request Type | Response Type | Description |
| ---------------------- | ---------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| Search | [.payload.v1.Search.Request](#payload-v1-Search-Request) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search indexed vectors by a raw vector. |
| SearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search indexed vectors by ID. |
| StreamSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search indexed vectors by multiple vectors. |
| StreamSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search indexed vectors by multiple IDs. |
| MultiSearch | [.payload.v1.Search.MultiRequest](#payload-v1-Search-MultiRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search indexed vectors by multiple vectors in a single request. |
| MultiSearchByID | [.payload.v1.Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search indexed vectors by multiple IDs in a single request. |
| LinearSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to linear search indexed vectors by a raw vector. |
| LinearSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to linear search indexed vectors by ID. |
| StreamLinearSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to linear search indexed vectors by multiple vectors. |
| StreamLinearSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to linear search indexed vectors by multiple IDs. |
| MultiLinearSearch | [.payload.v1.Search.MultiRequest](#payload-v1-Search-MultiRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to linear search indexed vectors by multiple vectors in a single request. |
| MultiLinearSearchByID | [.payload.v1.Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to linear search indexed vectors by multiple IDs in a single request. |

## Scalar Value Types

| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby |
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.6
version: v1.7.5
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.6`
Current chart version is `v1.7.5`

## 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.6/charts/vald-helm-operator/crds/valdrelease.yaml
$ kubectl replace -f https://raw.githubusercontent.com/vdaas/vald/v1.7.6/charts/vald-helm-operator/crds/valdhelmoperatorrelease.yaml
$ kubectl replace -f https://raw.githubusercontent.com/vdaas/vald/v1.7.5/charts/vald-helm-operator/crds/valdrelease.yaml
$ kubectl replace -f https://raw.githubusercontent.com/vdaas/vald/v1.7.5/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.6"}}}'
$ kubectl patch vhor vhor-release -p '{"spec":{"image":{"tag":"v1.7.5"}}}'

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.6"` | image tag |
| image.tag | string | `"v1.7.5"` | 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.6
tag: v1.7.5
# @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.6
version: v1.7.5
description: A distributed high scalable & high-speed approximate nearest neighbor search engine
type: application
keywords:
Expand Down
Loading

0 comments on commit fd9f8c1

Please sign in to comment.