logging: force opensearch replicas to 0

This commit is contained in:
Brad Stein 2026-01-09 18:17:02 -03:00
parent ecf28580b9
commit b40a995225

View File

@ -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