SHARE
TWEET

Untitled

a guest Jun 17th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. ```
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top