public class KubernetesAdminDriver extends InternalAdminDriver
InternalAdminDriver.UndeployListener
admin, attributeStore, logger
Constructor and Description |
---|
KubernetesAdminDriver(InternalAdmin admin) |
afterDeploy, afterUndeploy, beforeUndeployK8s, deleteTieredStorageData, deploy, deploy, deploy, getUndeployedPu, getUnDeployedPus, hasZkNode, initNameIfNeeded, isPersistent, postDeploy, postUndeployK8s, preDeploy, scaleUpDown, setUndeployedInstanceIp, setUndeployedLeader, undeployAsync
public KubernetesAdminDriver(InternalAdmin admin)
public QuiesceManager getQuiesceManager()
getQuiesceManager
in class InternalAdminDriver
public boolean isDeployed(String puName)
InternalAdminDriver
isDeployed
in class InternalAdminDriver
public CompletableFuture<?> undeployAsync(ProcessingUnit pu, UndeployOptions options)
undeployAsync
in class InternalAdminDriver
protected void beforeDeploy(ProcessingUnitConfig puConfig)
beforeDeploy
in class InternalAdminDriver
protected void deploy(ProcessingUnitConfig puConfig, String applicationName)
deploy
in class InternalAdminDriver
public void deleteSpaceInstancesPersistentData(UndeployedPuMetaData puMetaData, String spaceName, InternalSpaceDeleteInstancePersistentDataEventListener listener)
deleteSpaceInstancesPersistentData
in class InternalAdminDriver
public void scaleIn(ProcessingUnit pu, int factor)
scaleIn
in class InternalAdminDriver
public void scaleOut(ProcessingUnit pu, int factor, String memory, String cpu)
scaleOut
in class InternalAdminDriver
public com.gigaspaces.grid.gsm.PUDetails getPuDetails(ProcessingUnit pu)
getPuDetails
in class InternalAdminDriver
public ResourcesResponse getResources(String serviceName, String partitionId)
getResources
in class InternalAdminDriver
public ResourcesWrapper getResources(io.fabric8.kubernetes.api.model.apps.StatefulSet statefulSet)
public void scaleUpDownUnsafe(ProcessingUnit pu, Integer partitionId, String memory, String cpu, Long timeout, PuScaleVStatusChangedEventListener listener)
scaleUpDownUnsafe
in class InternalAdminDriver
public boolean checkIfPartitionHasAlreadyProvidedResource(ProcessingUnit pu, Integer partitionId, String memory, String cpu)
checkIfPartitionHasAlreadyProvidedResource
in class InternalAdminDriver
public void validateScaleUpDownInput(String memory, String cpu)
validateScaleUpDownInput
in class InternalAdminDriver
protected void undeploy(String puName)
undeploy
in class InternalAdminDriver
protected boolean isOrphanInstancesBeingProvisioned(String puName)
isOrphanInstancesBeingProvisioned
in class InternalAdminDriver
protected boolean implicitContainers()
implicitContainers
in class InternalAdminDriver
Copyright © GigaSpaces.