• Setting custom tags on dynamically provisioned Volumes

    2 min read

    Since the version 1.6.0 of the EBS CSI driver it is now possible to define a set of custom tags to add the the volumes.

    06/07/2022

    Read more...
  • Extend a Linux file system (XFS) on an NVMe EBS volumes

    2 min read

    If we are using a NVMe EBS volumes, even though on the AWS Console we will see it as something like /dev/xvdait won't be visible on the Linux system using this name: We will have to look for /dev/nvme devices

    07/02/2022

    Read more...
  • kubernetes: Mount an existing EBS volume to a pod

    2 min read

    If you have an existing EBS volume that you want to use on your EKS cluster, or you don't want to let Kubernetes to manage your volumes, you can use awsElasticBlockStore to link an existing EBS volume to a PersistentVolume or use it directly as a volume on a pod spec:

    24/05/2021

    Read more...
  • AWS EKS: How to resize Persistent Volumes

    3 min read

    AWS EKS resize volume

    On a AWS EKS cluster, at the time of this writing, by default you cannot resize volumes provisioned with the default gp2 StorageClass. This is because on the default StorageClass the allowVolumeExpansion is set to false, preventing the volume expansion:

    $ kubectl get sc
    NAME            PROVISIONER             RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
    gp2 (default)   kubernetes.io/aws-ebs   Delete          WaitForFirstConsumer   false                  78d
    

    10/05/2021

    Read more...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets