16 Star 116 Fork 27

Element-Blazor / Element-Blazor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
kubernetes.yml 1.74 KB
一键复制 编辑 原始数据 按行查看 历史
wzxinchen 提交于 2020-11-18 18:37 . 升级.net5
apiVersion: apps/v1
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
C#
1
https://gitee.com/Element-Blazor/Element-Blazor.git
git@gitee.com:Element-Blazor/Element-Blazor.git
Element-Blazor
Element-Blazor
Element-Blazor
master

搜索帮助