apache / apache/doris-operator

[Bug] 部署存算分离集群,FE无法解析计算节点POD域名,SVC需要改成Headless类型

Open
#450 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
138
Forks
72
Avg merge
5d 12h
Merged PRs (30d)
3

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/doris-operator/issues?q=is%3Aissue) and found no similar issues.

### Version

apache/doris:operator-25.7.0

### What's Wrong?

Image

RuntimeLogger 2025-10-31 07:47:40,153 WARN (dns_cache_pool-0|97) [NetUtils.getIpByHost():105] Get IP by host failed, hostname: doris-cluster-test-compute-cg1-0.doris-cluster-test-compute-cg1.bigdata-test.svc.cluster.local, remaining retryTimes: 0
java.net.UnknownHostException: doris-cluster-test-compute-cg1-0.doris-cluster-test-compute-cg1.bigdata-test.svc.cluster.local: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?]
at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:933) ~[?:?]
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1519) ~[?:?]

Image

### What You Expected?

计算节点增加headless类型的service,并在注册FE时,使用headless 域名

### How to Reproduce?

通过helm安装存算分离集群就能重现

### Anything Else?

没有

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.