Easysearch Chart 包更新了,让我们来看看都有哪些变化:
现在让我们用 NodePort 模式部署一下:
# helm search repo infinilabs
NAME CHART VERSION APP VERSION DESCRIPTION
infinilabs/console 0.2.0 1.8.0-1259 A Helm chart for Kubernetes
infinilabs/easysearch 0.2.0 1.6.0-59 A Helm chart for Kubernetes
infinilabs/gateway 0.1.0 1.18.0-1123 A Helm chart for Kubernetes
# cat es-nodeport.yaml
service:
type: NodePort
http: 9200
transport: 9300
httpNodeport: 30920
transNodeport: 30930
# helm install easysearch infinilabs/easysearch -n infini -f es-nodeport.yaml
NAME: easysearch
LAST DEPLOYED: Mon Oct 9 08:38:28 2023
NAMESPACE: infini
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
1. Get the application URL by running these commands:
export NODE_PORT=$(kubectl get --namespace infini -o jsonpath="{.spec.ports[0].nodePort}" services easysearch)
export NODE_IP=$(kubectl get nodes --namespace infini -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
# kubectl get svc -n infini
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
easysearch NodePort 10.43.175.245 <none> 9200:30920/TCP,9300:30930/TCP 25s
# kubectl get pod -n infini
NAME READY STATUS RESTARTS AGE
easysearch-0 1/1 Running 0 40s
# curl -ku'admin:admin' https://10.0.0.1:30920
{
"name" : "easysearch-0",
"cluster_name" : "infinilabs",
"cluster_uuid" : "2cPioaONRVWp6BydbGuXDw",
"version" : {
"distribution" : "easysearch",
"number" : "1.6.0",
"distributor" : "INFINI Labs",
"build_hash" : "e5d1ff9067b3dd696d52c61fbca1f8daed931fb7",
"build_date" : "2023-09-22T00:55:32.292580Z",
"build_snapshot" : false,
"lucene_version" : "8.11.2",
"minimum_wire_lucene_version" : "7.7.0",
"minimum_lucene_index_compatibility_version" : "7.7.0"
},
"tagline" : "You Know, For Easy Search!"
}
INFINI Easysearch 是一个分布式的近实时搜索与分析引擎,核心引擎基于开源的 Apache Lucene。Easysearch 的目标是提供一个轻量级的 Elasticsearch 可替代版本,并继续完善和支持更多的企业级功能。 与 Elasticsearch 相比,Easysearch 更关注在搜索业务场景的优化和继续保持其产品的简洁与易用性。