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
adc4bc07
Commit
adc4bc07
authored
Jul 21, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
c92c3ac9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
210 additions
and
0 deletions
+210
-0
yamls/zhichan/newtime/center-manage-deployment.yaml
+101
-0
yamls/zhichan/newtime/zhichanconfigmap.yaml
+109
-0
No files found.
yamls/zhichan/newtime/center-manage-deployment.yaml
0 → 100644
View file @
adc4bc07
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
paas
namespace
:
newtime
labels
:
app
:
paas
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
paas
template
:
metadata
:
labels
:
app
:
paas
spec
:
restartPolicy
:
Always
containers
:
-
name
:
paas
image
:
csighub.tencentyun.com/brg_icp/tencent2020:paas1200.0.12
imagePullPolicy
:
IfNotPresent
ports
:
-
containerPort
:
80
env
:
-
name
:
TZ
value
:
Asia/Shanghai
-
name
:
LANG
value
:
zh_CN.UTF-8
-
name
:
APP_ENV
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
APP_ENV
-
name
:
DB_HOST
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_HOST
-
name
:
DB_PORT
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_PORT
-
name
:
DB_PWD
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_PWD
-
name
:
DB_USER
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_USER
-
name
:
PAAS_DB_NAME
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
PAAS_DB_NAME
-
name
:
PAAS_REDIS_DB
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
PAAS_REDIS_DB
-
name
:
REDIS_HOST
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
REDIS_HOST
-
name
:
REDIS_PORT
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
REDIS_PORT
-
name
:
REDIS_PWD
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
REDIS_PWD
-
name
:
NODE_PORT
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
NODE_PORT
---
kind
:
Service
apiVersion
:
v1
metadata
:
labels
:
app
:
paas-service
name
:
paas-service
namespace
:
newtime
spec
:
type
:
ClusterIP
ports
:
-
port
:
80
targetPort
:
80
selector
:
app
:
paas
yamls/zhichan/newtime/zhichanconfigmap.yaml
0 → 100644
View file @
adc4bc07
apiVersion
:
v1
kind
:
Namespace
metadata
:
name
:
newtime
---
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
name
:
zhichan-config
namespace
:
newtime
data
:
APP_ENV
:
prod
NODE_PORT
:
"
80"
DB_HOST
:
47.95.76.74
DB_PORT
:
"
3306"
DB_USER
:
root
DB_PWD
:
Gongsibao2018
REDIS_HOST
:
r-2ze60261d9063784.redis.rds.aliyuncs.com
REDIS_PORT
:
"
6379"
REDIS_PWD
:
Gongsibao2018
QUEUE_DB_NAME
:
brg-tx-queue-log
LOGS_SYTXPUBLIC_MSGQ_REDIS_DB
:
"
10"
LOGS_SYTXPUBLIC_MSGQ_CONSUMER_NAME
:
"
publicLogs.publicLogsConsumer"
LOGS_SYTXPUBLIC_MSGQ_QUEUED_NAME
:
"
LOGS-SYTXPUBLIC-MSGQ"
LOGSFAIL_SYTXPUBLIC_MSGQ_QUEUED_NAME
:
"
LOGSFAIL-SYTXPUBLIC-MSGQ"
SYTXPUBLIC_MSGQ_REDIS_DB
:
"
9"
SYTXPUBLIC_MSGQ_CONSUMER_NAME
:
"
publicServiceAllocation.publicConsumer"
SYTXFAIL_SYTXPUBLIC_MSGQ_CONSUMER_NAME
:
"
publicFail.publicFailConsumer"
NOTIFY_SYTXPUBLIC_MSGQ_CONSUMER_NAME
:
"
publicNotify.publicNotifyConsumer"
SYTXPUBLIC_MSGQ_QUEUED_NAME
:
"
SYTXPUBLIC-MSGQ"
SYTXFAIL_SYTXPUBLIC_MSGQ_QUEUED_NAME
:
"
SYTXFAIL-SYTXPUBLIC-MSGQ"
NOTIFY_SYTXPUBLIC_MSGQ_QUEUED_NAME
:
"
NOTIFY-SYTXPUBLIC-MSGQ"
BRG_USER_CENTER_DB_NAME
:
brg-tx-shop
BRG_USER_CENTER_REDIS_DB
:
"
5"
PAAS_DB_NAME
:
center-manage
DELIVERY_DB_NAME
:
ent_deliver
PAAS_REDIS_DB
:
"
3"
QCC_APPKEY
:
"
74805b02bf2f46feaa3bdb24feecfbc1"
QCC_SECRETKEY
:
"
5D92FB79060AFCBFD3D4BC7AE7A3D225"
ES_HOST
:
9.223.8.84
ES_USER
:
elastic
ES_PWD
:
Brg2020!
ES_PORT
:
"
9200"
redis.conf
:
|
protected-mode yes
port 6379
tcp-backlog 511
timeout 0
tcp-keepalive 300
daemonize no
supervised no
pidfile /var/run/redis_6379.pid
loglevel notice
logfile ""
databases 16
always-show-logo yes
save 900 1
save 300 10
save 60 10000
stop-writes-on-bgsave-error yes
rdbcompression yes
rdbchecksum yes
dbfilename dump.rdb
dir ./
replica-serve-stale-data yes
replica-read-only yes
repl-diskless-sync no
repl-diskless-sync-delay 5
repl-disable-tcp-nodelay no
replica-priority 100
requirepass Gongsibao2018
lazyfree-lazy-eviction no
lazyfree-lazy-expire no
lazyfree-lazy-server-del no
replica-lazy-flush no
appendonly no
appendfilename "appendonly.aof"
appendfsync everysec
no-appendfsync-on-rewrite no
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
aof-load-truncated yes
aof-use-rdb-preamble yes
lua-time-limit 5000
slowlog-log-slower-than 10000
slowlog-max-len 128
latency-monitor-threshold 0
notify-keyspace-events ""
hash-max-ziplist-entries 512
hash-max-ziplist-value 64
list-compress-depth 0
set-max-intset-entries 512
zset-max-ziplist-entries 128
zset-max-ziplist-value 64
hll-sparse-max-bytes 3000
stream-node-max-bytes 4096
stream-node-max-entries 100
activerehashing yes
client-output-buffer-limit normal 0 0 0
client-output-buffer-limit replica 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
dynamic-hz yes
aof-rewrite-incremental-fsync yes
rdb-save-incremental-fsync yes
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