配置文件

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. Python 匹配字符串开头内容与结尾内容(startswith与endswith)
  2. lwip中dns相关函数gethostbyname()的原理
  3. springboot 拦截器 日志_跟武哥一起学习Spring Boot,一份全面详细的学习教程
  4. 疯狂ios讲义疯狂连载之实现游戏视图控制器
  5. Java 获取linux根目录下的文件夹_Windows支持直接访问Linux子系统文件:你的下一台Linux何必是Linux...
  6. ief12执行一次js才有效_陈列到底多久调一次才有效?
  7. silverlight 二级导航
  8. 机器学习十大经典算法——随机森林
  9. win10最常用dos命令以及win+R即可运行的命令
  10. ISO 27001:2022 中文试译稿
  11. PHP绘制正方形印章,ps绘制一款正方形的个人印章的方法
  12. linux winqq 不能输入中文的解决办法
  13. 第三方支付订单修改金额的踩坑经历
  14. 计算机配件地区限制,原来电脑配件包含这么多信息,不懂可以看看!以后再也不怕被坑...
  15. Tsukuru Tazaki and his Years of Pilgrimage
  16. C语言基础 数字统计
  17. elasticsearch入门笔记
  18. 工程职业伦理_Mooc_2019_期末考试参考答案
  19. 项目-超市会员管理系统
  20. Windows电脑用户都应该知道的好安全软件和防护知识

热门文章

  1. K - Anton and Lines CodeForces - 593B
  2. Oracle IMP-00403
  3. 一个事务中 可以查询自己未提交的数据吗_数据库事务的方方面面
  4. 小型职工工作量c语言,计算机c语言职工工作量统计系统(20页)-原创力文档
  5. oracle symonym_oracle vs. SQL 同义词synonym 别名 alias | 学步园
  6. Selenium 2.0的由来及设计架构(二)
  7. gDebugger 3.1.1 原版+破解
  8. Android Gradle基础实践
  9. 基于Android5.0的Camera Framework源码分析 (三)
  10. C# 语言规范_版本5.0 (第10章 类)