public class KubernetesConnectionConfiguration extends Object
Constructor and Description |
---|
KubernetesConnectionConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getAccountToken()
Get Kubernetes account token.
|
int |
getDiscoveryPort() |
boolean |
getIncludeNotReadyAddresses()
Get flag include not ready addresses.
|
String |
getMaster()
Get Kubernetes master url.
|
String |
getNamespace()
Get Kubernetes namespace.
|
String |
getServiceName()
Get Kubernetes service name.
|
KubernetesConnectionConfiguration |
setAccountToken(String accountToken)
Specifies the path to the service token file.
|
KubernetesConnectionConfiguration |
setDiscoveryPort(int discoveryPort)
Specifies the port which is returned to the caller to use for service discovery.
|
KubernetesConnectionConfiguration |
setIncludeNotReadyAddresses(boolean includeNotReadyAddresses)
Determines whether addresses of not-ready pods should be included.
|
KubernetesConnectionConfiguration |
setMasterUrl(String master)
Sets the host name of the Kubernetes API server.
|
KubernetesConnectionConfiguration |
setNamespace(String namespace)
Sets the namespace the Kubernetes service belongs to.
|
KubernetesConnectionConfiguration |
setServiceName(String service)
Sets the name of Kubernetes service for Ignite pods' IP addresses lookup.
|
void |
verify()
Verify that configuration is valid.
|
public KubernetesConnectionConfiguration setServiceName(String service)
service
- Kubernetes service name for IP addresses lookup. If it's not set then 'ignite' is used by default.this
for chaining.public String getServiceName()
public KubernetesConnectionConfiguration setNamespace(String namespace)
namespace
- The Kubernetes service namespace for IP addresses lookup.this
for chaining.public String getNamespace()
public KubernetesConnectionConfiguration setMasterUrl(String master)
master
- The host name of the Kubernetes API server.this
for chaining.public String getMaster()
public KubernetesConnectionConfiguration setAccountToken(String accountToken)
accountToken
- The path to the service token file.this
for chaining.public String getAccountToken()
public KubernetesConnectionConfiguration setIncludeNotReadyAddresses(boolean includeNotReadyAddresses)
includeNotReadyAddresses
- Flag to include not-ready pods.this
for chaining.public boolean getIncludeNotReadyAddresses()
public KubernetesConnectionConfiguration setDiscoveryPort(int discoveryPort)
discoveryPort
- Port to use for Kubernetes IP Finderthis
for chaining.public int getDiscoveryPort()
public void verify()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024