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
80c2e03d
Commit
80c2e03d
authored
Aug 10, 2022
by
zhaji
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into feature-zhaji
parents
0f4ab347
b3db1736
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
yifu-insurances-deployment.yaml
k8s-bash-test/yifu-insurances-deployment.yaml
+3
-2
pom.xml
pom.xml
+2
-2
No files found.
k8s-bash-test/yifu-insurances-deployment.yaml
View file @
80c2e03d
...
...
@@ -44,8 +44,9 @@ spec: # 资源规范字段
kubernetes.io/hostname
:
yfmaster1
containers
:
# 容器
-
name
:
yifu-insurances
# 容器的名字
image
:
192.168.1.110:5500/qas-mvp/yifu-insurances-biz:1.0.0
# 容器镜像地址
imagePullPolicy
:
Never
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
image
:
localhost:5000/yifu-insurances-biz:1.0.0
#临时地址
# image: 192.168.1.110:5500/qas-mvp/yifu-insurances-biz:1.0.0 # 容器镜像地址
imagePullPolicy
:
IfNotPresent
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
...
...
pom.xml
View file @
80c2e03d
...
...
@@ -261,7 +261,7 @@
<!-- 环境标识,需要与配置文件的名称相对应 -->
<profiles.active>
dev
</profiles.active>
<!-- 天翼云-->
<my.hub.host>
192.168.1.110
:5500
</my.hub.host>
<my.hub.host>
localhost
:5500
</my.hub.host>
<map.group.name>
qas-mvp
</map.group.name>
<!-- 众多参数配置 -->
</properties>
...
...
@@ -284,7 +284,7 @@
<!-- 环境标识,需要与配置文件的名称相对应 -->
<profiles.active>
test
</profiles.active>
<!-- 天翼云-->
<my.hub.host>
192.168.1.110
:5500
</my.hub.host>
<my.hub.host>
localhost
:5500
</my.hub.host>
<map.group.name>
qas-mvp
</map.group.name>
<!-- 众多参数配置 -->
</properties>
...
...
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