Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
ef5adf71
Commit
ef5adf71
authored
Jul 09, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'MVP1.7.13' into develop
parents
21125a15
a03dca98
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
yifu-insurances-deployment.yaml
k8s-bash/yifu-insurances-deployment.yaml
+2
-0
Dockerfile
yifu-insurances/yifu-insurances-biz/Dockerfile
+3
-1
No files found.
k8s-bash/yifu-insurances-deployment.yaml
View file @
ef5adf71
...
@@ -56,6 +56,8 @@ spec: # 资源规范字段
...
@@ -56,6 +56,8 @@ spec: # 资源规范字段
value
:
prd
value
:
prd
-
name
:
TZ
-
name
:
TZ
value
:
Asia/Shanghai
value
:
Asia/Shanghai
-
name
:
JAVA_OPTS
value
:
"
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/dumps/oom.hprof
-Xms128m
-Xmx256m
-Djava.security.egd=file:/dev/./urandom"
resources
:
#资源配置限制
resources
:
#资源配置限制
limits
:
# 最大使用
limits
:
# 最大使用
memory
:
"
4096Mi"
memory
:
"
4096Mi"
...
...
yifu-insurances/yifu-insurances-biz/Dockerfile
View file @
ef5adf71
...
@@ -10,6 +10,8 @@ COPY ${JAR_FILE} app.jar
...
@@ -10,6 +10,8 @@ COPY ${JAR_FILE} app.jar
EXPOSE
5005
EXPOSE
5005
ENV
TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
RUN
mkdir
-p
/dumps
ENV
TZ=Asia/Shanghai JAVA_OPTS="$JAVA_OPTS -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
CMD
sleep 60; java -jar app.jar $JAVA_OPTS
CMD
sleep 60; java -jar app.jar $JAVA_OPTS
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