logging: force opensearch replicas to 0
This commit is contained in:
parent
ecf28580b9
commit
b40a995225
@ -2,7 +2,7 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: opensearch-ism-setup-3
|
||||
name: opensearch-ism-setup-4
|
||||
namespace: logging
|
||||
spec:
|
||||
backoffLimit: 3
|
||||
@ -57,3 +57,7 @@ spec:
|
||||
curl -sS -X PUT "${OS_URL}/_index_template/journald-logs" \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d "${journal_template}" >/dev/null
|
||||
|
||||
curl -sS -X PUT "${OS_URL}/_all/_settings" \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{"index":{"number_of_replicas":0}}' >/dev/null
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user