public class V1ReplicationControllerSpec extends Object
Constructor and Description |
---|
V1ReplicationControllerSpec() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getMinReadySeconds()
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available.
|
Integer |
getReplicas()
Replicas is the number of desired replicas.
|
Map<String,String> |
getSelector()
Selector is a label query over pods that should match the Replicas count.
|
V1PodTemplateSpec |
getTemplate()
Template is the object that describes the pod that will be created if insufficient replicas are detected.
|
int |
hashCode() |
V1ReplicationControllerSpec |
minReadySeconds(Integer minReadySeconds) |
V1ReplicationControllerSpec |
putSelectorItem(String key,
String selectorItem) |
V1ReplicationControllerSpec |
replicas(Integer replicas) |
V1ReplicationControllerSpec |
selector(Map<String,String> selector) |
void |
setMinReadySeconds(Integer minReadySeconds) |
void |
setReplicas(Integer replicas) |
void |
setSelector(Map<String,String> selector) |
void |
setTemplate(V1PodTemplateSpec template) |
V1ReplicationControllerSpec |
template(V1PodTemplateSpec template) |
String |
toString() |
public V1ReplicationControllerSpec minReadySeconds(Integer minReadySeconds)
public Integer getMinReadySeconds()
public void setMinReadySeconds(Integer minReadySeconds)
public V1ReplicationControllerSpec replicas(Integer replicas)
public Integer getReplicas()
public void setReplicas(Integer replicas)
public V1ReplicationControllerSpec selector(Map<String,String> selector)
public V1ReplicationControllerSpec putSelectorItem(String key, String selectorItem)
public Map<String,String> getSelector()
public V1ReplicationControllerSpec template(V1PodTemplateSpec template)
public V1PodTemplateSpec getTemplate()
public void setTemplate(V1PodTemplateSpec template)
Copyright © 2018. All rights reserved.