You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "pan3793 (via GitHub)" <gi...@apache.org> on 2023/09/01 11:18:20 UTC
[GitHub] [kyuubi] pan3793 commented on pull request #5062: [KYUUBI #4788][K8S][HELM] Use StatefulSet instead of Deployment
pan3793 commented on PR #5062:
URL: https://github.com/apache/kyuubi/pull/5062#issuecomment-1702589215
Supply a new advantage of `StatefulSet` over `Deployment`, `Utils.findLocalInetAddress.getCanonicalHostName` returns different values:
- `Deployment`: Pod name, e.g. `kyuubi-bd8f56ddb-59jn5`
- `StatefulSet`: FQDN, e.g. `kyuubi-server-0.kyuubi-headless.spark.svc.cluster.local`
Thus, switching to `StatefulSet` could overcome the errors like
```
Caused by: java.net.UnknownHostException: kyuubi-bd8f56ddb-59jn5
```
when `kyuubi.frontend.connection.url.use.hostname=true` (default is `true`)
--
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: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org