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

简介: 带你读《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并实现搜索。  
相关文章
|
Python Windows
Win10安装Python3.9
Win10安装Python3.9
2521 0
|
机器学习/深度学习 编解码 计算机视觉
RT-DETR改进策略【Backbone/主干网络】| 2023 U-Net V2 替换骨干网络,加强细节特征的提取和融合
RT-DETR改进策略【Backbone/主干网络】| 2023 U-Net V2 替换骨干网络,加强细节特征的提取和融合
796 10
RT-DETR改进策略【Backbone/主干网络】| 2023 U-Net V2 替换骨干网络,加强细节特征的提取和融合
|
JSON Java Maven
application.properties 文件和 application.yml 文件区别以及加载顺序
application.properties 文件和 application.yml 文件区别以及加载顺序
437 0
|
Python
python-logging全局日志配置-滚动删除,只保存最近7天的日志,按级别存入不同文件
最近有这样一个需求,需要记录一下用户行为,和记下一些错误日志,放入指定文件夹里不同的文件下,方便后续debug。我决定采用python logging模块。并且使用配置文件,并做一个全局的globalLog.py来使用logging。 (关键词:logging,TimedRotatingFileHandler)
1227 0
python-logging全局日志配置-滚动删除,只保存最近7天的日志,按级别存入不同文件
|
SQL 自然语言处理 索引
DSL的诞生 | 复杂sql转成Elasticsearch DSL深入详解
源自死磕ElasticsearchQQ群(626036393)中的一个问题: 问题如下: where (position=ES or work=ES or content=ES) and academic=本科 and (city=北京 or city=深圳) 1 怎么构建ES的查询条件? 我的问题拆解与实现如下:
DSL的诞生 | 复杂sql转成Elasticsearch DSL深入详解
Java 判断字符串是否为空的四种方法
Java 判断字符串是否为空的四种方法
|
SQL 存储 分布式计算
「Hive进阶篇」万字长文超详述hive企业级优化
肝了几个晚上,梳理总结了一份万字长文超详述hive企业级优化文章,也整理了一份hive优化总结思维导图和hive优化详细PDF文档,欢迎阅读。毕业几年了才想起以前大学时光创作的阿里云博客,借着10.1号祝贺祖国昌荣繁盛,庆祝国庆假期到来,重新拾起来,后续会在大数据技术领域创作发力,持续更新优质好文,欢迎关注。
「Hive进阶篇」万字长文超详述hive企业级优化
|
存储 数据采集 机器学习/深度学习
Prophet模型的简介以及案例分析(下)
Prophet模型的简介以及案例分析(下)
|
JSON 算法 安全
Spring Boot 如何使用 JWT 进行认证和授权
Spring Boot 如何使用 JWT 进行认证和授权

热门文章

最新文章