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
05ef2c1c
Commit
05ef2c1c
authored
Dec 29, 2014
by
Dawn Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update doc volumes.md to make sure mount point is created before mounting.
parent
0155ede0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
volumes.md
docs/volumes.md
+1
-1
No files found.
docs/volumes.md
View file @
05ef2c1c
...
@@ -66,7 +66,7 @@ ZONE=us-central1-a
...
@@ -66,7 +66,7 @@ ZONE=us-central1-a
gcloud compute disks create
--size
=
$DISK_SIZE
--zone
=
$ZONE
$DISK_NAME
gcloud compute disks create
--size
=
$DISK_SIZE
--zone
=
$ZONE
$DISK_NAME
gcloud compute instances attach-disk
--zone
=
$ZONE
--disk
=
$DISK_NAME
--device-name
temp-data kubernetes-master
gcloud compute instances attach-disk
--zone
=
$ZONE
--disk
=
$DISK_NAME
--device-name
temp-data kubernetes-master
gcloud compute ssh
--zone
=
$ZONE
kubernetes-master
\
gcloud compute ssh
--zone
=
$ZONE
kubernetes-master
\
--command
"sudo /usr/share/google/safe_format_and_mount /dev/disk/by-id/google-temp-data /mnt/tmp"
--command
"sudo
mkdir /mnt/tmp && sudo
/usr/share/google/safe_format_and_mount /dev/disk/by-id/google-temp-data /mnt/tmp"
gcloud compute instances detach-disk
--zone
=
$ZONE
--disk
$DISK_NAME
kubernetes-master
gcloud compute instances detach-disk
--zone
=
$ZONE
--disk
$DISK_NAME
kubernetes-master
```
```
...
...
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