Commit edc53d66 authored by Zach Loafman's avatar Zach Loafman

Merge pull request #10641 from jeffmendoza/remove-master-ssh

Clarify disk formatting for Meteor example.
parents 9363285b 0a05fa6e
...@@ -112,6 +112,8 @@ gcloud compute disks create --size=200GB mongo-disk ...@@ -112,6 +112,8 @@ gcloud compute disks create --size=200GB mongo-disk
``` ```
You also need to format the disk before you can use it: You also need to format the disk before you can use it:
> Note: This uses the `kubernetes-master` machine. Any node in the cluster could be used instead.
``` ```
gcloud compute instances attach-disk --disk=mongo-disk --device-name temp-data kubernetes-master gcloud compute instances attach-disk --disk=mongo-disk --device-name temp-data kubernetes-master
gcloud compute ssh kubernetes-master --command "sudo mkdir /mnt/tmp && sudo /usr/share/google/safe_format_and_mount /dev/disk/by-id/google-temp-data /mnt/tmp" gcloud compute ssh kubernetes-master --command "sudo mkdir /mnt/tmp && sudo /usr/share/google/safe_format_and_mount /dev/disk/by-id/google-temp-data /mnt/tmp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment