mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-03 23:40:03 +00:00 
			
		
		
		
	Clarify disk formatting for Meteor example.
This commit is contained in:
		@@ -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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user