1 Star 0 Fork 1.8K

陕西尚德信息技术有限公司/plus-ui

forked from 疯狂的狮子Li/plus-ui 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
deploy.yaml 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
wanglp 提交于 2023-08-18 17:46 . 打包发布
apiVersion: apps/v1
kind: Deployment
metadata:
name: plus-ui
labels:
app: plus-ui
spec:
replicas: 1
selector:
matchLabels:
app: plus-ui
template:
metadata:
name: plus-ui
labels:
app: plus-ui
spec:
volumes:
- name: host-time
hostPath:
path: /etc/localtime
type: ''
containers:
- name: plus-ui
envFrom:
- configMapRef:
name: service-config
image: 10.168.1.203:8082/ruoyi-plus/plus-ui:$BUILD_TIMESTAMP.$BUILD_NUMBER
imagePullPolicy: IfNotPresent
ports:
- name: tcp-80
containerPort: 80
protocol: TCP
resources:
limits:
cpu: '1'
memory: 2000Mi
volumeMounts:
- name: host-time
readOnly: true
mountPath: /etc/localtime
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
restartPolicy: Always
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600
---
apiVersion: v1
kind: Service
metadata:
name: plus-ui
labels:
app: plus-ui
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 80
selector:
app: plus-ui
sessionAffinity: None
type: NodePort
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wudi003/plus-ui.git
git@gitee.com:wudi003/plus-ui.git
wudi003
plus-ui
plus-ui
ts

搜索帮助