https://github.com/jenkinsci/kubernetes-cd-plugin

kubernetes-cd plugin has the capability to create a pvc, the recent plugin 
version has got fixed an issue with subsequent invocation of a yaml that 
creates/updates a pvc.

Regards,
Dmitri

On Tuesday, January 14, 2020 at 12:38:46 AM UTC+3, scottyg wrote:
>
> I have a use case where a PersistentVolumeClaim is used to clone a volume 
> snapshot, which is a prebuilt m2 repository. A PVC object needs to be 
> created before creating the Pod object, then deleted after the pod finishes.
>
> Using kubernetes-plugin, it seems that the yaml attribute in the 
> declarative pipeline only supports Pod objects. Before I go off and try to 
> figure out how to script the creation of a PVC object before launching the 
> Pod, I wanted to ask if there is a mechanism in this plugin that would help 
> manage a PVC lifecycle...and I'm just not seeing it. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/75ceecc2-1223-4398-a04c-882ccb230f97%40googlegroups.com.

Reply via email to