public interface ScalableResource<T> extends Resource<T>, Loggable, Containerable<String,Loggable>
| Modifier and Type | Method and Description |
|---|---|
io.fabric8.kubernetes.api.model.autoscaling.v1.Scale |
scale() |
T |
scale(int count)
Scale the resource to given count
|
T |
scale(int count,
boolean wait)
Scale the resource to given count
|
io.fabric8.kubernetes.api.model.autoscaling.v1.Scale |
scale(io.fabric8.kubernetes.api.model.autoscaling.v1.Scale scale) |
cascading, isReady, lockResourceVersion, lockResourceVersion, requirefromServerwithResourceVersionwaitUntilCondition, waitUntilReadycreate, createOrReplaceaccept, edit, edit, edit, editStatus, patch, patch, patch, patch, patch, patch, patchStatusreplace, replaceStatuscreate, createOrReplace, delete, patchStatus, updateStatuswithGracePeriodwithPropagationPolicyreplace, replaceStatusdryRun, dryRuninform, inform, inform, informOnCondition, runnableInformer, withIndexers, withLimitgetLog, getLog, getLogInputStream, getLogReader, watchLog, watchLog, withLogWaitTimeoutinContainerT scale(int count)
count - the desired instance countT scale(int count, boolean wait)
count - the desired instance countwait - if true, wait for the number of instances to exist - no guarantee is made
as to readinessio.fabric8.kubernetes.api.model.autoscaling.v1.Scale scale()
io.fabric8.kubernetes.api.model.autoscaling.v1.Scale scale(io.fabric8.kubernetes.api.model.autoscaling.v1.Scale scale)
Copyright © 2015–2022 Red Hat. All rights reserved.