We've just completed the release of the Infinispan Operator version 0.2.1. In this second minor release, we've added the following features:
Cluster nodes now discover each other using DNS ping, which uses name lookups. Each node publishes a headless service which they use to locate each other. Previously, Kubernetes APIs were queried to discover other nodes, but this required administrator rights. DNS ping does not require admin permissions.
The Infinispan server image used by the operator is now configurable, e.g.
You can now provide their own custom Infinispan server XML referencing an existing ConfigMap:
Note that this example requires a ConfigMap with the XML file to be created before hand.
We're already working on version 0.3.0, and in parallel we've been working on our first OperatorHub submission. We hope to have some news for you very soon :)
Cheers,
Galder
DNS Cluster Discovery
Cluster nodes now discover each other using DNS ping, which uses name lookups. Each node publishes a headless service which they use to locate each other. Previously, Kubernetes APIs were queried to discover other nodes, but this required administrator rights. DNS ping does not require admin permissions.
Configurable Image
The Infinispan server image used by the operator is now configurable, e.g.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: infinispan.org/v1 | |
kind: Infinispan | |
metadata: | |
name: example-infinispan | |
spec: | |
size: 3 | |
image: jboss/infinispan-server:latest |
Configurable XML
You can now provide their own custom Infinispan server XML referencing an existing ConfigMap:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: infinispan.org/v1 | |
kind: Infinispan | |
metadata: | |
# Sets a name for the Infinispan cluster. | |
name: example-infinispan-custom | |
config: | |
sourceType: ConfigMap | |
# Specifies the name of the ConfigMap. | |
sourceRef: my-config-map | |
# Specifies the custom configuration file. | |
name: my-config.xml | |
spec: | |
# Sets the number of nodes in the cluster. | |
size: 3 |
Next Steps
We're already working on version 0.3.0, and in parallel we've been working on our first OperatorHub submission. We hope to have some news for you very soon :)
Cheers,
Galder
No comments:
Post a Comment