ECK部署cluster

apiVersion: elasticsearch.k8s.elastic.co/v1beta1
kind: Elasticsearch
Metadata:
  name: elasticsearch-7x6x2
  namespace: devops
spec:
  image: hub.pri.ibanyu.com/library/elasticsearch:7.6.2
  version: 7.6.2
  nodeSets:
  - name: node
    count: 3
    volumeClaimTemplates:
    - Metadata:
        name: elasticsearch-data 
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 700Gi
        storageClassName: local-storage
    config:
      node.master: true
      node.data: true
      node.ingest: true
      thread_pool.write.queue_size: 3000
      reindex.remote.whitelist: "10.93.151.201:9200"
    podTemplate:
      Metadata:
        labels:
          es: "7"
          elk: "true"
      spec:
        nodeselector:
          elk: "7.6"
        initContainers:
        - name: sysctl
          securityContext:
            privileged: true
          command: ['sh', '-c', 'sysctl -w vm.max_map_count=262144']
        containers:
        - name: elasticsearch
          env:
          - name: xpack.security.enabled
            value: "false"
          - name: READInesS_PROBE_PROTOCOL
            value: http
          - name: ES_JAVA_OPTS
            value: -xms32256m -Xmx32256m
          resources:
            requests:
              memory: 64Gi
              cpu: 30
            limits:
              memory: 90Gi
              cpu: 45
  http:
    tls:
      selfSignedCertificate:
        disabled: true

  

相关文章

TCP/IP套接字登录方法是MySQL在一切服务平台都提供的一种登录...
easy-rule规则引擎最佳落地
Elasticsearch 是一个分布式、高扩展、高实时的搜索与数据分...
最近壹哥的一个学生,在利用spring-data-elasticsearch访问E...
java 操作elasticsearch详细总结
原文链接:http://www.ruanyifeng.com/blog/2017/08/elastic...