chore(helm): update quickwit file names
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
e8de4ed5f5
commit
6d1eb10ab5
3 changed files with 56 additions and 2 deletions
|
|
@ -0,0 +1,40 @@
|
|||
#
|
||||
# Index config file for gh-archive dataset.
|
||||
#
|
||||
|
||||
version: 0
|
||||
|
||||
index_id: fetchevent
|
||||
|
||||
doc_mapping:
|
||||
mode: strict
|
||||
field_mappings:
|
||||
- name: method
|
||||
type: text
|
||||
tokenizer: default
|
||||
record: position
|
||||
- name: url
|
||||
type: text
|
||||
tokenizer: default
|
||||
record: position
|
||||
- name: request
|
||||
type: text
|
||||
tokenizer: default
|
||||
record: position
|
||||
- name: response
|
||||
type: text
|
||||
tokenizer: default
|
||||
record: position
|
||||
- name: status
|
||||
type: i64
|
||||
indexed: true
|
||||
fast: true
|
||||
- name: timestamp
|
||||
type: i64
|
||||
fast: true
|
||||
- name: duration
|
||||
type: i64
|
||||
fast: true
|
||||
|
||||
search_settings:
|
||||
default_search_fields: [url, request, response]
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# Source config file.
|
||||
#
|
||||
|
||||
source_id: fetch-kafka
|
||||
source_type: kafka
|
||||
params:
|
||||
topic: quickwit
|
||||
client_params:
|
||||
group.id: fetch-consumer
|
||||
bootstrap.servers: '{{ .Values.global.kafka.kafkaHost }}:{{ .Values.global.kafka.kafkaPort }}'
|
||||
{{- if eq .Values.global.kafka.kafkaUseSsl "true" }}
|
||||
security.protocol: SSL
|
||||
{{- end}}
|
||||
|
|
@ -35,12 +35,12 @@ spec:
|
|||
set -x
|
||||
|
||||
configs=""
|
||||
configs="${configs} fetch"
|
||||
configs="${configs} fetchevent"
|
||||
configs="${configs} graphql"
|
||||
configs="${configs} pageevent"
|
||||
for config in ${configs};do
|
||||
quickwit index create --index-config config/index-config-${config}.yaml --config config/s3-config.yaml || true
|
||||
quickwit source create --index fetchevent --source-config config/source-${config}.yaml --config config/s3-config.yaml || true
|
||||
quickwit source create --index ${config} --source-config config/source-${config}.yaml --config config/s3-config.yaml || true
|
||||
done
|
||||
volumeMounts:
|
||||
- name: dbmigrationscript
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue