public class KubernetesAdminDriver extends InternalAdminDriver
InternalAdminDriver.UndeployListeneradmin, 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, undeployAsyncpublic KubernetesAdminDriver(InternalAdmin admin)
public QuiesceManager getQuiesceManager()
getQuiesceManager in class InternalAdminDriverpublic boolean isDeployed(String puName)
InternalAdminDriverisDeployed in class InternalAdminDriverpublic CompletableFuture<?> undeployAsync(ProcessingUnit pu, UndeployOptions options)
undeployAsync in class InternalAdminDriverprotected void beforeDeploy(ProcessingUnitConfig puConfig)
beforeDeploy in class InternalAdminDriverprotected void deploy(ProcessingUnitConfig puConfig, String applicationName)
deploy in class InternalAdminDriverpublic void deleteSpaceInstancesPersistentData(UndeployedPuMetaData puMetaData, String spaceName, InternalSpaceDeleteInstancePersistentDataEventListener listener)
deleteSpaceInstancesPersistentData in class InternalAdminDriverpublic void scaleIn(ProcessingUnit pu, int factor)
scaleIn in class InternalAdminDriverpublic void scaleOut(ProcessingUnit pu, int factor, String memory, String cpu)
scaleOut in class InternalAdminDriverpublic com.gigaspaces.grid.gsm.PUDetails getPuDetails(ProcessingUnit pu) throws RemoteException
getPuDetails in class InternalAdminDriverRemoteExceptionpublic ResourcesResponse getResources(String serviceName, String partitionId)
getResources in class InternalAdminDriverpublic 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 InternalAdminDriverpublic boolean checkIfPartitionHasAlreadyProvidedResource(ProcessingUnit pu, Integer partitionId, String memory, String cpu)
checkIfPartitionHasAlreadyProvidedResource in class InternalAdminDriverpublic void validateScaleUpDownInput(String memory, String cpu)
validateScaleUpDownInput in class InternalAdminDriverprotected void undeploy(String puName)
undeploy in class InternalAdminDriverprotected boolean isOrphanInstancesBeingProvisioned(String puName)
isOrphanInstancesBeingProvisioned in class InternalAdminDriverprotected boolean implicitContainers()
implicitContainers in class InternalAdminDriverCopyright © GigaSpaces.