zoukankan      html  css  js  c++  java
  • 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
    

      

  • 相关阅读:
    nexus 手动更改 私服包
    maven 构建时 错误: 程序包netscape.javascript不存在
    RocketMQ
    NSQ
    beego 实现API自动化文档
    动态追踪技术漫谈
    go vendor管理Golang项目依赖
    consul介绍
    golang rpc介绍
    golang 使用os/exec配合context实现的超时机制
  • 原文地址:https://www.cnblogs.com/leleyao/p/14988778.html
Copyright © 2011-2022 走看看