mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #10641 from jeffmendoza/remove-master-ssh
Clarify disk formatting for Meteor example.
This commit is contained in:
commit
edc53d66d7
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user