Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
ksy-project-docking
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a625ac14
authored
Mar 31, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加config-harbor-secret volume挂载卷。挂载到容器内部的/root/.docker/config.json用于core--worker pod推送镜像到私有仓库
1 parent
a9907f1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
kpl_deploy_yaml/1-autodl-core/worker-deployment.yaml
kpl_deploy_yaml/1-autodl-core/worker-deployment.yaml
View file @
a625ac1
...
@@ -29,6 +29,9 @@ spec:
...
@@ -29,6 +29,9 @@ spec:
-
name
:
config
-
name
:
config
mountPath
:
/adl/bin/conf/app.yaml
mountPath
:
/adl/bin/conf/app.yaml
subPath
:
app.yaml
subPath
:
app.yaml
-
name
:
config-harbor-secret
mountPath
:
/root/.docker/config.json
subPath
:
config.json
command
:
[
"
core--worker"
]
command
:
[
"
core--worker"
]
ports
:
ports
:
-
containerPort
:
8080
-
containerPort
:
8080
...
@@ -56,3 +59,7 @@ spec:
...
@@ -56,3 +59,7 @@ spec:
-
name
:
config
-
name
:
config
configMap
:
configMap
:
name
:
cfg-autodl-core
name
:
cfg-autodl-core
-
name
:
config-harbor-secret
secret
:
secretName
:
harbor-secret
Write
Preview
Markdown
is supported
Attach a file
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 post a comment