Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-4567

[CLI] Kubernetes mode - user needs to be aware of pod IP for shell command

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • RHDG 8.3 CD
    • RHDG 8.2 CD
    • CLI
    • None

      Even when user specifies particular pod to connect to, he needs to find it's IP to be able to connect. It would be nice if the connect command in the pod would work ootb.

      $ ./oc infinispan shell --podName datagrid-service-0
      [disconnected]> connect
      connect
      Could not connect to server: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:11222
      

      Note: connect works as expected with `-Dinfinispan.bind.address=0.0.0.0`

              ttarrant@redhat.com Tristan Tarrant
              pdrobek@redhat.com Pavel Drobek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: