• Installing kubectl plugin with krew: unused-pvc

    2 min read

    kubernetes plugins krew unused-volumes

    Krew is a plugin manager for kubectl (v1.12 or higher), we will need to install krew first. To be able to test the unused-volumes plugin we will have to create a PersistentVolumeClaim that we won't use on any pot:

    apiVersion: v1
    kind: PersistentVolumeClaim
    metadata:
      name: demo-pvc
      namespace: kube-system
    spec:
      accessModes:
        - ReadWriteOnce
      resources:
        requests:
          storage: 10Gi
    

    13/01/2021

    Read more...

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