Class PvcReconciler

java.lang.Object
org.jdrupes.vmoperator.manager.PvcReconciler

class PvcReconciler extends Object
Delegee for reconciling the stateful set (effectively the pod).
  • Field Details

  • Constructor Details

    • PvcReconciler

      public PvcReconciler(Configuration fmConfig)
      Instantiates a new pvc reconciler.
      Parameters:
      fmConfig - the fm config
  • Method Details

    • reconcile

      public void reconcile(VmDefinition vmDef, Map<String,Object> model, VmChannel channel, boolean specChanged) throws IOException, TemplateException, io.kubernetes.client.openapi.ApiException
      Reconcile the PVCs.
      Parameters:
      vmDef - the VM definition
      model - the model
      channel - the channel
      specChanged - the spec changed
      Throws:
      IOException - Signals that an I/O exception has occurred.
      TemplateException - the template exception
      io.kubernetes.client.openapi.ApiException - the api exception