------------------------Storage Class--------------------------------
https://docs.aws.amazon.com/eks/latest/userguide/ebs-csi.html
https://docs.aws.amazon.com/eks/latest/userguide/efs-csi.html
****https://repost.aws/knowledge-center/eks-persistent-storage
https://aws.github.io/aws-eks-best-practices/windows/docs/storage/
A StorageClass provides a way for administrators to describe the "classes" of storage they offer. Different classes might map to quality-of-service levels, backup policies, or arbitrary policies determined by the cluster administrators. Kubernetes is unopinionated about what classes represent. This concept is sometimes called "profiles" in other storage systems.
***kubectl describe storageclass gp2
Ref: https://kubernetes.io/docs/concepts/storage/storage-classes/
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: ebs-sc
provisioner: ebs.csi.aws.com
volumeBindingMode: WaitForFirstConsumer
parameters:
csi.storage.k8s.io/fstype: xfs
type: io1
iopsPerGB: "50"
encrypted: "true"
allowedTopologies:
- matchLabelExpressions:
- key: topology.ebs.csi.aws.com/zone
values:
- us-east-2c
-----------------------------Complete example----------------------------------------------------------
**EBS: https://repost.aws/knowledge-center/eks-multi-attach-volumes
**kubectl api-resources | grep "storage.k8s.io/v1"
**EFShttps://repost.aws/knowledge-center/eks-persistent-storage
0 Comments