public final class KubernetesProperties extends Object
Configuration class of the Hazelcast Discovery Plugin for Kubernetes.
For possible configuration properties please refer to the public constants of this class.
Modifier and Type | Field and Description |
---|---|
static PropertyDefinition |
EXPOSE_EXTERNALLY
Configuration key:
expose-externally |
static PropertyDefinition |
KUBERNETES_API_RETIRES
Configuration key:
kubernetes-api-retries |
static PropertyDefinition |
KUBERNETES_API_TOKEN
Configuration key:
api-token |
static PropertyDefinition |
KUBERNETES_CA_CERTIFICATE
Configuration key:
ca-certificate
CA Authority certificate from Kubernetes Master, defaults to reading the certificate from the auto-injected file at:
/var/run/secrets/kubernetes.io/serviceaccount/ca.crt |
static PropertyDefinition |
KUBERNETES_MASTER_URL
Configuration key:
kubernetes-master |
static String |
KUBERNETES_SYSTEM_PREFIX
Configuration System Environment Prefix:
hazelcast.kubernetes. |
static PropertyDefinition |
NAMESPACE
Configuration key:
namespace |
static PropertyDefinition |
POD_LABEL_NAME
Configuration key:
pod-label-name |
static PropertyDefinition |
POD_LABEL_VALUE
Configuration key:
pod-label-value |
static PropertyDefinition |
RESOLVE_NOT_READY_ADDRESSES
Configuration key:
resolve-not-ready-addresses |
static PropertyDefinition |
SERVICE_DNS
Configuration key:
service-dns |
static PropertyDefinition |
SERVICE_DNS_TIMEOUT
Configuration key:
service-dns-timeout |
static PropertyDefinition |
SERVICE_LABEL_NAME
Configuration key:
service-label-name |
static PropertyDefinition |
SERVICE_LABEL_VALUE
Configuration key:
service-label-value |
static PropertyDefinition |
SERVICE_NAME
Configuration key:
service-name |
static PropertyDefinition |
SERVICE_PER_POD_LABEL_NAME
Configuration key:
service-per-pod-label-name |
static PropertyDefinition |
SERVICE_PER_POD_LABEL_VALUE
Configuration key:
service-per-pod-label-value |
static PropertyDefinition |
SERVICE_PORT
Configuration key:
service-port |
static PropertyDefinition |
USE_NODE_NAME_AS_EXTERNAL_ADDRESS
Configuration key:
use-node-name-as-external-address |
public static final String KUBERNETES_SYSTEM_PREFIX
Configuration System Environment Prefix: hazelcast.kubernetes.
SERVICE_DNS
will be:
-Dhazelcast.kubernetes.service-dns=valueFor kubernetes and openshift there is a special rule where the environment variables are provided in C-identifier style, therefore the prefix is converted to uppercase and dots and dashed will be replaced with underscores:
HAZELCAST_KUBERNETES_SERVICE_DNS=value
public static final PropertyDefinition SERVICE_DNS
Configuration key: service-dns
my-svc.my-namespace.svc.cluster.local
.public static final PropertyDefinition SERVICE_DNS_TIMEOUT
Configuration key: service-dns-timeout
public static final PropertyDefinition SERVICE_NAME
Configuration key: service-name
public static final PropertyDefinition SERVICE_LABEL_NAME
Configuration key: service-label-name
public static final PropertyDefinition SERVICE_LABEL_VALUE
Configuration key: service-label-value
public static final PropertyDefinition NAMESPACE
Configuration key: namespace
public static final PropertyDefinition POD_LABEL_NAME
Configuration key: pod-label-name
public static final PropertyDefinition POD_LABEL_VALUE
Configuration key: pod-label-value
public static final PropertyDefinition EXPOSE_EXTERNALLY
Configuration key: expose-externally
true
false, Hazelcast crashes if it can't find its public address.
If false
, Hazelcast does not even try to find its public address.public static final PropertyDefinition SERVICE_PER_POD_LABEL_NAME
Configuration key: service-per-pod-label-name
public static final PropertyDefinition SERVICE_PER_POD_LABEL_VALUE
Configuration key: service-per-pod-label-value
public static final PropertyDefinition RESOLVE_NOT_READY_ADDRESSES
Configuration key: resolve-not-ready-addresses
public static final PropertyDefinition USE_NODE_NAME_AS_EXTERNAL_ADDRESS
Configuration key: use-node-name-as-external-address
/nodes
resource. Default is false.public static final PropertyDefinition KUBERNETES_API_RETIRES
Configuration key: kubernetes-api-retries
public static final PropertyDefinition KUBERNETES_MASTER_URL
Configuration key: kubernetes-master
https://kubernetes.default.svc
public static final PropertyDefinition KUBERNETES_API_TOKEN
Configuration key: api-token
/var/run/secrets/kubernetes.io/serviceaccount/token
public static final PropertyDefinition KUBERNETES_CA_CERTIFICATE
ca-certificate
CA Authority certificate from Kubernetes Master, defaults to reading the certificate from the auto-injected file at:
/var/run/secrets/kubernetes.io/serviceaccount/ca.crt
public static final PropertyDefinition SERVICE_PORT
Configuration key: service-port
Copyright © 2023 Hazelcast, Inc.. All rights reserved.