Commit b937aa35 by 蒋勇

d

parent 81aaa809
......@@ -3,16 +3,27 @@ kind: Deployment
metadata:
name: my-redis
namespace: tencent-qifu
labels:
app: my-redis
spec:
replicas: 1
selector:
matchLabels:
app: my-redis
template:
metadata:
labels:
name: my-redis
app: my-redis
spec:
restartPolicy: Always
containers:
- name: my-redis
#image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:1220.0.1
#image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:1220.0.2
image: csighub.tencentyun.com/brg_icp/tencent2020:redisv1
imagePullPolicy: IfNotPresent
ports:
- containerPort: 6379
volumeMounts:
- name: foo
mountPath: "/usr/local/etc"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment