Deploy ECK in your Kubernetes cluster
Deploy ECK in your Kubernetes cluster | Elastic Cloud on Kubernetes [2.1] | Elastic
部署 Elastic Stack
1. 安装ElasticSearch
1.Install custom resource definitions and the operator with its RBAC rules:
kubectl create -f https://download.elastic.co/downloads/eck/1.9.1/crds.yaml kubectl apply -f https://download.elastic.co/downloads/eck/1.9.1/operator.yaml
2. Monitor the operator logs:
kubectl -n elastic-system logs -f statefulset.apps/elastic-operator
3. 创建eck 集群
cat <<EOF | kubectl apply -f -
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: quickstart
spec:
version: 7.17.0
nodeSets:
- name: default
count: 1
config:
node.store.allow_mmap: false
EOF
kubectl -n es get elasticsearch kubectl logs -f quickstart-es-default-0
5. 获取

本文档详细介绍了如何在Kubernetes集群中部署ElasticCloud on Kubernetes (ECK),包括Elasticsearch、Kibana的安装与配置,以及如何通过自定义Docker镜像安装IK中文分词器。此外,还提供了禁用TLS、配置Ingress以访问Elasticsearch集群的方法,并给出了监控ES集群的提示。
最低0.47元/天 解锁文章
1770

被折叠的 条评论
为什么被折叠?



