Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
k8s
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 605e4ff9
authored
Aug 06, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通过容量约定匹配。实现adl-pv匹配adl-pvc adl-pv2匹配adl-pvc2保持一 一对应。
1 parent
7737a759
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
autodl_kpl_base/autodl-nfs/4-pv_pvc.yaml
autodl_kpl_base/autodl-nfs/4-pv_pvc.yaml
View file @
605e4ff
...
@@ -6,7 +6,6 @@ metadata:
...
@@ -6,7 +6,6 @@ metadata:
spec
:
spec
:
nfs
:
nfs
:
path
:
NFS_PATH
##########模板变量,nfs的目录
path
:
NFS_PATH
##########模板变量,nfs的目录
server
:
NFS_SERVER
#############模板变量,nfs的ip
server
:
NFS_SERVER
#############模板变量,nfs的ip
accessModes
:
accessModes
:
-
ReadWriteMany
-
ReadWriteMany
...
@@ -24,7 +23,7 @@ spec:
...
@@ -24,7 +23,7 @@ spec:
-
ReadWriteMany
-
ReadWriteMany
resources
:
resources
:
requests
:
requests
:
storage
:
1
00Gi
storage
:
5
00Gi
########################2####################
########################2####################
---
---
apiVersion
:
v1
apiVersion
:
v1
...
@@ -34,12 +33,11 @@ metadata:
...
@@ -34,12 +33,11 @@ metadata:
spec
:
spec
:
nfs
:
nfs
:
path
:
NFS_2_PATH
##########模板变量,nfs的目录
path
:
NFS_2_PATH
##########模板变量,nfs的目录
server
:
NFS_2_SERVER
#############模板变量,nfs的ip
server
:
NFS_2_SERVER
#############模板变量,nfs的ip
accessModes
:
accessModes
:
-
ReadWriteMany
-
ReadWriteMany
capacity
:
capacity
:
storage
:
5
00Gi
storage
:
4
00Gi
---
---
kind
:
PersistentVolumeClaim
kind
:
PersistentVolumeClaim
...
@@ -52,7 +50,7 @@ spec:
...
@@ -52,7 +50,7 @@ spec:
-
ReadWriteMany
-
ReadWriteMany
resources
:
resources
:
requests
:
requests
:
storage
:
1
00Gi
storage
:
4
00Gi
########################3####################
########################3####################
---
---
apiVersion
:
v1
apiVersion
:
v1
...
@@ -62,12 +60,11 @@ metadata:
...
@@ -62,12 +60,11 @@ metadata:
spec
:
spec
:
nfs
:
nfs
:
path
:
NFS_3_PATH
##########模板变量,nfs的目录
path
:
NFS_3_PATH
##########模板变量,nfs的目录
server
:
NFS_3_SERVER
#############模板变量,nfs的ip
server
:
NFS_3_SERVER
#############模板变量,nfs的ip
accessModes
:
accessModes
:
-
ReadWriteMany
-
ReadWriteMany
capacity
:
capacity
:
storage
:
5
00Gi
storage
:
3
00Gi
---
---
kind
:
PersistentVolumeClaim
kind
:
PersistentVolumeClaim
...
@@ -80,4 +77,4 @@ spec:
...
@@ -80,4 +77,4 @@ spec:
-
ReadWriteMany
-
ReadWriteMany
resources
:
resources
:
requests
:
requests
:
storage
:
1
00Gi
storage
:
3
00Gi
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