Image Overview: local-volume-node-cleanup

Overview: local-volume-node-cleanup Chainguard Image

The local volume node cleanup controller removes PersistentVolumes and PersistentVolumeClaims that reference deleted Nodes.

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/local-volume-node-cleanup:latest

Usage

There is an example of how to deploy the local volume node cleanup controller in the official documentation, but here is a quick guide:

kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/sig-storage-local-static-provisioner/master/deployment/kubernetes/example/node-cleanup-controller/rbac.yaml

kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/sig-storage-local-static-provisioner/master/deployment/kubernetes/example/node-cleanup-controller/deployment.yaml
        
kubectl set image deployment/local-volume-node-cleanup-controller local-volume-node-cleanup-controller="cgr.dev/chainguard/local-volume-node-cleanup:latest"

Do not forget to change the arguments in the deployment file to match your environment. Because in the documentation, they mentinoded that these are the (optional) important arguments that are highly recommended to be used: https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/blob/master/docs/node-cleanup-controller.md#important-optional-arguments-that-are-highly-recommended-to-be-used

Last updated: 2024-04-26 00:36