Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tke-eos
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
tke-eos
Commits
d4d47c7d
Commit
d4d47c7d
authored
Jun 24, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整quantcube-ui资源
parent
73a8feb3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
9 deletions
+16
-9
resourceLimit.js
serviceTemplate/resourceLimit.js
+7
-0
ui.node.yaml
yamls/ui.node.yaml
+9
-9
No files found.
serviceTemplate/resourceLimit.js
View file @
d4d47c7d
...
@@ -97,6 +97,13 @@ const defaultConfig = _.assign({}, defaultJava, {
...
@@ -97,6 +97,13 @@ const defaultConfig = _.assign({}, defaultJava, {
},
},
})
})
projectConfig
[
'
quantcube-ui
'
]
=
_
.
assign
({},
defaultJava
,
{
cpu
:
{
request
:
1
,
limit
:
1000
,
},
})
projectConfig
[
'
gu-bei
'
]
=
projectConfig
[
'
cash-loan-flow
'
]
=
projectConfig
[
'
black-hole
'
]
=
projectConfig
[
'
spider-center
'
]
=
defaultConfig
projectConfig
[
'
gu-bei
'
]
=
projectConfig
[
'
cash-loan-flow
'
]
=
projectConfig
[
'
black-hole
'
]
=
projectConfig
[
'
spider-center
'
]
=
defaultConfig
projectConfig
.
notify
=
projectConfig
.
gyxd
=
projectConfig
[
'
business-flow
'
]
=
defaultConfig
projectConfig
.
notify
=
projectConfig
.
gyxd
=
projectConfig
[
'
business-flow
'
]
=
defaultConfig
...
...
yamls/ui.node.yaml
View file @
d4d47c7d
...
@@ -59,15 +59,15 @@ spec:
...
@@ -59,15 +59,15 @@ spec:
limits
:
limits
:
cpu
:
{{
resources.cpu.limit
}}
m
cpu
:
{{
resources.cpu.limit
}}
m
memory
:
{{
resources.memory.limit
}}
Mi
memory
:
{{
resources.memory.limit
}}
Mi
#
readinessProbe:
readinessProbe
:
#
exec:
exec
:
#
command:
command
:
#
- /home/quant_group/readyCheck.sh
-
/home/quant_group/readyCheck.sh
# initialDelaySeconds: 60
initialDelaySeconds
:
5
#
timeoutSeconds: 2
timeoutSeconds
:
2
#
periodSeconds: 5
periodSeconds
:
5
#
successThreshold: 1
successThreshold
:
1
#
failureThreshold: 20
failureThreshold
:
20
restartPolicy
:
Always
restartPolicy
:
Always
dnsPolicy
:
ClusterFirst
dnsPolicy
:
ClusterFirst
imagePullSecrets
:
imagePullSecrets
:
...
...
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