Skip to content

Instantly share code, notes, and snippets.

@adam-stokes
Last active August 26, 2017 04:56
Show Gist options
  • Select an option

  • Save adam-stokes/1e7171ecc9d1bb55588271e38d4eb350 to your computer and use it in GitHub Desktop.

Select an option

Save adam-stokes/1e7171ecc9d1bb55588271e38d4eb350 to your computer and use it in GitHub Desktop.
$ cat > sc-aws-ebs.yaml <<EOF
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: ebs-1
provisioner: kubernetes.io/aws-ebs
parameters:
type: gp2
EOF
$ kubectl create -f sc-aws-ebs2.yaml
storageclass "ebs-1" created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment