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 ef68244b
authored
Aug 05, 2020
by
wangtingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pv pvc多实例
1 parent
43de8dcd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
110 additions
and
0 deletions
kpl_base/autodl/4-pv_pvc.yaml
kpl_base/kpl/4-pv_pvc.yaml
kpl_base/autodl/4-pv_pvc.yaml
View file @
ef68244
#################1#####################
---
---
apiVersion
:
v1
apiVersion
:
v1
kind
:
PersistentVolume
kind
:
PersistentVolume
...
@@ -25,3 +26,61 @@ spec:
...
@@ -25,3 +26,61 @@ spec:
resources
:
resources
:
requests
:
requests
:
storage
:
100Gi
storage
:
100Gi
####################2#########################
---
apiVersion
:
v1
kind
:
PersistentVolume
metadata
:
name
:
adl-pv2
spec
:
nfs
:
path
:
xxx
#nfs path
server
:
xxxx
#nfs ip
accessModes
:
-
ReadWriteMany
capacity
:
storage
:
500Gi
---
kind
:
PersistentVolumeClaim
apiVersion
:
v1
metadata
:
name
:
adl-pvc2
namespace
:
autodl
spec
:
accessModes
:
-
ReadWriteMany
resources
:
requests
:
storage
:
100Gi
#################################################
---
apiVersion
:
v1
kind
:
PersistentVolume
metadata
:
name
:
adl-pv3
spec
:
nfs
:
path
:
xxx
#nfs path
server
:
xxxx
#nfs ip
accessModes
:
-
ReadWriteMany
capacity
:
storage
:
500Gi
---
kind
:
PersistentVolumeClaim
apiVersion
:
v1
metadata
:
name
:
adl-pvc3
namespace
:
autodl
spec
:
accessModes
:
-
ReadWriteMany
resources
:
requests
:
storage
:
100Gi
kpl_base/kpl/4-pv_pvc.yaml
View file @
ef68244
###############1###################
apiVersion
:
v1
apiVersion
:
v1
kind
:
PersistentVolume
kind
:
PersistentVolume
metadata
:
metadata
:
...
@@ -22,3 +23,53 @@ spec:
...
@@ -22,3 +23,53 @@ spec:
resources
:
resources
:
requests
:
requests
:
storage
:
100Gi
storage
:
100Gi
###############2###################
apiVersion
:
v1
kind
:
PersistentVolume
metadata
:
name
:
kpl-pv2
spec
:
nfs
:
path
:
xxx
#修改nfs的path
server
:
xxxx
#nfs ip
accessModes
:
-
ReadWriteMany
capacity
:
storage
:
500Gi
---
kind
:
PersistentVolumeClaim
apiVersion
:
v1
metadata
:
name
:
kpl-pvc2
namespace
:
kpl
spec
:
accessModes
:
-
ReadWriteMany
resources
:
requests
:
storage
:
100Gi
###############1###################
apiVersion
:
v1
kind
:
PersistentVolume
metadata
:
name
:
kpl-pv3
spec
:
nfs
:
path
:
xxx
#修改nfs的path
server
:
xxxx
#nfs ip
accessModes
:
-
ReadWriteMany
capacity
:
storage
:
500Gi
---
kind
:
PersistentVolumeClaim
apiVersion
:
v1
metadata
:
name
:
kpl-pvc3
namespace
:
kpl
spec
:
accessModes
:
-
ReadWriteMany
resources
:
requests
:
storage
:
100Gi
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