Skip to content

Commit

Permalink
refactor index manager service add index service API to expose index …
Browse files Browse the repository at this point in the history
…informations (#2525) (#2532)

Signed-off-by: kpango <[email protected]>
Co-authored-by: Yusuke Kato <[email protected]>
  • Loading branch information
vdaas-ci and kpango authored Jul 24, 2024
1 parent 64fa41a commit 5b90ac8
Show file tree
Hide file tree
Showing 468 changed files with 9,865 additions and 7,668 deletions.
74 changes: 74 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,47 @@
"version": "0.2",
"language": "en",
"words": [
"ACCESSS",
"AQUASECURITY",
"AUTOBUILD",
"BUILDX",
"Burstable",
"Capi",
"Errorf",
"FAISS",
"GHACTION",
"GOLANGCILINT",
"GOMAXPROCS",
"Godoc",
"Infof",
"KUBELINTER",
"LANGUAGETOOL",
"Milli",
"ONNX",
"OTEL",
"PROTOBUF",
"REVIEWDOG",
"Roundtripper",
"SARIF",
"SOFTPROPS",
"Structs",
"TELEPRESENCE",
"VALD",
"VALDCLI",
"VHOR",
"Vald",
"Vectorizer",
"accesslog",
"achive",
"addrs",
"apiserver",
"attirbute",
"bbolt",
"boudary",
"brandguidelines",
"buildbase",
"chatops",
"chrono",
"circuitbreaker",
"cloudstorage",
"clusterrole",
Expand All @@ -32,38 +51,67 @@
"contributorsrc",
"conv",
"crds",
"crlfmt",
"ctxio",
"daemonset",
"deepsource",
"devcontainer",
"devel",
"envoyproxy",
"errdetails",
"errgroup",
"facebookresearch",
"faiss",
"fastime",
"fuid",
"gache",
"getobject",
"getstarted",
"gitfiles",
"gofumpt",
"goimports",
"golangci",
"goleak",
"golines",
"gongt",
"gonum",
"gorules",
"gotest",
"gotests",
"gotmpl",
"hadolint",
"helmignore",
"httputil",
"icfg",
"initcontainer",
"innerproduct",
"ioutil",
"jaccard",
"japansearch",
"kosarak",
"kpango",
"kubelinter",
"kustomization",
"kvsdb",
"libhdf",
"loadbalancer",
"loadtest",
"lycorp",
"maxprocs",
"minio",
"mnist",
"multiapis",
"multicluster",
"nanos",
"nbits",
"networkpolicy",
"nlist",
"normalizedangle",
"normalizedcosine",
"nosql",
"nytimes",
"oneof",
"onnx",
"otel",
"otlp",
"pogreb",
Expand All @@ -72,30 +120,56 @@
"priorityclass",
"profefe",
"promtail",
"prost",
"protobuf",
"protoc",
"protos",
"pyroscope",
"readreplica",
"rebalance",
"rebalancing",
"replicasets",
"rerank",
"retrive",
"reviewdog",
"rustc",
"rustup",
"serviceaccount",
"singleflight",
"statefulset",
"steamsearch",
"streaminsert",
"structs",
"subtests",
"testdata",
"textlintrc",
"timeutil",
"traefik",
"upsert",
"upserted",
"urlopener",
"usecase",
"vald",
"valdbenchmarkjob",
"valdbenchmarkoperatorrelease",
"valdbenchmarkscenario",
"valdhelmoperatorrelease",
"valdhelmopratorreleases",
"valdmirrortarget",
"valdmirrortargets",
"valdrelease",
"vbor",
"vdaas",
"vdctl",
"vectorizer",
"vectorizing",
"vhor",
"vqueue",
"vtproto",
"werr",
"whitesource",
"yahoojapan",
"yamlfmt",
"zstd"
],
"ignoreWords": [
Expand Down
27 changes: 20 additions & 7 deletions .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,35 @@ enabled = true

[analyzers.meta]
dockerfile_paths = [
"dockers/agent/ngt/Dockerfile",
"dockers/discoverer/k8s/Dockerfile",
"dockers/agent/core/agent/Dockerfile",
"dockers/agent/core/faiss/Dockerfile",
"dockers/agent/core/ngt/Dockerfile",
"dockers/agent/sidecar/Dockerfile",
"dockers/gateway/lb/Dockerfile",
"dockers/buildbase/Dockerfile",
"dockers/ci/base/Dockerfile",
"dockers/dev/Dockerfile",
"dockers/discoverer/k8s/Dockerfile",
"dockers/gateway/filter/Dockerfile",
"dockers/gateway/lb/Dockerfile",
"dockers/gateway/mirror/Dockerfile",
"dockers/index/job/correction/Dockerfile",
"dockers/index/job/creation/Dockerfile",
"dockers/index/job/readreplica/rotate/Dockerfile",
"dockers/index/job/save/Dockerfile",
"dockers/index/operator/Dockerfile",
"dockers/manager/index/Dockerfile",
"dockers/operator/helm/Dockerfile",
"dockers/ci/base/Dockerfile",
"dockers/dev/Dockerfile",
"dockers/readreplica/job/readreplica/rotate/Dockerfile",
"dockers/tools/benchmark/job/Dockerfile",
"dockers/tools/benchmark/operator/Dockerfile",
"dockers/tools/cli/loadtest/Dockerfile"
]

trusted_registries = [
"docker.io",
"hub.docker.com",
"ghcr.io/vdaas/vald"
"gcr.io/distroless",
"ghcr.io/vdaas/vald",
"hub.docker.com"
]

[[analyzers]]
Expand Down
28 changes: 20 additions & 8 deletions .gitfiles
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
.github/workflows/dockers-agent-sidecar-image.yml
.github/workflows/dockers-benchmark-job-image.yml
.github/workflows/dockers-benchmark-operator-image.yaml
.github/workflows/dockers-buildbase-image.yml
.github/workflows/dockers-ci-container-image.yml
.github/workflows/dockers-dev-container-image.yml
.github/workflows/dockers-discoverer-k8s-image.yml
Expand Down Expand Up @@ -161,8 +162,6 @@ apis/grpc/v1/filter/egress/egress_filter.pb.go
apis/grpc/v1/filter/egress/egress_filter_vtproto.pb.go
apis/grpc/v1/filter/ingress/ingress_filter.pb.go
apis/grpc/v1/filter/ingress/ingress_filter_vtproto.pb.go
apis/grpc/v1/manager/index/index_manager.pb.go
apis/grpc/v1/manager/index/index_manager_vtproto.pb.go
apis/grpc/v1/mirror/mirror.go
apis/grpc/v1/mirror/mirror.pb.go
apis/grpc/v1/mirror/mirror_vtproto.pb.go
Expand All @@ -177,6 +176,8 @@ apis/grpc/v1/vald/filter.pb.go
apis/grpc/v1/vald/filter_vtproto.pb.go
apis/grpc/v1/vald/flush.pb.go
apis/grpc/v1/vald/flush_vtproto.pb.go
apis/grpc/v1/vald/index.pb.go
apis/grpc/v1/vald/index_vtproto.pb.go
apis/grpc/v1/vald/insert.pb.go
apis/grpc/v1/vald/insert_vtproto.pb.go
apis/grpc/v1/vald/object.pb.go
Expand All @@ -197,12 +198,12 @@ apis/proto/v1/agent/sidecar/sidecar.proto
apis/proto/v1/discoverer/discoverer.proto
apis/proto/v1/filter/egress/egress_filter.proto
apis/proto/v1/filter/ingress/ingress_filter.proto
apis/proto/v1/manager/index/index_manager.proto
apis/proto/v1/mirror/mirror.proto
apis/proto/v1/payload/payload.proto
apis/proto/v1/rpc/errdetails/error_details.proto
apis/proto/v1/vald/filter.proto
apis/proto/v1/vald/flush.proto
apis/proto/v1/vald/index.proto
apis/proto/v1/vald/insert.proto
apis/proto/v1/vald/object.proto
apis/proto/v1/vald/remove.proto
Expand All @@ -214,12 +215,12 @@ apis/swagger/v1/agent/sidecar/sidecar.swagger.json
apis/swagger/v1/discoverer/discoverer.swagger.json
apis/swagger/v1/filter/egress/egress_filter.swagger.json
apis/swagger/v1/filter/ingress/ingress_filter.swagger.json
apis/swagger/v1/manager/index/index_manager.swagger.json
apis/swagger/v1/mirror/mirror.swagger.json
apis/swagger/v1/payload/payload.swagger.json
apis/swagger/v1/rpc/errdetails/error_details.swagger.json
apis/swagger/v1/vald/filter.swagger.json
apis/swagger/v1/vald/flush.swagger.json
apis/swagger/v1/vald/index.swagger.json
apis/swagger/v1/vald/insert.swagger.json
apis/swagger/v1/vald/object.swagger.json
apis/swagger/v1/vald/remove.swagger.json
Expand All @@ -228,6 +229,7 @@ apis/swagger/v1/vald/update.swagger.json
apis/swagger/v1/vald/upsert.swagger.json
assets/docs/guides/observability-configuration/architecture.png
assets/docs/guides/operations/grafana-example.png
assets/docs/guides/read-replica-and-rotator/architecture.png
assets/docs/overview/component/agent/agent.drawio
assets/docs/overview/component/agent/ngt.png
assets/docs/overview/component/agent/sidecar_backup.png
Expand Down Expand Up @@ -516,6 +518,7 @@ dockers/agent/core/ngt/Dockerfile
dockers/agent/core/ngt/README.md
dockers/agent/sidecar/Dockerfile
dockers/agent/sidecar/README.md
dockers/buildbase/Dockerfile
dockers/ci/base/Dockerfile
dockers/ci/base/README.md
dockers/dev/Dockerfile
Expand All @@ -536,6 +539,7 @@ dockers/manager/index/Dockerfile
dockers/manager/index/README.md
dockers/operator/helm/Dockerfile
dockers/operator/helm/README.md
dockers/readreplica/job/readreplica/rotate/Dockerfile
dockers/template.md
dockers/tools/benchmark/job/Dockerfile
dockers/tools/benchmark/operator/Dockerfile
Expand All @@ -556,6 +560,7 @@ docs/api/upsert.md
docs/contributing/coding-style.md
docs/contributing/contributing-guide.md
docs/contributing/development.md
docs/contributing/reviewer-guideline.md
docs/contributing/unit-test-guideline.md
docs/overview/about-vald.md
docs/overview/architecture.md
Expand All @@ -571,8 +576,8 @@ docs/performance/benchmark.md
docs/performance/continuous-benchmark.md
docs/performance/loadtest.md
docs/performance/tuning-search-performance.md
docs/support/FAQ.md
docs/support/contacts.md
docs/support/faq.md
docs/troubleshooting/README.md
docs/troubleshooting/client-side.md
docs/troubleshooting/mirror-gateway.md
Expand All @@ -595,6 +600,7 @@ docs/user-guides/mirroring-configuration.md
docs/user-guides/network-policy.md
docs/user-guides/observability-configuration.md
docs/user-guides/operations.md
docs/user-guides/read-replica-and-rotator.md
docs/user-guides/sdks.md
docs/user-guides/upgrade-cluster.md
example/client/agent/main.go
Expand Down Expand Up @@ -686,6 +692,7 @@ hack/benchmark/internal/starter/gateway/vald/vald_test.go
hack/benchmark/internal/starter/starter.go
hack/benchmark/metrics/metrics.go
hack/benchmark/src/singleflight/singleflight_bench_test.go
hack/docker/gen/main.go
hack/git/hooks/pre-commit
hack/go.mod.default
hack/gorules/rules.go
Expand Down Expand Up @@ -1016,7 +1023,6 @@ internal/hash/hash.go
internal/hash/hash_test.go
internal/info/info.go
internal/info/info_bench_test.go
internal/info/info_test.go
internal/info/option.go
internal/info/option_test.go
internal/io/copy.go
Expand Down Expand Up @@ -1820,6 +1826,14 @@ renovate.json
rust/Cargo.lock
rust/Cargo.toml
rust/bin/agent/Cargo.toml
rust/bin/agent/src/handler.rs
rust/bin/agent/src/handler/common.rs
rust/bin/agent/src/handler/index.rs
rust/bin/agent/src/handler/insert.rs
rust/bin/agent/src/handler/remove.rs
rust/bin/agent/src/handler/search.rs
rust/bin/agent/src/handler/update.rs
rust/bin/agent/src/handler/upsert.rs
rust/bin/agent/src/main.rs
rust/libs/ngt-rs/Cargo.toml
rust/libs/ngt-rs/build.rs
Expand All @@ -1838,8 +1852,6 @@ rust/libs/proto/src/filter.egress.v1.tonic.rs
rust/libs/proto/src/filter.ingress.v1.rs
rust/libs/proto/src/filter.ingress.v1.tonic.rs
rust/libs/proto/src/lib.rs
rust/libs/proto/src/manager.index.v1.rs
rust/libs/proto/src/manager.index.v1.tonic.rs
rust/libs/proto/src/mirror.v1.rs
rust/libs/proto/src/mirror.v1.tonic.rs
rust/libs/proto/src/payload.v1.rs
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ assignees: ""

<!--- Please change the versions below along with your environment -->

- Go Version: 1.22.3
- Go Version: 1.22.5
- Rust Version: 1.77.2
- Docker Version: 20.10.8
- Kubernetes Version: v1.30.0
- NGT Version: 2.2.1
- Kubernetes Version: v1.30.3
- NGT Version: 2.2.3
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/security_issue_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ assignees: ""

<!--- Please change the versions below along with your environment -->

- Go Version: 1.22.3
- Go Version: 1.22.5
- Rust Version: 1.77.2
- Docker Version: 20.10.8
- Kubernetes Version: v1.30.0
- NGT Version: 2.2.1
- Kubernetes Version: v1.30.3
- NGT Version: 2.2.3
6 changes: 3 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

<!--- Please change the versions below along with your environment -->

- Go Version: 1.22.3
- Go Version: 1.22.5
- Rust Version: 1.77.2
- Docker Version: 20.10.8
- Kubernetes Version: v1.30.0
- NGT Version: 2.2.1
- Kubernetes Version: v1.30.3
- NGT Version: 2.2.3

### Checklist

Expand Down
Loading

0 comments on commit 5b90ac8

Please sign in to comment.