https://hub.grapps.cn/marketplace/apps/900
helm repo add nfs-subdir-external-provisioner https://charts.grapps.cn helm install nfs-subdir-external-provisioner nfs-subdir-external-provisioner/nfs-subdir-external-provisioner --set nfs.server=10.100.20.211 --set nfs.path=/data/nfs-k8s/es
helm list helm uninstall elasticsearch
# 使用默认values.yaml helm install elasticsearch appstore/elasticsearch --version 19.10.6 # 更新values.yaml参数 helm upgrade elasticsearch appstore/elasticsearch --version 19.10.6 \ --set data.persistence.storageClass=nfs-client # 导出values.yaml文件修改后 helm show values elastic/elasticsearch > values.yaml # 修改后执行 helm upgrade elasticsearch appstore/elasticsearch --version 19.10.6 -f values.yaml
persistence
kubectl get pods --namespace=default -l app=elasticsearch-master -w
helm repo add elastic https://helm.elastic.co helm pull elastic/elasticsearch --version 7.17.3 helm pull elastic/logstash --version 7.17.3 helm pull elastic/filebeat --version 7.17.3 helm pull elastic/kibana --version 7.17.3
helm install elasticsearch elasticsearch -n default
helm upgrade elasticsearch ./elasticsearch -n default -f elasticsearch/values.yaml
helm pull elastic/filebeat --version 7.17.3
es 安装
helm install es elastic/elasticsearch --version 7.10.2 -f elasticsearch/values.yaml -n default
helm upgrade es elastic/elasticsearch --version 7.10.2 -f elasticsearch/values.yaml -n default
helm repo add elastic https://helm.elastic.co helm repo update
helm search repo elastic/elasticsearch --versions
helm uninstall es -n default
密码存储
kubectl create secret generic elasticsearch-pw
--from-literal=elastic=
--namespace=default