You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
312 B
7 lines
312 B
#!/bin/bash
|
|
for i in $(ls ./baseImage_yamls/启动ES和kibana/初始化ES索引/es_index/);
|
|
do
|
|
setting=$(cat ./baseImage_yamls/启动ES和kibana/初始化ES索引/es_index/$i)
|
|
#30092 是k8s的es-service 的nodePort
|
|
curl -H "Content-Type: application/json" -XPUT "http://localhost:30092/$i" -d "$setting"
|
|
done
|
|
|