Skip to content

Commit

Permalink
Merge branch 'master' into performance/agent/use-userdefined-gc-call
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuke Kato authored Sep 8, 2020
2 parents 6dbf2af + 720aaa9 commit 2b950ac
Show file tree
Hide file tree
Showing 54 changed files with 137 additions and 108 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# CHANGELOG

## v0.0.55

### Docker images

component | docker pull
--------- | -----------
agent NGT | `docker pull vdaas/vald-agent-ngt:v0.0.55`
agent sidecar | `docker pull vdaas/vald-agent-sidecar:v0.0.55`
discoverer K8s | `docker pull vdaas/vald-discoverer-k8s:v0.0.55`
gateway | `docker pull vdaas/vald-gateway:v0.0.55`
backup manager MySQL | `docker pull vdaas/vald-manager-backup-mysql:v0.0.55`
backup manager Cassandra | `docker pull vdaas/vald-manager-backup-cassandra:v0.0.55`
compressor | `docker pull vdaas/vald-manager-compressor:v0.0.55`
meta Redis | `docker pull vdaas/vald-meta-redis:v0.0.55`
meta Cassandra | `docker pull vdaas/vald-meta-cassandra:v0.0.55`
index manager | `docker pull vdaas/vald-manager-index:v0.0.55`
Helm operator | `docker pull vdaas/vald-helm-operator:v0.0.55`

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

