Skip to content

Commit

Permalink
Remove the unsafe_format_and_mount instructions, they haven't been ne…
Browse files Browse the repository at this point in the history
…eded for gce pd for a while.
  • Loading branch information
brendandburns committed Jul 8, 2015
1 parent 77be29e commit 8727731
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions examples/meteor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,6 @@ disks. Create the MongoDB disk by running:
gcloud compute disks create --size=200GB mongo-disk
```

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 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 instances detach-disk --disk mongo-disk kubernetes-master
```

Now you can start Mongo using that disk:
```
kubectl create -f mongo-pod.json
Expand Down

0 comments on commit 8727731

Please sign in to comment.