1 Star 0 Fork 70

ycr40/blazui

forked from 宇辰/blazui 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
kubernetes.yml 1.74 KB
一键复制 编辑 原始数据 按行查看 历史
宇辰 提交于 2019-11-26 12:13 . !1 合并至master
apiVersion: apps/v1beta2
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: '2'
creationTimestamp: '2019-11-02T06:43:03Z'
generation: 2
labels:
app: blazui
name: blazui
namespace: blazui
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: blazui
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: blazui
spec:
containers:
- image: 'registry-vpc.cn-shanghai.aliyuncs.com/wzyuchen/blazui:latest'
imagePullPolicy: Always
name: blazui
ports:
- containerPort: 80
name: http
protocol: TCP
resources:
limits:
cpu: '1'
memory: 512Mi
requests:
cpu: 250m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
---
apiVersion: v1
kind: Service
metadata:
annotations:
service.beta.kubernetes.io/alicloud-loadbalancer-force-override-listeners: 'true'
service.beta.kubernetes.io/alicloud-loadbalancer-id: lb-uf6gtmhishceu658flynw
creationTimestamp: '2019-11-02T07:16:00Z'
name: blazui-svc
namespace: blazui
spec:
externalTrafficPolicy: Local
ports:
- name: http
port: 9000
protocol: TCP
targetPort: 80
selector:
app: blazui
sessionAffinity: None
type: LoadBalancer
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/ycr40/blazui.git
git@gitee.com:ycr40/blazui.git
ycr40
blazui
blazui
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385