### Changes
- pass CFLAGS, CXXFLAGS to NGT build command ([#683](https://github.com/vdaas/vald/pull/683))
- :robot: Automatically update k8s manifests ([#681](https://github.com/vdaas/vald/pull/681))


## v0.0.54

### Docker images
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,8 @@ ngt/install: /usr/local/include/NGT/Capi.h
/usr/local/include/NGT/Capi.h:
curl -LO https://github.com/yahoojapan/NGT/archive/v$(NGT_VERSION).tar.gz
tar zxf v$(NGT_VERSION).tar.gz -C /tmp
cd /tmp/NGT-$(NGT_VERSION)&& cmake .
cd /tmp/NGT-$(NGT_VERSION) && \
cmake -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" .
make -j -C /tmp/NGT-$(NGT_VERSION)
make install -C /tmp/NGT-$(NGT_VERSION)
rm -rf v$(NGT_VERSION).tar.gz
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: v0.0.54
version: v0.0.55
description: A Helm chart for vald-helm-operator
type: application
keywords:
Expand Down
4 changes: 2 additions & 2 deletions charts/vald-helm-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ vald-helm-operator

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

Current chart version is `v0.0.54`
Current chart version is `v0.0.55`

Table of Contents
---
Expand Down Expand Up @@ -69,7 +69,7 @@ Configuration
| enableMetrics | bool | `true` | enable metrics endpoint |
| image.pullPolicy | string | `"Always"` | image pull policy |
| image.repository | string | `"vdaas/vald-helm-operator"` | image repository |
| image.tag | string | `"v0.0.54"` | image tag |
| image.tag | string | `"v0.0.55"` | image tag |
| leaderElectionID | string | `"vald-helm-operator"` | name of the configmap that is used for holding the leader lock. |
| logging.format | string | `"console"` | logging format of operator (console or json) |
| logging.level | string | `"info"` | logging level of operator (debug, info, or error) |
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: v0.0.54
tag: v0.0.55
# @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: v0.0.54
version: v0.0.55
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 @@ -3,7 +3,7 @@ Vald

This is a Helm chart to install Vald components.

Current chart version is `v0.0.54`
Current chart version is `v0.0.55`

Table of Contents
---
Expand Down Expand Up @@ -425,7 +425,7 @@ Configuration
| defaults.grpc.client.tls.cert | string | `"/path/to/cert"` | gRPC client TLS cert path |
| defaults.grpc.client.tls.enabled | bool | `false` | gRPC client TLS enabled |
| defaults.grpc.client.tls.key | string | `"/path/to/key"` | gRPC client TLS key path |
| defaults.image.tag | string | `"v0.0.54"` | docker image tag |
| defaults.image.tag | string | `"v0.0.55"` | 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`. |
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: v0.0.54
tag: v0.0.55
# @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 k8s/agent/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: vald-agent-ngt-config
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: agent
data:
config.yaml: |
Expand Down
4 changes: 2 additions & 2 deletions k8s/agent/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: vald-agent-ngt
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: agent
spec:
maxUnavailable: 1
Expand Down
4 changes: 2 additions & 2 deletions k8s/agent/priorityclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: vald-agent-ngt-priority
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: agent
value: 1e+09
preemptionPolicy: Never
Expand Down
6 changes: 3 additions & 3 deletions k8s/agent/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ metadata:
labels:
app: vald-agent-ngt
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: agent
spec:
serviceName: vald-agent-ngt
Expand All @@ -51,7 +51,7 @@ spec:
profefe.com/port: "6060"
profefe.com/service: vald-agent-ngt
# annotations:
# checksum/configmap: 6bd500c67b8a541ac95d90f31fdb1e13e841674e2c5f6d73e83963ee5abc249f
# checksum/configmap: 04829a465113cd93266c6ce0492688cbf787972c78f0dd9ca4d90c870ae575c3
spec:
affinity:
nodeAffinity:
Expand Down
4 changes: 2 additions & 2 deletions k8s/agent/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: vald-agent-ngt
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: agent
spec:
ports:
Expand Down
4 changes: 2 additions & 2 deletions k8s/discoverer/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: discoverer
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: discoverer
rules:
- apiGroups:
Expand Down
4 changes: 2 additions & 2 deletions k8s/discoverer/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: discoverer
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: discoverer
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
4 changes: 2 additions & 2 deletions k8s/discoverer/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: vald-discoverer-config
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: discoverer
data:
config.yaml: |
Expand Down
6 changes: 3 additions & 3 deletions k8s/discoverer/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ metadata:
labels:
app: vald-discoverer
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: discoverer
spec:
progressDeadlineSeconds: 600
Expand All @@ -47,7 +47,7 @@ spec:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/component: discoverer
annotations:
checksum/configmap: 8cf5e9fefb7a99f288d3647813c72283b1dc86f8f7a3ee3e329fd0156c8480c0
checksum/configmap: 0953b54716b3de5efa0d84eaf7cf18822d7ab83bb64350b6e432c55e483bb5e0
profefe.com/enable: "true"
profefe.com/port: "6060"
profefe.com/service: vald-discoverer
Expand Down
4 changes: 2 additions & 2 deletions k8s/discoverer/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: vald-discoverer
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: discoverer
spec:
maxUnavailable: 50%
Expand Down
4 changes: 2 additions & 2 deletions k8s/discoverer/priorityclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: vald-discoverer-priority
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: discoverer
value: 1e+06
globalDefault: false
Expand Down
4 changes: 2 additions & 2 deletions k8s/discoverer/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ metadata:
name: vald
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: discoverer
4 changes: 2 additions & 2 deletions k8s/discoverer/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: vald-discoverer
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: discoverer
spec:
ports:
Expand Down
4 changes: 2 additions & 2 deletions k8s/gateway/vald/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: vald-gateway-config
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: gateway
data:
config.yaml: |
Expand Down
6 changes: 3 additions & 3 deletions k8s/gateway/vald/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ metadata:
labels:
app: vald-gateway
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: gateway
spec:
progressDeadlineSeconds: 600
Expand All @@ -46,7 +46,7 @@ spec:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/component: gateway
annotations:
checksum/configmap: d50f35ef74c0a5409b90a60492c965609d8ec589510c4cb70a6b66b87d0ffa11
checksum/configmap: b0035e92b071de1ed0d23ded952435fd05eccb96660b187cff2d2386ad85786f
profefe.com/enable: "true"
profefe.com/port: "6060"
profefe.com/service: vald-gateway
Expand Down
4 changes: 2 additions & 2 deletions k8s/gateway/vald/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: vald-gateway
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: gateway
spec:
maxReplicas: 9
Expand Down
4 changes: 2 additions & 2 deletions k8s/gateway/vald/ing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ metadata:
name: vald-gateway-ingress
app: vald-gateway-ingress
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: gateway
name: vald-gateway-ingress
spec:
Expand Down
4 changes: 2 additions & 2 deletions k8s/gateway/vald/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: vald-gateway
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: gateway
spec:
maxUnavailable: 50%
Expand Down
4 changes: 2 additions & 2 deletions k8s/gateway/vald/priorityclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ metadata:
name: vald-gateway-priority
labels:
app.kubernetes.io/name: vald
helm.sh/chart: vald-v0.0.54
helm.sh/chart: vald-v0.0.55
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/version: v0.0.54
app.kubernetes.io/version: v0.0.55
app.kubernetes.io/component: gateway
value: 1e+06
globalDefault: false
Expand Down
Loading

0 comments on commit 2b950ac

Please sign in to comment.