ebs.csi.aws.com и умеет gp3?
https://github.com/kubernetes-sigs/aws-ebs-csi-driver
я ему задал custom storage class, как в доке сказано
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: gp3-encrypted-only-thoughput
parameters:
encrypted: "true"
fsType: ext4
type: gp3
throughput: "1000"
provisioner: ebs.csi.aws.com
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
и
pvc
у меня выглядит как то так
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
annotations:
volume.beta.kubernetes.io/storage-provisioner: ebs.csi.aws.com
volume.kubernetes.io/selected-node: ip-10-3-3-57.us-west-2.compute.internal
creationTimestamp: "2021-01-30T16:17:11Z"
finalizers:
- kubernetes.io/pvc-protection
name: dbench-pv-claim-gp3-encrypted-only-thoughput
namespace: default
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi
storageClassName: gp3-encrypted-only-thoughput
volumeMode: Filesystem
у меня PVC в pending
kubectl descibe pvc
вот такое
Annotations: volume.beta.kubernetes.io/storage-provisioner: ebs.csi.aws.com
volume.kubernetes.io/selected-node: ip-10-3-3-57.us-west-2.compute.internal
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Provisioning 2m11s (x119 over 9h) ebs.csi.aws.com_ebs-csi-controller-676758f6bf-fr5vj_f589e432-951d-46f2-a664-497fd9cc335d External provisioner is provisioning volume for claim "default/dbench-pv-claim-gp3-encrypted-only-thoughput"
Normal ExternalProvisioning 58s (x2223 over 9h) persistentvolume-controller waiting for a volume to be created, either by external provisioner "ebs.csi.aws.com" or manually created by system administrator
CSIDriver в системе присутствует
Daemon-Set стоит
на нужной ноде в в поде CSIDriver
Тишина, последние события вообще вчерашним числом...
как так?
нашел в исходниках драйвера // Maximum throughput for gp3 is 1000. However, maximum throughput/iops for gp3 is 0.25 // Since the default iops is 3000, set to 750.
Обсуждают сегодня