--- title: elastic helm 部署 tags: Elasticsearch description: View the slide with "Slide Mode". --- # elastic helm 部署 <!-- Put the link to this slide here so people can follow --> ## 將 images 調整成私人repo ## 快速測試還沒有 `pv` - 將elastic的 persistent 改為 false ## 一個節點只會有一個 `pod` - [討論區]( https://kubernetes.io/zh/docs/concepts/configuration/assign-pod-node/#%E6%B0%B8%E8%BF%9C%E4%B8%8D%E6%94%BE%E7%BD%AE%E5%9C%A8%E7%9B%B8%E5%90%8C%E8%8A%82%E7%82%B9) - 概念:PodAntiAffinity規則和topologyKey: "kubernetes.io/hostname" ## 將 mount 的資料,分成data與logs的檔案結構 ```yaml= # vim templates/statefulset.yaml - name: "{{ template "elasticsearch.uname" . }}" mountPath: /usr/share/elasticsearch/es-data ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up