配置文件

elasticsearch.yml
cluster.name: "docker-cluster"
network.host: 0.0.0.0

jvm.options## JVM configuration################################################################
## IMPORTANT: JVM heap size
################################################################
##
## You should always set the min and max JVM heap
## size to the same value. For example, to set
## the heap to 4 GB, set:
##
## -Xms4g
## -Xmx4g
##
## See https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html
## for more information
##
################################################################# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space-Xms1g
-Xmx1g################################################################
## Expert settings
################################################################
##
## All settings below this section are considered
## expert settings. Don't tamper with them unless
## you understand what you are doing
##
################################################################## GC configuration
8-13:-XX:+UseConcMarkSweepGC
8-13:-XX:CMSInitiatingOccupancyFraction=75
8-13:-XX:+UseCMSInitiatingOccupancyOnly## G1GC Configuration
# NOTE: G1 GC is only supported on JDK version 10 or later
# to use G1GC, uncomment the next two lines and update the version on the
# following three lines to your version of the JDK
# 10-13:-XX:-UseConcMarkSweepGC
# 10-13:-XX:-UseCMSInitiatingOccupancyOnly
14-:-XX:+UseG1GC
14-:-XX:G1ReservePercent=25
14-:-XX:InitiatingHeapOccupancyPercent=30## JVM temporary directory
-Djava.io.tmpdir=${ES_TMPDIR}## heap dumps# generate a heap dump when an allocation from the Java heap fails
# heap dumps are created in the working directory of the JVM
-XX:+HeapDumpOnOutOfMemoryError# specify an alternative path for heap dumps; ensure the directory exists and
# has sufficient space
-XX:HeapDumpPath=data# specify an alternative path for JVM fatal error logs
-XX:ErrorFile=logs/hs_err_pid%p.log## JDK 8 GC logging
8:-XX:+PrintGCDetails
8:-XX:+PrintGCDateStamps
8:-XX:+PrintTenuringDistribution
8:-XX:+PrintGCApplicationStoppedTime
8:-Xloggc:logs/gc.log
8:-XX:+UseGCLogFileRotation
8:-XX:NumberOfGCLogFiles=32
8:-XX:GCLogFileSize=64m# JDK 9+ GC logging
9-:-Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m

环境变量

"discovery.type=single-node"
ES_JAVA_OPTS="-Xms256m -Xmx512m"

挂载存储

/usr/share/elasticsearch/data

/usr/share/elasticsearch/config/elasticsearch.yml


/usr/share/elasticsearch/config/jvm.options



其他默认。创建

kubesphere部署elasticsearch7.13.4相关推荐

  1. CentOS部署ElasticSearch7.6.1集群

    本文基于CentOS7.6,部署ElasticSearch7.6.1,详细过程如下: 一.准备工作 1.准备机器 准备3台机器,安装CentOS7.6.ip计划如下: 192.168.2.11 es- ...

  2. 阿里云服务器CentOs中安装elasticsearch7.13.1

    使用了xshell和xftp 首先在elasticsearch的官网上下载linux环境下的安装包:官网下载地址 确定好elasticsearch将要安装位置,本人这里是/usr/environmen ...

  3. ElasticSearch环境搭建 ElasticSearch-Header安装 分词器安装 ElasticSearch7.13.2 集成SpringBoot

    ES 学习笔记 致敬kuangshen ES安装 Linux集群安装 1.解压安装包 #以7.13.2为例 tar zxvf elasticsearch-7.13.2-linux-x86_64.tar ...

  4. centos7 最小安装 ELK7.9.0 生产部署 elasticsearch7.9.0 + kibana7.9.0 一键部署

    ##(ELK7.9.0生产部署 elasticsearch7.9) 1. 软件下载 百度网盘下载,官方下载太慢了 链接: https://pan.baidu.com/s/1LGFJnIYghJDLAh ...

  5. 基于Kubeadm部署Kubernetes1.13.3 HA 高可用集群

    Table of Contents 目录 基于Kubeadm部署Kubernetes1.13.3 HA 高可用集群 01. 部署目的 1.1 Kubernetes的特性 1.2 贴微服务,开发环境快速 ...

  6. elasticsearch 客户端工具_ELK集群部署 - elasticsearch-7.9.3

    介绍: Elasticsearch(ES) 是个开源分布式搜索引擎,提供搜集.分析.存储数据三大功能.它的特点有:分布式,零配置,自动发现,索引自动分片,索引副本机制,restful风格接口,多数据源 ...

  7. 运维(39) 通过KubeSphere部署SpringBoot到K8S案例 DevOps

    文章目录 一.创建`DevOps项目` 二.DevOps凭证 1.gitee仓库认证`gitee-auth` 2.阿里云docker仓库认证`aliyun-docker-registry-auth` ...

  8. 使用 KubeSphere 部署 Halo 开源博客系统

    Halo 简介 Halo 是一款现代化的开源博客/CMS系统,具有快捷部署和较多漂亮主题模版的特性,深受很多用户喜欢,Halo 还提供了完善的 Content API 和 Admin API,这让用户 ...

  9. KubeSphere部署项目

    应用部署需要关注的信息[应用部署三要素] 1.应用的部署方式 2.应用的数据挂载(数据,配置文件) 3.应用的可访问性 1.部署MySQL 1.mysql容器启动 my.cnf docker run ...

最新文章

  1. 自然语言处理(NLP)之英文单词词性还原
  2. VTK:图表之GraphToPolyData
  3. Fletcher-Reevers Conjugate Descent和Steepest Descent两种算法中伪代码的区别
  4. Meerkat放弃直播视频社交业务
  5. mysql sqlserver schema_MySQL数据库数据迁移到SQLserver
  6. dentity在Java里是什么意思_注释@Id和@GeneratedValue(strategy = GenerationType.IDENTITY)的用途是什么?为什么世代类型是身份?...
  7. 小汤学编程之JAVA番外篇——Properties工具类
  8. linux nginx django,如何在Linux下使用Nginx部署Django项目
  9. opencv 读取、显示、保存视频
  10. pytorch中hook的使用
  11. python中len用法_python中字典len()的用法
  12. JSON格式转换工具
  13. Dev C++中编译问题
  14. Java爬虫爬取京东商城
  15. 利用MATLAB实现对一幅彩色图像的高斯滤波(不采用MATLAB函数)。
  16. 怎么让代码的逻辑更清晰?
  17. 中国未来5年最“吃香”的4大行业,市场需求大,堪比铁饭碗!
  18. 达人评测 i7 12700F和i5 12400F区别 i7 12700F和i5 12400F对比
  19. 网络硬件三剑客集线器交换机路由器
  20. XLORE2:大规模跨语言知识图谱构建与应用

热门文章

  1. 0x07.基本算法 — 贪心
  2. java spring框架 注解_史上最全的java spring注解
  3. huffman java_详解Huffman编码算法之Java实现
  4. SOJ 4543 4542
  5. javascript 实现页面显示当前时间 动态读秒
  6. 5分钟教你Windows 10中将“运行”固定到开始菜单
  7. PHP常用类型判断函数
  8. SQL Server 中,实现 varbinary 与 varchar 类型之间的数据转换
  9. iPhone SDK Examples
  10. php各种编码集详解和在什么情况下进行使用 [php 字符集 显示]