22
22
*
23
23
* @since 2.0
24
24
*/
25
- @ Description ("An element representing a cluster in the domain configuration." )
26
25
public class Cluster extends BaseConfiguration implements Comparable <Cluster > {
27
26
/** The name of the cluster. Required. */
28
- @ Description ("The name of this cluster. Required" )
27
+ @ Description ("The name of the cluster. This value must match the name of a WebLogic cluster already defined "
28
+ + "in the WebLogic domain configuration. Required." )
29
29
@ Nonnull
30
30
private String clusterName ;
31
31
32
32
/** The number of replicas to run in the cluster, if specified. */
33
- @ Description ("The number of cluster members to run." )
33
+ @ Description (
34
+ "The number of cluster member Managed Server instances to start for this WebLogic cluster. "
35
+ + "The operator will sort cluster member Managed Server names from the WebLogic domain "
36
+ + "configuration by normalizing any numbers in the Managed Server name and then sorting alphabetically. "
37
+ + "This is done so that server names such as \" managed-server10\" come after \" managed-server9\" . "
38
+ + "The operator will then start Managed Server instances from the sorted list, "
39
+ + "up to the `replicas` count, unless specific Managed Servers are specified as "
40
+ + "starting in their entry under the `managedServers` field. In that case, the specified Managed Server "
41
+ + "instances will be started and then additional cluster members "
42
+ + "will be started, up to the `replicas` count, by finding further cluster members in the sorted list that are "
43
+ + "not already started. If cluster members are started "
44
+ + "because of their related entries under `managedServers`, then this cluster may have more cluster members "
45
+ + "running than its `replicas` count. Defaults to 0." )
34
46
@ Range (minimum = 0 )
35
47
private Integer replicas ;
36
48
@@ -42,34 +54,36 @@ public class Cluster extends BaseConfiguration implements Comparable<Cluster> {
42
54
* @since 2.0
43
55
*/
44
56
@ EnumClass (value = ServerStartPolicy .class , qualifier = "forCluster" )
45
- @ Description (
46
- "The strategy for deciding whether to start a server. "
47
- + "Legal values are NEVER, or IF_NEEDED." )
57
+ @ Description ("The strategy for deciding whether to start a WebLogic Server instance. "
58
+ + "Legal values are NEVER, or IF_NEEDED. Defaults to IF_NEEDED. "
59
+ + "More info: https://oracle.github.io/weblogic-kubernetes-operator/userguide/managing-domains/"
60
+ + "domain-lifecycle/startup/#starting-and-stopping-servers." )
48
61
private String serverStartPolicy ;
49
62
50
63
@ Description (
51
64
"The maximum number of cluster members that can be temporarily unavailable. Defaults to 1." )
52
65
@ Range (minimum = 1 )
53
66
private Integer maxUnavailable ;
54
67
55
- @ Description ("Customization affecting ClusterIP Kubernetes services for the WebLogic cluster." )
68
+ @ Description ("Customization affecting Kubernetes Service generated for this WebLogic cluster." )
56
69
@ SerializedName ("clusterService" )
57
70
@ Expose
58
71
private KubernetesResource clusterService = new KubernetesResource ();
59
72
60
- @ Description ("If true (the default), then the number of replicas is allowed to drop below the "
61
- + "minimum dynamic cluster size configured in the WebLogic domain home configuration. "
62
- + "Otherwise, the operator will ensure that the number of replicas is not less than "
63
- + "the minimum dynamic cluster setting. This setting applies to dynamic clusters only."
73
+ @ Description ("Specifies whether the number of running cluster members is allowed to drop below the "
74
+ + "minimum dynamic cluster size configured in the WebLogic domain configuration. "
75
+ + "Otherwise, the operator will ensure that the number of running cluster members is not less than "
76
+ + "the minimum dynamic cluster setting. This setting applies to dynamic clusters only. "
77
+ + "Defaults to true."
64
78
)
65
79
private Boolean allowReplicasBelowMinDynClusterSize ;
66
80
67
81
@ Description (
68
- "The maximum number of Managed Servers that the operator will start in parallel "
69
- + "for the cluster in response to a change in replicas count for the cluster . "
70
- + "If more Managed Servers need to be started, the operator will wait until a Managed "
71
- + "Server pod is in the `Ready` and `Running` state before starting the next Managed Server. "
72
- + "A value of 0 (the default) means all Managed Servers will start in parallel."
82
+ "The maximum number of Managed Servers instances that the operator will start in parallel "
83
+ + "for this cluster in response to a change in the ` replicas` count. "
84
+ + "If more Managed Server instances must be started, the operator will wait until a Managed "
85
+ + "Server Pod is in the `Ready` state before starting the next Managed Server instance . "
86
+ + "A value of 0 means all Managed Server instances will start in parallel. Defaults to 0 ."
73
87
)
74
88
@ Range (minimum = 0 )
75
89
private Integer maxConcurrentStartup ;
0 commit comments