1 Star 0 Fork 1.9K

DreamRealizer/unimall 小程序 + App + 公众号H5

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
k8s.yaml 2.48 KB
一键复制 编辑 原始数据 按行查看 历史
William.Wei 提交于 2022-07-25 21:48 . [conf] demo
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
description: unimall
creationTimestamp: "2021-10-04T10:32:17Z"
generation: 1
labels:
k8s-app: unimall
qcloud-app: unimall
managedFields:
- apiVersion: apps/v1
manager: tke-apiserver
operation: Update
time: "2021-10-04T10:32:17Z"
- apiVersion: apps/v1
manager: kube-controller-manager
operation: Update
time: "2021-10-04T10:32:20Z"
name: unimall
namespace: dobbin
selfLink: /apis/apps/v1/namespaces/dobbin/deployments/unimall
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
k8s-app: unimall
qcloud-app: unimall
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
k8s-app: unimall
qcloud-app: unimall
spec:
containers:
- image: ${IMAGE}
imagePullPolicy: Always
name: unimall
livenessProbe:
failureThreshold: 3
httpGet:
path: /health/ping
port: 8081
scheme: HTTP
periodSeconds: 1
initialDelaySeconds: 180
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
failureThreshold: 36
httpGet:
path: /health/ping
port: 8081
scheme: HTTP
periodSeconds: 5
initialDelaySeconds: 15
successThreshold: 1
timeoutSeconds: 2
resources:
limits:
cpu: 500m
memory: 810Mi
requests:
cpu: 300m
memory: 512Mi
securityContext:
privileged: false
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: aliyun
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: k8s-app
operator: In
values:
- unimall
topologyKey: kubernetes.io/hostname
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/dreamrealizer/unimall.git
git@gitee.com:dreamrealizer/unimall.git
dreamrealizer
unimall
unimall 小程序 + App + 公众号H5
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385