加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
BE-deployment.yaml 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
FanTuan 提交于 2022-10-27 19:54 . Update BE-deployment.yaml
kind: Deployment
apiVersion: apps/v1
metadata:
name: doris-be
labels:
app: doris-be
spec:
replicas: 1
selector:
matchLabels:
app: doris-be
template:
metadata:
labels:
app: doris-be
spec:
#nodeName: master-1
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: doris-be
env:
- name: BE_IPADDRESS
valueFrom:
fieldRef:
fieldPath: status.podIP
image: uhub.service.ucloud.cn/dataease/doris-be:v1.1.3
command: [ "/bin/bash", "-ce", "/opt/doris/bin/start_be.sh --daemon;tail -f /dev/null" ]
livenessProbe:
httpGet:
path: /api/health
port: 8040
initialDelaySeconds: 300
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 3
ports:
- containerPort: 9060
protocol: TCP
- containerPort: 9070
protocol: TCP
- containerPort: 8040
protocol: TCP
- containerPort: 9050
protocol: TCP
- containerPort: 8060
protocol: TCP
resources:
limits:
cpu: 2
memory: 2G
requests:
cpu: 200m
memory: 1G
volumeMounts:
- mountPath: /opt/doris/storage
name: volume-be
volumes:
- name: volume-be
persistentVolumeClaim:
claimName: pvc-doris-be
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化