Make Vespa Deployment file as simple as possible (#416)

Make Vespa Deployment file as simple as possible
This commit is contained in:
Yuhong Sun 2023-09-08 00:47:33 -07:00 committed by GitHub
parent 4ae2680384
commit b1fe120021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<services version="1.0" xmlns:deploy="vespa" xmlns:preprocess="properties">
<services version="1.0">
<container id="default" version="1.0">
<document-api/>
<search/>
@ -7,20 +7,20 @@
<server id="default" port="8081"/>
</http>
<nodes>
<node hostalias="node1" />
<node hostalias="danswer-node" />
</nodes>
</container>
<content id="danswer_index" version="1.0">
<redundancy>2</redundancy>
<redundancy>1</redundancy>
<documents>
<document type="danswer_chunk" mode="index" />
</documents>
<nodes>
<node hostalias="node1" distribution-key="0" />
<node hostalias="danswer-node" distribution-key="0" />
</nodes>
<tuning>
<resource-limits>
<!-- Default is 75% but this should be increased for personal computer dockerized deployments -->
<!-- Default is 75% but this should be increased for Dockerized deployments -->
<!-- https://docs.vespa.ai/en/operations/feed-block.html -->
<disk>0.98</disk>
</resource-limits>