public interface Scalable<T>
| Modifier and Type | Method and Description |
|---|---|
default 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) |
T 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 readinessdefault io.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–2023 Red Hat. All rights reserved.