# helm search repo infinilabsNAME CHART VERSION APP VERSION DESCRIPTIONinfinilabs/console 0.2.0 1.8.0-1259 A Helm chart for Kubernetesinfinilabs/easysearch 0.2.0 1.6.0-59 A Helm chart for Kubernetesinfinilabs/gateway 0.1.0 1.18.0-1123 A Helm chart for Kubernetes
# cat es-nodeport.yamlservice: type: NodePort http: 9200 transport: 9300 httpNodeport: 30920 transNodeport: 30930
# helm install easysearch infinilabs/easysearch -n infini -f es-nodeport.yamlNAME: easysearchLAST DEPLOYED: Mon Oct 9 08:38:28 2023NAMESPACE: infiniSTATUS: deployedREVISION: 1TEST SUITE: NoneNOTES: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 infiniNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGEeasysearch NodePort 10.43.175.245 <none> 9200:30920/TCP,9300:30930/TCP 25s
# kubectl get pod -n infiniNAME READY STATUS RESTARTS AGEeasysearch-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!"}
评论