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 <kpango@vdaas.org>
  • Loading branch information
kpango committed Jun 15, 2023
1 parent 407e6f5 commit 497c7dd
Show file tree
Hide file tree
Showing 55 changed files with 226 additions and 256 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/vald@v1.7.6)
- [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
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
ORG ?= vdaas
NAME = vald
GOPKG = github.com/$(ORG)/$(NAME)
GOPRIVATE = $(GOPKG),$(GOPKG)/apis
GOPRIVATE = $(GOPKG),$(GOPKG)/apis,$(GOPKG)-client-go
DATETIME = $(eval DATETIME := $(shell date -u +%Y/%m/%d_%H:%M:%S%z))$(DATETIME)
TAG ?= latest
CRORG ?= $(ORG)
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
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
4 changes: 2 additions & 2 deletions charts/vald/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 components.

Current chart version is `v1.7.6`
Current chart version is `v1.7.5`

## Table of Contents

Expand Down Expand Up @@ -291,7 +291,7 @@ Run the following command to install the chart,
| defaults.grpc.client.tls.enabled | bool | `false` | TLS enabled |
| defaults.grpc.client.tls.insecure_skip_verify | bool | `false` | enable/disable skip SSL certificate verification |
| defaults.grpc.client.tls.key | string | `"/path/to/key"` | TLS key path |
| defaults.image.tag | string | `"v1.7.6"` | docker image tag |
| defaults.image.tag | string | `"v1.7.5"` | docker image tag |
| defaults.logging.format | string | `"raw"` | logging format. logging format must be `raw` or `json` |
| defaults.logging.level | string | `"debug"` | logging level. logging level must be `debug`, `info`, `warn`, `error` or `fatal`. |
| defaults.logging.logger | string | `"glg"` | logger name. currently logger must be `glg` or `zap`. |
Expand Down
2 changes: 1 addition & 1 deletion charts/vald/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ defaults:
image:
# @schema {"name": "defaults.image.tag", "type": "string"}
# defaults.image.tag -- docker image tag
tag: v1.7.6
tag: v1.7.5
# @schema {"name": "defaults.server_config", "type": "object", "anchor": "server_config"}
server_config:
# @schema {"name": "defaults.server_config.servers", "type": "object"}
Expand Down
4 changes: 2 additions & 2 deletions dockers/agent/core/ngt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

COPY --from=golang /usr/local/go $GOROOT
RUN mkdir $GOPATH
RUN mkdir -p "$GOPATH/src"

WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO}

Expand Down Expand Up @@ -97,7 +97,7 @@ WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO}/cmd/${PKG}
RUN cp sample.yaml /tmp/config.yaml

FROM ${DISTROLESS_IMAGE}:${DISTROLESS_IMAGE_TAG}
LABEL maintainer "${MAINTAINER}"
LABEL maintainer="${MAINTAINER}"

ENV APP_NAME ngt

Expand Down
Loading

0 comments on commit 497c7dd

Please sign in to comment.