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 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/[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
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.