更新 redis/redis.yaml
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
namespace: mall
|
||||||
|
name: redis
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
mall: redis
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
namespace: mall
|
||||||
|
name: redis
|
||||||
|
labels:
|
||||||
|
mall: redis
|
||||||
|
spec:
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: abahub-registry-secret
|
||||||
|
containers:
|
||||||
|
- name: redis
|
||||||
|
image: abahub.abacus.com.cn/base/redis:7.0.8
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
ports:
|
||||||
|
- containerPort: 6379
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 300Mi
|
||||||
|
limits:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 300Mi
|
||||||
Reference in New Issue
Block a user