We will run a github action at 1 month intervals (or whatever) that generates the efs-usage report from kubernetes, commits it to a private datalad repo.
Github action:
report generation and retrieve log: kubectl apply -f inspect-pvc-pod.yaml && kubectl logs -f $(kubectl get pods -o jsonpath="{.items[?(@.metadata.name=='inspect-pvc-pod')].metadata.name}") (ish)
execution via datalad run (@yarikoptic this is the usecase for datalad publishing some containers)
push updated datalad repo to some repo
(Side Bonus: GH Action with access to EKS builds towards GitOps goal)
We will run a github action at 1 month intervals (or whatever) that generates the efs-usage report from kubernetes, commits it to a private datalad repo.
Github action:
kubectl apply -f inspect-pvc-pod.yaml && kubectl logs -f $(kubectl get pods -o jsonpath="{.items[?(@.metadata.name=='inspect-pvc-pod')].metadata.name}")
(ish)(Side Bonus: GH Action with access to EKS builds towards GitOps goal)