Vittorio Rigamonti created ISPN-10039:
-----------------------------------------
Summary: Create a cluster without defining cluster size, default should be 1
node
Key: ISPN-10039
URL:
https://issues.jboss.org/browse/ISPN-10039
Project: Infinispan
Issue Type: Feature Request
Components: Operator
Reporter: Vittorio Rigamonti
Assignee: Vittorio Rigamonti
All the int32 fields non specified in the .yaml file are defaulted to 0.
The code to default to 1 the spec.size field can be easily added.
The side effect of this is that the spec.size field cannot be 0 neither if explicitly set
in the yaml.
The 0 value could be used for a clean shoutdown of the StatefulSet, see
[here|https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#limitations].
Is this ok?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)