70 lines
1.8 KiB
YAML
70 lines
1.8 KiB
YAML
|
kind: StatefulSet
|
||
|
apiVersion: apps/v1
|
||
|
metadata:
|
||
|
name: jeecg-boot-redis
|
||
|
namespace: mdm-9-22
|
||
|
labels:
|
||
|
k8s.kuboard.cn/name: jeecg-boot-redis
|
||
|
annotations:
|
||
|
kubesphere.io/creator: admin
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
k8s.kuboard.cn/name: jeecg-boot-redis
|
||
|
template:
|
||
|
metadata:
|
||
|
creationTimestamp: null
|
||
|
labels:
|
||
|
k8s.kuboard.cn/name: jeecg-boot-redis
|
||
|
annotations:
|
||
|
cni.projectcalico.org/ipAddrs: '["10.244.10.88"]'
|
||
|
kubectl.kubernetes.io/restartedAt: '2023-08-28T18:27:24+08:00'
|
||
|
kubesphere.io/creator: admin
|
||
|
kubesphere.io/restartedAt: '2023-09-25T05:30:36.407Z'
|
||
|
spec:
|
||
|
volumes:
|
||
|
- name: vol-mdm
|
||
|
persistentVolumeClaim:
|
||
|
claimName: pvc-mdm
|
||
|
containers:
|
||
|
- name: jeecg-boot-redis
|
||
|
image: 'redis:5.0'
|
||
|
ports:
|
||
|
- hostPort: 6380
|
||
|
containerPort: 6379
|
||
|
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-mdm
|
||
|
dnsConfig: {}
|
||
|
serviceName: jeecg-boot-redis
|
||
|
podManagementPolicy: OrderedReady
|
||
|
updateStrategy:
|
||
|
type: RollingUpdate
|
||
|
revisionHistoryLimit: 10
|