Hazelcast Platform Operator API Docs
A reference guide to the Hazelcast Platform Operator CRD types.
Hazelcast Platform Operator API Docs
This is a reference for the Hazelcast Platform Operator API types. These are all the types and fields that are used in the Hazelcast Platform Operator CRDs.
This document was generated from comments in the Go code in the api/ directory. |
AgentConfiguration
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Repository to pull Hazelcast Platform Operator Agent(https://github.com/hazelcast/platform-operator-agent) |
|
false |
"docker.io/hazelcast/platform-operator-agent" |
|
Version of Hazelcast Platform Operator Agent. |
|
false |
"0.1.6" |
BucketConfiguration
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Name of the secret with credentials for cloud providers. |
|
true |
- |
|
Full path to blob storage bucket. |
|
true |
- |
DurableExecutorServiceConfiguration
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
The name of the executor service |
|
false |
"default" |
|
The number of executor threads per member. |
|
false |
16 |
|
Durability of the executor. |
|
false |
1 |
|
Capacity of the executor task per partition. |
|
false |
100 |
ExecutorServiceConfiguration
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
The name of the executor service |
|
false |
"default" |
|
The number of executor threads per member. |
|
false |
8 |
|
Task queue capacity of the executor. |
|
false |
0 |
ExposeExternallyConfiguration
ExposeExternallyConfiguration defines how to expose Hazelcast cluster to external clients
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Specifies how members are exposed. Valid values are: - "Smart" (default): each member pod is exposed with a separate external address - "Unisocket": all member pods are exposed with one external address |
false |
"Smart" |
|
|
Type of the service used to discover Hazelcast cluster. |
false |
"LoadBalancer" |
|
|
How each member is accessed from the external client. Only available for "Smart" client and valid values are: - "NodePortExternalIP" (default): each member is accessed by the NodePort service and the node external IP/hostname - "NodePortNodeName": each member is accessed by the NodePort service and the node name - "LoadBalancer": each member is accessed by the LoadBalancer service external address |
false |
- |
Hazelcast
Hazelcast is the Schema for the hazelcasts API
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
|
false |
- |
|
|
|
false |
{"repository" : "docker.io/hazelcast/hazelcast"} |
|
|
|
false |
- |
HazelcastClusterStatus
HazelcastClusterStatus defines the status of the Hazelcast cluster
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
ReadyMembers represents the number of members that are connected to cluster from the desired number of members in the format <ready>/<desired> |
|
true |
- |
HazelcastList
HazelcastList contains a list of Hazelcast
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
|
false |
- |
|
|
|
true |
- |
HazelcastMemberStatus
HazelcastMemberStatus defines the observed state of the individual Hazelcast member.
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
PodName is the name of the Hazelcast member pod. |
|
false |
- |
|
Uid is the unique member identifier within the cluster. |
|
false |
- |
|
Ip is the IP address of the member within the cluster. |
|
false |
- |
|
Version represents the Hazelcast version of the member. |
|
false |
- |
|
State represents the observed state of the member. |
|
false |
- |
|
Master flag is set to true if the member is master. |
|
false |
- |
|
Lite is the flag that is true when the member is lite-member. |
|
false |
- |
|
OwnedPartitions represents the partitions count on the member. |
|
false |
- |
|
Ready is the flag that is set to true when the member is successfully started, connected to cluster and ready to accept connections. |
|
true |
- |
|
Message contains the optional message with the details of the cluster state. |
|
false |
- |
|
Reason contains the optional reason of member crash or restart. |
|
false |
- |
|
RestartCount is the number of times the member has been restarted. |
|
true |
- |
HazelcastPersistenceConfiguration
HazelcastPersistenceConfiguration contains the configuration for Hazelcast Persistence and K8s storage.
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Persistence base directory. |
|
true |
- |
|
Configuration of the cluster recovery strategy. |
false |
"FullRecoveryOnly" |
|
|
AutoForceStart enables the detection of constantly failing cluster and trigger the Force Start action. |
|
false |
false |
|
DataRecoveryTimeout is timeout for each step of data recovery in seconds. Maximum timeout is equal to DataRecoveryTimeout*2 (for each step: validation and data-load). |
|
false |
- |
|
Configuration of PersistenceVolumeClaim. |
false |
- |
|
|
Host Path directory. |
|
false |
- |
|
Restore configuration |
false |
{} |
|
|
|
false |
"Local" |
HazelcastSpec
HazelcastSpec defines the desired state of Hazelcast
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Number of Hazelcast members in the cluster. |
|
false |
3 |
|
Repository to pull the Hazelcast Platform image from. |
|
false |
"docker.io/hazelcast/hazelcast" |
|
Version of Hazelcast Platform. |
|
false |
"5.1.3" |
|
Pull policy for the Hazelcast Platform image |
false |
"IfNotPresent" |
|
|
Image pull secrets for the Hazelcast Platform image |
false |
- |
|
|
Name of the secret with Hazelcast Enterprise License Key. |
|
false |
- |
|
Configuration to expose Hazelcast cluster to external clients. |
false |
{} |
|
|
Name of the Hazelcast cluster. |
|
false |
"dev" |
|
Scheduling details |
false |
{} |
|
|
Compute Resources required by the Hazelcast container. |
false |
{} |
|
|
Persistence configuration |
false |
{} |
|
|
B&R Agent configurations |
false |
{repository: "docker.io/hazelcast/platform-operator-agent", version: "0.1.6"} |
|
|
User Codes to Download into CLASSPATH |
false |
- |
|
|
|
false |
- |
|
|
|
false |
- |
|
|
|
false |
- |
|
|
|
|
false |
- |
HazelcastStatus
HazelcastStatus defines the observed state of Hazelcast
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Phase of the Hazelcast cluster |
false |
- |
|
|
Status of the Hazelcast cluster |
false |
- |
|
|
Message about the Hazelcast cluster state |
|
false |
- |
|
External addresses of the Hazelcast cluster members |
|
false |
- |
|
Status of Hazelcast members |
false |
- |
|
|
Status of restore process of the Hazelcast cluster |
false |
{} |
PersistencePvcConfiguration
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
AccessModes contains the actual access modes of the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 |
false |
- |
|
|
A description of the PVC request capacity. |
|
false |
- |
|
Name of StorageClass which this persistent volume belongs to. |
|
false |
- |
RestoreStatus
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
State shows the current phase of the restore process of the cluster. |
true |
- |
|
|
RemainingValidationTime show the time in seconds remained for the restore validation step. |
|
true |
- |
|
RemainingDataLoadTime show the time in seconds remained for the restore data load step. |
|
true |
- |
ScheduledExecutorServiceConfiguration
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
The name of the executor service |
|
false |
"default" |
|
The number of executor threads per member. |
|
false |
16 |
|
Durability of the executor. |
|
false |
1 |
|
Capacity of the executor task per partition. |
|
false |
100 |
|
The active policy for the capacity setting. |
|
false |
PER_NODE |
SchedulingConfiguration
SchedulingConfiguration defines the pods scheduling details
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Affinity |
false |
- |
|
|
Tolerations |
false |
- |
|
|
NodeSelector |
|
false |
- |
|
TopologySpreadConstraints |
false |
- |
UserCodeDeploymentConfig
UserCodeDeploymentConfig contains the configuration for User Code download operation
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
When true, allows user code deployment from clients. |
|
false |
- |
|
Jar files in the bucket will be put under CLASSPATH. |
false |
- |
|
|
A string for triggering a rolling restart for re-downloading the user code. |
|
false |
- |
|
Files in the ConfigMaps will be put under CLASSPATH. |
|
false |
- |
ExternalConnectivityConfiguration
ExternalConnectivityConfiguration defines how to expose Management Center pod.
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
How Management Center is exposed. Valid values are: - "ClusterIP" - "NodePort" - "LoadBalancer" (default) |
false |
"LoadBalancer" |
HazelcastClusterConfig
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Name of the Hazelcast cluster that Management Center will connect to, default is dev. |
|
false |
"dev" |
|
IP address or DNS name of the Hazelcast cluster. If the cluster is exposed with a service name in a different namespace, use the following syntax "<service-name>.<service-namespace>". |
|
true |
- |
ManagementCenter
ManagementCenter is the Schema for the managementcenters API
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
|
false |
- |
|
|
|
false |
{"repository" : "docker.io/hazelcast/management-center"} |
|
|
|
false |
- |
ManagementCenterList
ManagementCenterList contains a list of ManagementCenter
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
|
false |
- |
|
|
|
true |
- |
ManagementCenterSpec
ManagementCenterSpec defines the desired state of ManagementCenter.
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Repository to pull the Management Center image from. |
|
false |
"docker.io/hazelcast/management-center" |
|
Version of Management Center. |
|
false |
"5.1.4" |
|
Pull policy for the Management Center image |
false |
"IfNotPresent" |
|
|
Image pull secrets for the Management Center image |
false |
- |
|
|
Name of the secret with Hazelcast Enterprise License Key. |
|
false |
- |
|
Connection configuration for the Hazelcast clusters that Management Center will monitor. |
false |
- |
|
|
Configuration to expose Management Center to outside. |
false |
{type: "LoadBalancer"} |
|
|
Configuration for Management Center persistence. |
false |
{enabled: true, size: "10Gi"} |
|
|
Scheduling details |
false |
- |
|
|
Compute Resources required by the MC container. |
false |
{} |
ManagementCenterStatus
ManagementCenterStatus defines the observed state of ManagementCenter.
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Phase of the Management Center |
false |
- |
|
|
Message about the Management Center state |
|
false |
- |
|
External addresses of the Management Center instance |
|
false |
- |
PersistenceConfiguration
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
When true, MC will use a PersistentVolumeClaim to store data. |
|
false |
true |
|
Name of the PersistentVolumeClaim MC will use for persistence. If not empty, MC will use the existing claim instead of creating a new one. |
|
false |
- |
|
StorageClass from which PersistentVolumeClaim will be created. |
|
false |
- |
|
Size of the created PersistentVolumeClaim. |
|
false |
"10Gi" |
HotBackup
HotBackup is the Schema for the hot backup API
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
|
false |
- |
|
|
|
false |
- |
|
|
|
true |
- |
HotBackupList
HotBackupList contains a list of HotBackup
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
|
false |
- |
|
|
|
true |
- |
HotBackupSpec
HotBackupSpec defines the Spec of HotBackup
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
HazelcastResourceName defines the name of the Hazelcast resource |
|
true |
- |
|
Schedule contains a crontab-like expression that defines the schedule in which HotBackup will be started. If the Schedule is empty the HotBackup will start only once when applied. |
|
false |
- |
|
URL of the bucket to download HotBackup folders. |
|
false |
- |
|
Name of the secret with credentials for cloud providers. |
|
false |
- |
HotBackupStatus
HotBackupStatus defines the observed state of HotBackup
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
|
true |
- |
|
|
|
|
false |
- |
BitmapIndexOptionsConfig
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
|
|
true |
- |
|
|
true |
- |
EvictionConfig
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Eviction policy to be applied when map reaches its max size according to the max size policy. |
false |
"NONE" |
|
|
Max size of the map. |
|
false |
0 |
|
Policy for deciding if the maxSize is reached. |
false |
"PER_NODE" |
IndexConfig
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Name of the index config. |
|
false |
- |
|
Type of the index. |
true |
- |
|
|
Attributes of the index. |
|
true |
- |
|
Options for "BITMAP" index type. |
false |
- |
Map
Map is the Schema for the maps API
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
|
false |
- |
|
|
|
true |
- |
|
|
|
false |
- |
MapList
MapList contains a list of Map
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
|
false |
- |
|
|
|
|
true |
- |
MapSpec
MapSpec defines the desired state of Hazelcast Map Config
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Name of the map config to be created. If empty, CR name will be used. It cannot be updated after map config is created successfully. |
|
false |
- |
|
Count of synchronous backups. It cannot be updated after map config is created successfully. |
|
false |
1 |
|
Maximum time in seconds for each entry to stay in the map. If it is not 0, entries that are older than this time and not updated for this time are evicted automatically. It can be updated. |
|
false |
0 |
|
Maximum time in seconds for each entry to stay idle in the map. Entries that are idle for more than this time are evicted automatically. It can be updated. |
|
false |
0 |
|
Configuration for removing data from the map when it reaches its max size. It can be updated. |
false |
{maxSize: 0} |
|
|
Indexes to be created for the map data. You can learn more at https://docs.hazelcast.com/hazelcast/latest/query/indexing-maps. It cannot be updated after map config is created successfully. |
false |
- |
|
|
When enabled, map data will be persisted. It cannot be updated after map config is created successfully. |
|
false |
false |
|
HazelcastResourceName defines the name of the Hazelcast resource. It cannot be updated after map config is created successfully. |
|
true |
- |
|
Configuration options when you want to load/store the map entries from/to a persistent data store such as a relational database You can learn more at https://docs.hazelcast.com/hazelcast/latest/data-structures/working-with-external-data |
false |
- |
|
|
InMemoryFormat specifies in which format data will be stored in your map |
false |
BINARY |
MapStatus
MapStatus defines the observed state of Map
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
|
false |
- |
|
|
|
|
false |
- |
|
|
|
false |
- |
MapStoreConfig
Field | Description | Type | Required | Default |
---|---|---|---|---|
|
Sets the initial entry loading mode. |
false |
LAZY |
|
|
Name of your class implementing MapLoader and/or MapStore interface. |
|
true |
- |
|
Number of seconds to delay the storing of entries. |
|
false |
- |
|
Used to create batches when writing to map store. |
|
false |
1 |
|
It is meaningful if you are using write behind in MapStore. When it is set to true, only the latest store operation on a key during the write-delay-seconds will be reflected to MapStore. |
|
false |
true |
|
Properties can be used for giving information to the MapStore implementation |
|
false |
- |
BackupType
BackupType represents the storage options for the HotBackup
Value | Description |
---|---|
|
External backups to the provided cloud provider storage |
|
Local backups to local storage inside the cluster |
CapacityPolicyType
CapacityPolicyType represents the active policy types for the capacity setting
Value | Description |
---|---|
|
CapacityPolicyPerNode is the policy for limiting the maximum number of tasks in each Hazelcast instance |
|
CapacityPolicyPerPartition is the policy for limiting the maximum number of tasks within each partition. |
DataRecoveryPolicyType
DataRecoveryPolicyType represents the options for data recovery policy when the whole cluster restarts.
Value | Description |
---|---|
|
FullRecovery does not allow partial start of the cluster and corresponds to "cluster-data-recovery-policy.FULL_RECOVERY_ONLY" configuration option. |
|
MostRecent allow partial start with the members that have most up-to-date partition table and corresponds to "cluster-data-recovery-policy.PARTIAL_RECOVERY_MOST_RECENT" configuration option. |
|
MostComplete allow partial start with the members that have most complete partition table and corresponds to "cluster-data-recovery-policy.PARTIAL_RECOVERY_MOST_COMPLETE" configuration option. |
ExposeExternallyType
ExposeExternallyType describes how Hazelcast members are exposed.
Value | Description |
---|---|
|
ExposeExternallyTypeSmart exposes each Hazelcast member with a separate external address. |
|
ExposeExternallyTypeUnisocket exposes all Hazelcast members with one external address. |
MemberAccess
MemberAccess describes how each Hazelcast member is accessed from the external client.
Value | Description |
---|---|
|
MemberAccessNodePortExternalIP lets the client access Hazelcast member with the NodePort service and the node external IP/hostname |
|
MemberAccessNodePortNodeName lets the client access Hazelcast member with the NodePort service and the node name |
|
MemberAccessLoadBalancer lets the client access Hazelcast member with the LoadBalancer service |
Phase
Phase represents the current state of the cluster
Value | Description |
---|---|
|
Running phase is the state when all the members of the cluster are successfully started |
|
Failed phase is the state of error during the cluster startup |
|
Pending phase is the state of starting the cluster when not all the members are started yet |
|
Terminating phase is the state where deletion of cluster scoped resources and Hazelcast dependent resources happen |
ExternalConnectivityType
ExternalConnectivityType describes how Management Center is exposed.
Value | Description |
---|---|
|
ExternalConnectivityTypeClusterIP exposes Management Center with ClusterIP service. |
|
ExternalConnectivityTypeNodePort exposes Management Center with NodePort service. |
|
ExternalConnectivityTypeLoadBalancer exposes Management Center with LoadBalancer service. |
EvictionPolicyType
Value | Description |
---|---|
|
Least recently used entries will be removed. |
|
Least frequently used entries will be removed. |
|
No eviction. |
|
Randomly selected entries will be removed. |
InMemoryFormatType
InMemoryFormatType represents the format options for storing the data in the map. For now, we are not exposing NATIVE format type since currently there is no support for High-Density Memory Store feature in the operator.
Value | Description |
---|---|
|
InMemoryFormatBinary Data will be stored in serialized binary format. |
|
InMemoryFormatObject Data will be stored in deserialized form. |
|
InMemoryFormatNative Data will be stored in the map that uses Hazelcast’s High-Density Memory Store feature. |
InitialModeType
Value | Description |
---|---|
|
Loading is asynchronous. It is the default mode. |
|
Loading is blocked until all partitions are loaded. |
MapConfigState
Value | Description |
---|---|
|
|
|
|
|
|
|
Map config is added into all members but waiting for map to be persisten into ConfigMap |
|
|
MaxSizePolicyType
Value | Description |
---|---|
|
Maximum number of map entries in each cluster member. You cannot set the max-size to a value lower than the partition count (which is 271 by default). |
|
Maximum number of map entries within each partition. |
|
Maximum used heap size percentage per map for each Hazelcast instance. If, for example, JVM is configured to have 1000 MB and this value is 10, then the map entries will be evicted when used heap size exceeds 100 MB. It does not work when "in-memory-format" is set to OBJECT. |
|
Maximum used heap size in megabytes per map for each Hazelcast instance. It does not work when "in-memory-format" is set to OBJECT. |
|
Minimum free heap size percentage for each Hazelcast instance. If, for example, JVM is configured to have 1000 MB and this value is 10, then the map entries will be evicted when free heap size is below 100 MB. |
|
Minimum free heap size in megabytes for each Hazelcast instance. |
|
Maximum used native memory size in megabytes per map for each Hazelcast instance. It is available only in Hazelcast Enterprise HD. |
|
Maximum used native memory size percentage per map for each Hazelcast instance. It is available only in Hazelcast Enterprise HD. |
|
Minimum free native memory size in megabytes for each Hazelcast instance. It is available only in Hazelcast Enterprise HD. |
|
Minimum free native memory size percentage for each Hazelcast instance. It is available only in Hazelcast Enterprise HD. |