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 470727be
authored
Dec 29, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加pvc逻辑卷挂载
1 parent
50098a5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
kpl_deploy_yaml/3-kpl-backend/monitor-deployment.yaml
kpl_deploy_yaml/3-kpl-backend/monitor-deployment.yaml
View file @
470727b
...
@@ -22,6 +22,12 @@ spec:
...
@@ -22,6 +22,12 @@ spec:
image
:
DOCKER_REGISTRY/kpl-backend-v1:latest
image
:
DOCKER_REGISTRY/kpl-backend-v1:latest
imagePullPolicy
:
Always
imagePullPolicy
:
Always
volumeMounts
:
volumeMounts
:
-
mountPath
:
/mnt/kpl-pvc
name
:
kpl-volume
-
mountPath
:
/mnt/kpl-pvc2
name
:
kpl-volume2
-
mountPath
:
/mnt/kpl-pvc3
name
:
kpl-volume3
-
mountPath
:
/data/kpl-log
-
mountPath
:
/data/kpl-log
name
:
kpl-log
name
:
kpl-log
-
name
:
config
-
name
:
config
...
@@ -45,6 +51,18 @@ spec:
...
@@ -45,6 +51,18 @@ spec:
cpu
:
"
1000m"
cpu
:
"
1000m"
memory
:
"
1024Mi"
memory
:
"
1024Mi"
volumes
:
volumes
:
-
name
:
kpl-volume
persistentVolumeClaim
:
claimName
:
kpl-pvc
readOnly
:
false
-
name
:
kpl-volume2
persistentVolumeClaim
:
claimName
:
kpl-pvc2
readOnly
:
false
-
name
:
kpl-volume3
persistentVolumeClaim
:
claimName
:
kpl-pvc3
readOnly
:
false
-
name
:
kpl-log
-
name
:
kpl-log
hostPath
:
hostPath
:
path
:
/data/kpl-log
path
:
/data/kpl-log
...
...
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