Skip to content

Commit

Permalink
🍱 Add agent standalone values
Browse files Browse the repository at this point in the history
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
  • Loading branch information
rinx committed May 12, 2020
1 parent 436215f commit fd1ce98
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 1 deletion.
19 changes: 18 additions & 1 deletion charts/vald/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add Vald Helm repository

Run the following command to install the chart,

$ helm install --generate-name vald/vald
$ helm install vald-cluster vald/vald


Configuration
Expand Down Expand Up @@ -47,3 +47,20 @@ Configuration
### Parameters

{{ template "chart.valuesTable" . }}


Miscellaneous
---

### Standalone Vald agent NGT deployment

Each component can be disabled by setting the value `false` to the `[component].enabled` field.
This is useful for deploying only Vald agent NGT pods.

There is an example yaml [values-agent-ngt-standalone.yaml][agent-ngt-standalone-yaml] to deploy standalone agent NGT.
Please run the following command to install the chart with this values yaml,

$ helm repo add vald https://vald.vdaas.org/charts
$ helm install --values values-agent-ngt-standalone.yaml vald-agent-ngt vald/vald

agent-ngt-standalone-yaml: ./values-agent-ngt-standalone.yaml
44 changes: 44 additions & 0 deletions charts/vald/values-agent-ngt-standalone.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#
# Copyright (C) 2019-2020 Vdaas.org Vald team ( kpango, rinx, kmrmt )
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

agent:
ngt:
auto_index_duration_limit: 30m
auto_index_check_duration: 1m
auto_index_length: 100
dimension: 4096
distance_type: l2
object_type: float
creation_edge_size: 20
search_edge_size: 10

gateway:
enabled: false

discoverer:
enabled: false

compressor:
enabled: false

backupManager:
enabled: false

indexManager:
enabled: false

meta:
enabled: false

0 comments on commit fd1ce98

Please sign in to comment.