freeleaps-ops/cluster/manifests/freeleaps-data-platform/doris/deploy.sh

16 lines
550 B
Bash
Raw Normal View History

2025-05-09 02:14:16 +00:00
#!/bin/bash
# 创建命名空间
kubectl create namespace freeleaps-data-platform
# 安装Doris Operator CRD
kubectl create -f https://raw.githubusercontent.com/apache/doris-operator/master/config/crd/bases/doris.apache.com_dorisclusters.yaml
# 部署 Doris Operator
kubectl apply -f https://raw.githubusercontent.com/apache/doris-operator/master/config/operator/operator.yaml
# 创建 Doris 集群配置
kubectl apply -f doris-cluster.yaml -n freeleaps-data-platform
# 检查部署状态
kubectl get pods -n freeleaps-data-platform -l app=doris