Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k8syml
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
k8syml
Commits
b937aa35
Commit
b937aa35
authored
Jul 01, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
81aaa809
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
19 deletions
+30
-19
yamls/tx/biz/myredis.yaml
+30
-19
No files found.
yamls/tx/biz/myredis.yaml
View file @
b937aa35
...
@@ -3,32 +3,43 @@ kind: Deployment
...
@@ -3,32 +3,43 @@ kind: Deployment
metadata
:
metadata
:
name
:
my-redis
name
:
my-redis
namespace
:
tencent-qifu
namespace
:
tencent-qifu
labels
:
app
:
my-redis
spec
:
spec
:
replicas
:
1
replicas
:
1
selector
:
matchLabels
:
app
:
my-redis
template
:
template
:
metadata
:
metadata
:
labels
:
labels
:
name
:
my-redis
app
:
my-redis
spec
:
spec
:
containers
:
restartPolicy
:
Always
-
name
:
my-redis
containers
:
image
:
csighub.tencentyun.com/brg_icp/tencent2020:redisv1
-
name
:
my-redis
volumeMounts
:
#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
-
name
:
foo
mountPath
:
"
/usr/local/etc"
mountPath
:
"
/usr/local/etc"
command
:
command
:
-
"
redis-server"
-
"
redis-server"
args
:
args
:
-
"
/usr/local/etc/redis/redis.conf"
-
"
/usr/local/etc/redis/redis.conf"
volumes
:
volumes
:
-
name
:
foo
-
name
:
foo
configMap
:
configMap
:
name
:
zhichan-config
name
:
zhichan-config
items
:
items
:
-
key
:
redis.conf
-
key
:
redis.conf
path
:
redis/redis.conf
path
:
redis/redis.conf
---
---
kind
:
Service
kind
:
Service
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment