You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "hyperbolic2346 (via GitHub)" <gi...@apache.org> on 2023/06/01 15:25:21 UTC

[GitHub] [kyuubi] hyperbolic2346 commented on issue #4817: :memo: Fix/Add High Availability documentation for Kubernetes and etcd

hyperbolic2346 commented on issue #4817:
URL: https://github.com/apache/kyuubi/issues/4817#issuecomment-1572264428

   To keep this thread updated, I attempted to verify that multiple pods would provide HA, but only one of the pods knew about the session.
   ```
   $ curl -v 127.0.0.1:10099/api/v1/sessions
   *   Trying 127.0.0.1:10099...
   * Connected to 127.0.0.1 (127.0.0.1) port 10099 (#0)
   > GET /api/v1/sessions HTTP/1.1
   > Host: 127.0.0.1:10099
   > User-Agent: curl/7.88.1
   > Accept: */*
   > 
   < HTTP/1.1 200 OK
   < Date: Thu, 01 Jun 2023 05:11:19 GMT
   < Content-Type: application/json
   < Content-Length: 3990
   < Server: Jetty(9.4.50.v20221201)
   < 
   * Connection #0 to host 127.0.0.1 left intact
   [{"identifier":"7eb813ea-014b-4b1c-a0c8-35f4064a0303","user":"anonymous","ipAddr":"192.168.7.32","conf":{"kyuubi.session.real.user":"anonymous","spark.kubernetes.namespace":"default","sessionType":"INTERACTIVE","kyuubi.session.name":"test_cluster"
   ...
   ```
   and the other pod 
   ```
   $ curl -v 127.0.0.1:10099/api/v1/sessions
   *   Trying 127.0.0.1:10099...
   * Connected to 127.0.0.1 (127.0.0.1) port 10099 (#0)
   > GET /api/v1/sessions HTTP/1.1
   > Host: 127.0.0.1:10099
   > User-Agent: curl/7.88.1
   > Accept: */*
   > 
   < HTTP/1.1 200 OK
   < Date: Thu, 01 Jun 2023 05:11:36 GMT
   < Content-Type: application/json
   < Content-Length: 2
   < Server: Jetty(9.4.50.v20221201)
   < 
   * Connection #0 to host 127.0.0.1 left intact
   ```
   
   So it seem that zookeeper or now etcd, if I am reading the PR from @hddong correctly, is required for HA.


-- 
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