带你读《Elastic Stack 实战手册》之15:——3.4.1.8. ECK 安装(25)

本文涉及的产品
Elasticsearch Serverless通用抵扣包,测试体验金 200元
简介: 带你读《Elastic Stack 实战手册》之15:——3.4.1.8. ECK 安装(25)

《Elastic Stack 实战手册》——三、产品能力——3.4.入门篇——3.4.1.Elastic Stack 安装部署——3.4.1.8. ECK 安装(24) https://developer.aliyun.com/article/1231256



客户端写入数据:


curl -k -u elastic:L733hU98Y467IZMft4DzLq5m \
https://istio.elasticsearch.com:9200/my-index-istio/_doc\?pretty \
-X POST -H "Content-Type:application/json" \
-d '{"name":"tom","age":18}
#返回结果
{
  "_index" : "my-index-istio",
  "_type" : "_doc",
  "_id" : "1",
  "_version" : 1,
  "result" : "created",
  "_shards" : {
    "total" : 2,
    "successful" : 2,
    "failed" : 0
  },
  "_seq_no" : 0,
  "_primary_term" : 1
}
......


客户端查询数据:


curl -k -u elastic:L733hU98Y467IZMft4DzLq5m \
https://istio.elasticsearch.com:9200/my-index-istio/_count\?pretty
#返回结果
{
  "count" : 107,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
  }
}
......

现在外部客户端已经可以通过 HTTPS 访问集群内部的 Elasticsearch 服务了。

清理现场


kubectl delete -f gateway-tls.yaml
kubectl delete -f virtualservice-tls.yaml
kubectl delete -f deploy-eck-istio
kubectl delete namespace istio-demo
helm uninstall -n istio-system istio-base istio-ingress istiod
kubectl delete -f istio-1.11.1/samples/addons
kubectl delete namespace istio-system

参考资料

 

l https://www.elastic.co/cn/blog/introducing-elastic-cloud-on-kubernetes-the-elasticsearch-operator-and-beyond

l https://www.elastic.co/guide/en/cloud-on-k8s/1.7/index.html

l https://help.aliyun.com/knowledge_detail/189287.html

l https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-set-priority.html

l https://www.elastic.co/cn/blog/creating-frozen-indices-with-the-elasticsearch-freeze-index-api

l https://www.elastic.co/cn/blog/significantly-decrease-your-elasticsearch-heap-memory-usage

l https://www.elastic.co/guide/en/elasticsearch/plugins/7.14/repository-s3.html

l https://www.elastic.co/guide/en/cloud-on-k8s/1.7/k8s-service-mesh-istio.html

l https://istio.io/latest/zh/docs/tasks/observability/kiali/

l https://www.elastic.co/guide/en/cloud-on-k8s/1.7/k8s-licensing.html

l https://www.elastic.co/guide/en/cloud-on-k8s/1.7/k8s-autoscaling.html

l https://istio.io/latest/zh/docs/ops/deployment/architecture/

l https://istio.io/latest/zh/docs/concepts/what-is-istio/

 

创作人简介:程治玮,Elastic 认证工程师,关注 Elastic Stack 技术栈,大数据和云原生相关领域。

微信公众号:Se7en的架构笔记

 

 

相关实践学习
以电商场景为例搭建AI语义搜索应用
本实验旨在通过阿里云Elasticsearch结合阿里云搜索开发工作台AI模型服务,构建一个高效、精准的语义搜索系统,模拟电商场景,深入理解AI搜索技术原理并掌握其实现过程。
ElasticSearch 最新快速入门教程
本课程由千锋教育提供。全文搜索的需求非常大。而开源的解决办法Elasricsearch(Elastic)就是一个非常好的工具。目前是全文搜索引擎的首选。本系列教程由浅入深讲解了在CentOS7系统下如何搭建ElasticSearch,如何使用Kibana实现各种方式的搜索并详细分析了搜索的原理,最后讲解了在Java应用中如何集成ElasticSearch并实现搜索。  
相关文章
|
前端开发 Java
|
XML Java 数据库
【Spring】SpringBoot 配置文件
【Spring】SpringBoot 配置文件
|
内存技术
STM32F103 五个时钟源
STM32F103 五个时钟源
884 0
|
Python Windows
Win10安装Python3.9
Win10安装Python3.9
2063 0
申通快递单号查询api接口免费对接调用
申通物流轨迹查询-使用的物流单号和快递单号即可实现查询物流信息。 目前提供的快递查询接口有免费版和收费版,目前比较常用的是菜鸟和快递鸟接口。 快递鸟接口免费不限量对接 接口规则 (1)、查询接口支持按照运单号查询(单个查询,并发不超过10个/S)。
|
自然语言处理 索引 算法
HanLP分词命名实体提取详解
文本挖掘是抽取有效、新颖、有用、可理解的、散布在文本文件中的有价值知识,并且利用这些知识更好地组织信息的过程。对于文本来说,由于语言组织形式各异,表达方式多样,文本里面提到的很多要素,如人名、手机号、组织名、地名等都称之为实体。
7792 0
|
9月前
|
机器学习/深度学习 编解码 计算机视觉
RT-DETR改进策略【Backbone/主干网络】| 2023 U-Net V2 替换骨干网络,加强细节特征的提取和融合
RT-DETR改进策略【Backbone/主干网络】| 2023 U-Net V2 替换骨干网络,加强细节特征的提取和融合
474 10
RT-DETR改进策略【Backbone/主干网络】| 2023 U-Net V2 替换骨干网络,加强细节特征的提取和融合
|
Java API Spring
Springfox Swagger3从入门案例
本文通过一个简单的案例介绍了如何在Spring Boot项目中使用Springfox Swagger3来生成和配置API文档,包括添加依赖、创建配置类、编写控制器类以及访问Swagger UI界面。
360 0
Springfox Swagger3从入门案例
|
自然语言处理 算法 Windows
HanLP — 命名实体识别
HanLP — 命名实体识别
356 1
|
JSON 前端开发 Java
为什么参数上必须加@RequestBody?
为什么参数上必须加@RequestBody?
478 0

热门文章

最新文章