Package org.jdrupes.vmoperator.manager
Class StatefulSetReconciler
java.lang.Object
org.jdrupes.vmoperator.manager.StatefulSetReconciler
Before version 3.4, the pod running the VM was created by a stateful set.
Starting with version 3.4, this reconciler simply deletes the stateful set, provided that the VM is not running.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionStatefulSetReconciler
(Configuration fmConfig) Instantiates a new stateful set reconciler. -
Method Summary
-
Field Details
-
logger
-
-
Constructor Details
-
StatefulSetReconciler
Instantiates a new stateful set reconciler.- Parameters:
fmConfig
- the fm config
-
-
Method Details
-
reconcile
public void reconcile(VmDefChanged event, Map<String, Object> model, VmChannel channel) throws IOException, TemplateException, io.kubernetes.client.openapi.ApiExceptionReconcile stateful set.- Parameters:
event
- the eventmodel
- the modelchannel
- the channel- Throws:
IOException
- Signals that an I/O exception has occurred.TemplateException
- the template exceptionio.kubernetes.client.openapi.ApiException
- the api exception
-