• Kubernetes: Find deprecated API versions

    2 min read

    krew deprecations kubectl

    On a Kubernetes cluster we might have deprecated versions of the object, so after updating it we might end up with something not properly working:

    $ kubectl api-resources | grep Ingress\$
    ingresses                         ing              extensions/v1beta1                     true         Ingress
    ingresses                         ing              networking.k8s.io/v1                   true         Ingress
    

    23/09/2021

    Read more...
  • Failed to provision volume with StorageClass "gp3": invalid AWS VolumeType "gp3"

    3 min read

    If we try to provision a gp3 Volume using a PVC on an EKS cluster we might get the invalid AWS VolumeType "gp3" error. This means we are using an outdated EBS CSI

    21/09/2021

    Read more...
  • How to change the default StorageClass

    2 min read

    kubernetes storageclass set default

    The default StorageClass is defined using the storageclass.kubernetes.io/is-default-class annotation as follows:

    apiVersion: storage.k8s.io/v1
    kind: StorageClass
    metadata:
      annotations:
        storageclass.kubernetes.io/is-default-class: "true"
    (...)
    

    To be able to change it we will have to removed from the current default and set it to the new one.

    20/09/2021

    Read more...
  • Monitoring the progress of dd

    2 min read

    For a long time we were not able to properly monitor the progress of a dd command unless we were using pv of having another process to periodically send a SIGUSR1 to the dd process

    17/09/2021

    Read more...
  • Using mixed_instances_policy to use Spot instances on an ASG

    3 min read

    If saving up to 90% for the same instance type is no reason enough to start using spot instances, to be able to use the same AutoScalingGroup to spawn both types of instances, saving us from the hassle of having to manage it by ourselves might help to change your mind

    16/09/2021

    Read more...

More recent...

Older content...