apache / apache/solr-operator

Ability to set custom hostname for SolrCloud

Open
#667 2 comments 2 reactions 0 assignees View on GitHub
enhancement networking
Dominant language
Go
Stars
283
Forks
148
PR merge metrics
No merged PRs in 30d

Description

Hello,

Much like the `addressability.external.domainName` value in the SolrCloud resource, it would be helpful to have something like `addressability.external.hostName` to specify a particular hostname for external accessibility. It appears now that the hostname is always set to `--solrcloud` (https://github.com/apache/solr-operator/blob/main/api/v1beta1/solrcloud_types.go#L1339) which is a bit redundant for my team's implementation of one SolrCloud per namespace (we end up with something like `solralpha-solralpha-solrcloud.domain.com`).

Thanks for your consideration!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in api/v1beta1/solrcloud_types.go around line 1339 and trace how addressability.external.domainName produces the external hostname for a SolrCloud. Check the related resource-generation entry points and existing tests, then confirm that a configured external hostName is honored without breaking the current default; done means the custom hostname is reflected in the generated external address.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.