You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,13 @@ Please visit the following pages for documentation on using and developing the S
43
43
44
44
## Version Compatibility & Upgrade Notes
45
45
46
+
#### v0.2.6
47
+
- The solr-operator argument `--ingressBaseDomain` has been **DEPRECATED**.
48
+
In order to set the external baseDomain of your clouds, please begin to use `SolrCloud.spec.solrAddressability.external.domainName` instead.
49
+
You will also need to set `SolrCloud.spec.solrAddressability.external.method` to `Ingress`.
50
+
The `--ingressBaseDomain` argument is backwards compatible, and all existing SolrCloud objects will be auto-updated once your operator is upgraded to `v0.2.6`.
51
+
The argument will be removed in a future version (`v0.3.0`).
52
+
46
53
#### v0.2.4
47
54
- The default supported version of the Zookeeper Operator has been upgraded to `v0.2.6`.
48
55
If you are using the provided zookeeper option for your SolrClouds, then you will want to upgrade your zookeeper operator version as well as the version and image of the zookeeper that you are running.
// DEPRECATED: ingressBaseDomain will be removed in v0.3.0
248
+
ifopts.External==nil&&ingressBaseDomain!="" {
249
+
changed=true
250
+
opts.External=&ExternalAddressability{
251
+
Method: Ingress,
252
+
DomainName: ingressBaseDomain,
253
+
UseExternalAddress: true,
254
+
NodePortOverride: 80,
255
+
}
256
+
} elseifopts.External!=nil {
257
+
changed=opts.External.withDefaults()
258
+
}
259
+
ifopts.PodPort==0 {
260
+
changed=true
261
+
opts.PodPort=8983
262
+
}
263
+
ifopts.CommonServicePort==0 {
264
+
changed=true
265
+
opts.CommonServicePort=80
266
+
}
267
+
returnchanged
268
+
}
269
+
270
+
// ExternalAddressability defines the config for making Solr services available externally to kubernetes.
271
+
// Be careful when using LoadBalanced and includeNodes, as many IP addresses could be created if you are running many large solrClouds.
272
+
typeExternalAddressabilitystruct {
273
+
// The way in which this SolrCloud's service(s) should be made addressable externally.
274
+
MethodExternalAddressabilityMethod`json:"method"`
275
+
276
+
// Use the external address to advertise the SolrNode, defaults to false.
277
+
//
278
+
// If false, the external address will be available, however Solr (and clients using the CloudSolrClient in SolrJ) will only be aware of the internal URLs.
279
+
// If true, Solr will startup with the hostname of the external address.
280
+
//
281
+
// NOTE: This option cannot be true when hideNodes is set to true. So it will be auto-set to false if that is the case.
282
+
//
283
+
// Deprecation warning: When an ingress-base-domain is passed in to the operator, this value defaults to true.
284
+
// +optional
285
+
UseExternalAddressbool`json:"useExternalAddress"`
286
+
287
+
// Do not expose the common Solr service externally. This affects a single service.
288
+
// Defaults to false.
289
+
// +optional
290
+
HideCommonbool`json:"hideCommon,omitempty"`
291
+
292
+
// Do not expose each of the Solr Node services externally.
293
+
// The number of services this affects could range from 1 (a headless service for ExternalDNS) to the number of Solr pods your cloud contains (individual node services for Ingress/LoadBalancer).
294
+
// Defaults to false.
295
+
// +optional
296
+
HideNodesbool`json:"hideNodes,omitempty"`
297
+
298
+
// Override the domainName provided as startup parameters to the operator, used by ingresses and externalDNS.
299
+
// The common and/or node services will be addressable by unique names under the given domain.
300
+
// e.g. default-example-solrcloud.given.domain.name.com
301
+
//
302
+
// This options will be required for the Ingress and ExternalDNS methods once the ingressBaseDomain startup parameter is removed.
303
+
//
304
+
// For the LoadBalancer method, this field is optional and will only be used when useExternalAddress=true.
305
+
// If used with the LoadBalancer method, you will need DNS routing to the LoadBalancer IP address through the url template given above.
306
+
// +optional
307
+
DomainNamestring`json:"domainName,omitempty"`
308
+
309
+
// Provide additional domainNames that the Ingress or ExternalDNS should listen on.
310
+
// This option is ignored with the LoadBalancer method.
// NodePortOverride defines the port to have all Solr node service(s) listen on and advertise itself as if advertising through an Ingress or LoadBalancer.
315
+
// This overrides the default usage of the podPort.
316
+
//
317
+
// This is option is only used when HideNodes=false, otherwise the the port each Solr Node will advertise itself with the podPort.
318
+
// This option is also unavailable with the ExternalDNS method.
319
+
//
320
+
// If using method=Ingress, your ingress controller is required to listen on this port.
321
+
// If your ingress controller is not listening on the podPort, then this option is required for solr to be addressable via an Ingress.
322
+
//
323
+
// Defaults to 80 if HideNodes=false and method=Ingress, otherwise this is optional.
0 commit comments