Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. # Stellar on Kubernetes: initialization Google Cloud
  2.  
  3. For Stellar nodes on Google Cloud we use automatically provisioned SSDs.
  4.  
  5. Create a file `storage-ssd.yaml` with the following content:
  6. ```
  7. kind: StorageClass
  8. apiVersion: storage.k8s.io/v1
  9. metadata:
  10. name: ssd
  11. provisioner: kubernetes.io/gce-pd
  12. allowVolumeExpansion: true
  13. parameters:
  14. type: pd-ssd
  15. replication-type: none
  16. ```
  17.  
  18. Then create the storage class in your cluster by running:
  19. ```
  20. kubectl create -f storage-ssd.yaml
  21. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement