plumber-cd / kubernetes-dynamic-reclaimable-pvc-controllers

Dynamic PVC provisioner for pods requesting it via annotations. Automatic PV releaser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Request] Update `examples/jenkins-kubernetes-plugin-with-build-cache` with ephemeral volume usage

lucasvc opened this issue · comments

I came here from your comments on the https://issues.jenkins.io/browse/JENKINS-42422 issue.

I also read that Provisioner Controller is deprecated in favor of the Ephemeral Volumes.

But I am recently entering the Jenkins using Kubernetes world, and I am struggling to understand more or less how everything is tied.

I have seen the example jenkins-kubernetes-plugin-with-build-cache which still make use of the provisioner. Could be possible to update that example (or create a new one) with the usage of the releaser along with the ephemeral volumes?

Hey @lucasvc - thanks for the interest in this little project! I just removed all mentions of that deprecated provisioner from the docs, and updated all examples for native k8s ephemeral volumes. Check it out of it works and let me know if you find anything I missed! It is still there in the code though.