Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
5c40bd61
Commit
5c40bd61
authored
Mar 23, 2015
by
Robert Bailey
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5794 from thockin/gcepd_name
Rename the JSON for GCEPersistentDisk, fix examples
parents
fe65aa5d
7ce59d9b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
testpd.yaml
examples/gce-pd/v1beta3/testpd.yaml
+1
-1
mysql.yaml
examples/mysql-wordpress-pd/v1beta3/mysql.yaml
+1
-1
wordpress.yaml
examples/mysql-wordpress-pd/v1beta3/wordpress.yaml
+1
-1
types.go
pkg/api/types.go
+1
-1
No files found.
examples/gce-pd/v1beta3/testpd.yaml
View file @
5c40bd61
...
...
@@ -15,7 +15,7 @@ spec:
mountPath
:
/testpd
volumes
:
-
name
:
testpd
p
ersistentDisk
:
gceP
ersistentDisk
:
# This GCE PD must already exist.
pdName
:
%
insert_pd_name_here%
fsType
:
ext4
examples/mysql-wordpress-pd/v1beta3/mysql.yaml
View file @
5c40bd61
...
...
@@ -33,7 +33,7 @@ spec:
mountPath
:
/var/lib/mysql
volumes
:
-
name
:
mysql-persistent-storage
p
ersistentDisk
:
gceP
ersistentDisk
:
# This GCE PD must already exist.
pdName
:
mysql-disk
fsType
:
ext4
...
...
examples/mysql-wordpress-pd/v1beta3/wordpress.yaml
View file @
5c40bd61
...
...
@@ -30,7 +30,7 @@ spec:
mountPath
:
/var/www/html
volumes
:
-
name
:
wordpress-persistent-storage
p
ersistentDisk
:
gceP
ersistentDisk
:
# This GCE PD must already exist.
pdName
:
wordpress-disk
fsType
:
ext4
...
...
pkg/api/types.go
View file @
5c40bd61
...
...
@@ -186,7 +186,7 @@ type VolumeSource struct {
EmptyDir
*
EmptyDirVolumeSource
`json:"emptyDir"`
// GCEPersistentDisk represents a GCE Disk resource that is attached to a
// kubelet's host machine and then exposed to the pod.
GCEPersistentDisk
*
GCEPersistentDiskVolumeSource
`json:"
p
ersistentDisk"`
GCEPersistentDisk
*
GCEPersistentDiskVolumeSource
`json:"
gceP
ersistentDisk"`
// GitRepo represents a git repository at a particular revision.
GitRepo
*
GitRepoVolumeSource
`json:"gitRepo"`
// Secret represents a secret that should populate this volume.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment