ansible v2 (release 3.4.9)
This commit is contained in:
@@ -6,6 +6,7 @@ namespace=$1
|
||||
export ES_NODEPORT=`kubectl -n ${namespace} get svc elasticsearch -o jsonpath='{.spec.ports[*].nodePort}'`
|
||||
|
||||
export MASTER_IP=`kubectl get node -o wide | grep control-plane | awk '{print $6}'`
|
||||
echo $MASTER_IP
|
||||
|
||||
export NUM_SHARDS=2
|
||||
export NUM_REPLICAS=1
|
||||
@@ -2097,7 +2098,7 @@ curl $PARAM -X PUT $PROTO'://'"${MASTER_IP}"':'"${ES_NODEPORT}"'/_template/jspd_
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"keyword": {
|
||||
"ignore_above": 102400,
|
||||
"ignore_above": 32766,
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
@@ -2641,7 +2642,7 @@ curl $PARAM -X PUT $PROTO'://'"${MASTER_IP}"':'"${ES_NODEPORT}"'/_template/jspd_
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"keyword": {
|
||||
"ignore_above": 102400,
|
||||
"ignore_above": 32766,
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user