civic123321 opened a new issue, #23382:
URL: https://github.com/apache/doris/issues/23382

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   2.0
   
   ### What's Wrong?
   
   1FE 3BE 采用k8s部署,FE开启fqdn:
   ```
   priority_networks = 10.0.0.0/8
   enable_deploy_manager = k8s
   enable_fqdn_mode = true
   ``` 
   
   对be新建svc:
   ```
   apiVersion: v1
   kind: Service
   metadata:
     name: doris-be1
     namespace: default
     labels:
       app: doris-be1
   spec:
     type: NodePort
     ports:
       - port: 9060
         name: be-port
       - port: 8040
         name: webserver-port
         targetPort: 8040
         nodePort: 18040
       - port: 9050
         name: heartbeat-port #This name should be fixed. Doris will get the 
port information through this name
       - port: 8060
         name: brpc-port
     selector:
       app: doris-be1
   ``` 
   使用k8s中be的虚拟域名,注册be到fe
   ```
   ALTER SYSTEM ADD BACKEND "doris-be1.default.svc.cluster.local:9050";
   ``` 
   fe报错,无法注册,报错信息如下:
   (10.xxxx.0.xxx)[INTERNAL_ERROR]the host recorded in master is 
doris-be1.default.svc.cluster.local, but we cannot found the local ip that 
mapped to that host.10.xxx.0.xxx
   10.xxx.0.xxx为be对应pod的k8s虚拟ip
   
   
   ### What You Expected?
   
   为什么会报错,如何使用k8s域名注册be到fe,以保证be pod重启后,依然可以恢复数据并使用
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### 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)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to