설치

helm 설치

helm repo add elastic <https://helm.elastic.co>
helm repo update

<aside> 💡 configmap, service account, role, rolebinding 등 존재하면 안됨

</aside>

elasticsearch 설치

helm install elasticsearch-study elastic/elasticsearch -f /home/sia/workspace/elastic-stack/elasticsearch/values.yaml

# upgrade 시
helm upgrade elasticsearch-study elastic/elasticsearch -f /home/sia/workspace/elastic-stack/elasticsearch/values.yaml

/usr/share/elasticsearch/config/elasticsearch.keystore

values.yaml

# secret만 변경
secret:
  enabled: true
  password: "1234" # generated randomly if not defined

kibana 설치

helm install kvision elastic/kibana -f /home/sia/workspace/elastic-stack/kibana/values.yaml

helm upgrade kvision elastic/kibana -f /home/sia/workspace/elastic-stack/kibana/values.yaml

values.yaml

ingress:
  enabled: true
  className: "nginx"
  pathtype: ImplementationSpecific
  annotations: {}
  kubernetes.io/ingress.class: nginx
  # kubernetes.io/tls-acme: "true"
  hosts:
    - host: elastic-study.sia-service.kr
      paths:
        - path: /

계정 생성

id: elastic
pw: 1234