om/实践cicd流程/手工/web-mdm.mdm-9-22.statefulse...

68 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2023-09-26 21:05:23 -04:00
kind: StatefulSet
apiVersion: apps/v1
metadata:
name: web-mdm
namespace: mdm-9-22
labels:
k8s.kuboard.cn/name: web-mdm
annotations:
kubesphere.io/creator: admin
spec:
replicas: 1
selector:
matchLabels:
k8s.kuboard.cn/name: web-mdm
template:
metadata:
creationTimestamp: null
labels:
k8s.kuboard.cn/name: web-mdm
annotations:
kubectl.kubernetes.io/restartedAt: '2023-09-22T17:40:32+08:00'
kubesphere.io/creator: admin
spec:
volumes:
- name: vol-mdm
persistentVolumeClaim:
claimName: pvc-mdm
containers:
- name: web-mdm
image: '172.21.13.108:80/platform-v3/nginxhtml:1.2.0907-alpine'
ports:
- name: html
containerPort: 80
protocol: TCP
resources: {}
volumeMounts:
- name: vol-mdm
mountPath: /mnt
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: IfNotPresent
securityContext:
capabilities:
add:
- SYS_ADMIN
privileged: true
runAsUser: 0
runAsGroup: 0
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext:
seLinuxOptions: {}
imagePullSecrets:
- name: login
affinity: {}
schedulerName: default-scheduler
hostAliases:
- ip: 10.244.10.66
hostnames:
- jeecg-boot-system
dnsConfig: {}
serviceName: web-mdm
podManagementPolicy: OrderedReady
updateStrategy:
type: RollingUpdate
revisionHistoryLimit: 10