public interface Scaleable<T>
| Modifier and Type | Field and Description |
|---|---|
static int |
POLL_INTERVAL_MS |
| 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) |
static final int POLL_INTERVAL_MS
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 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.