Skip to content

Instantly share code, notes, and snippets.

@andrenarchy
Created June 6, 2019 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrenarchy/699f471e28cea3142c7e5d5ca092fd6b to your computer and use it in GitHub Desktop.
Save andrenarchy/699f471e28cea3142c7e5d5ca092fd6b to your computer and use it in GitHub Desktop.
Stellar on Kubernetes: initialization Google Cloud

Stellar on Kubernetes: initialization Google Cloud

For Stellar nodes on Google Cloud we use automatically provisioned SSDs.

Create a file storage-ssd.yaml with the following content:

kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: ssd
provisioner: kubernetes.io/gce-pd
allowVolumeExpansion: true
parameters:
  type: pd-ssd
  replication-type: none

Then create the storage class in your cluster by running:

kubectl create -f storage-ssd.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment