Files
jenkins-pipeline/k8s_yaml/elasticsearch-9.2.2/高可用/步骤.md
2025-12-11 11:11:33 +08:00

11 lines
347 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 步骤 1创建 Namespace可选但推荐
kubectl create ns elastic-system
# 步骤 2创建 Headless ServiceStatefulSet 必需)
# es-svc.yaml
# Headless Service 为每个 Pod 提供稳定 DNSes-0.elasticsearch.elastic-system.svc.cluster.local
# 步骤 3创建 StatefulSet3 节点3 个独立 PV
# es-sts.yaml