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 471f99cc
authored
Aug 14, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 4-pv_pvc.yaml
1 parent
53cc6b3f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
19 deletions
kpl_base/autodl/4-pv_pvc.yaml
kpl_base/autodl/4-pv_pvc.yaml
View file @
471f99c
#################1#####################
---
apiVersion
:
v1
kind
:
PersistentVolume
metadata
:
name
:
adl-pv
labels
:
pv
:
adl-pv
spec
:
nfs
:
path
:
xxx
#nfs path
server
:
xxxx
#nfs ip
path
:
NFS_PATH
##########模板变量,nfs的目录
server
:
NFS_SERVER
#############模板变量,nfs的ip
accessModes
:
-
ReadWriteMany
capacity
:
...
...
@@ -25,22 +25,26 @@ spec:
-
ReadWriteMany
resources
:
requests
:
storage
:
100Gi
####################2#########################
storage
:
500Gi
selector
:
matchLabels
:
pv
:
adl-pv
########################2####################
---
apiVersion
:
v1
kind
:
PersistentVolume
metadata
:
name
:
adl-pv2
labels
:
pv
:
adl-pv2
spec
:
nfs
:
path
:
xxx
#nfs path
server
:
xxxx
#nfs ip
path
:
NFS_2_PATH
##########模板变量,nfs的目录
server
:
NFS_2_SERVER
#############模板变量,nfs的ip
accessModes
:
-
ReadWriteMany
capacity
:
storage
:
5
00Gi
storage
:
4
00Gi
---
kind
:
PersistentVolumeClaim
...
...
@@ -53,22 +57,27 @@ spec:
-
ReadWriteMany
resources
:
requests
:
storage
:
100Gi
#################################################
storage
:
400Gi
selector
:
matchLabels
:
pv
:
adl-pv2
########################3####################
---
apiVersion
:
v1
kind
:
PersistentVolume
metadata
:
name
:
adl-pv3
labels
:
pv
:
adl-pv3
spec
:
nfs
:
path
:
xxx
#nfs path
server
:
xxxx
#nfs ip
path
:
NFS_3_PATH
##########模板变量,nfs的目录
server
:
NFS_3_SERVER
#############模板变量,nfs的ip
accessModes
:
-
ReadWriteMany
capacity
:
storage
:
5
00Gi
storage
:
3
00Gi
---
kind
:
PersistentVolumeClaim
...
...
@@ -81,6 +90,7 @@ spec:
-
ReadWriteMany
resources
:
requests
:
storage
:
100Gi
storage
:
300Gi
selector
:
matchLabels
:
pv
:
adl-pv3
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