I was able to get run ray.state.actors() inside ray cluster deployed on minikube by deploying another actor, strangely one of the actors does not have an IP address, here is the output with a warning:
WARNING: 3 PYTHON workers have been started on a node of the id: fdd43e9454dad6194cfee89d5d7838a4501b7f8286f1feb6fec8c124 and address: 172.17.0.5. This could be a result of using a large number of actors, or it could be a consequence of using nested tasks (see https://github.com/ray-project/ray/issues/3644) for some a discussion of workarounds. {'52f9757c7e3593056e42024a14000000': {'ActorID': '52f9757c7e3593056e42024a14000000', 'Name': '', 'JobID': '14000000', 'Address': {'IPAddress': '172.17.0.5', 'Port': 10003, 'NodeID': 'fdd43e9454dad6194cfee89d5d7838a4501b7f8286f1feb6fec8c124'}, 'OwnerAddress': {'IPAddress': '172.17.0.4', 'Port': 10022, 'NodeID': '6962fd9e65407b74ae3493d7a1679eba46af9d9b072cd5fe2c8cdfb3'}, 'State': 2, 'NumRestarts': 0, 'Timestamp': 1628773717963.0, 'StartTime': 1628773717963, 'EndTime': 0}, '305b193426974e06ad878a6b14000000': {'ActorID': '305b193426974e06ad878a6b14000000', 'Name': '', 'JobID': '14000000', 'Address': {'IPAddress': '', 'Port': 0, 'NodeID': 'fdd43e9454dad6194cfee89d5d7838a4501b7f8286f1feb6fec8c124'}, 'OwnerAddress': {'IPAddress': '172.17.0.4', 'Port': 10022, 'NodeID': '6962fd9e65407b74ae3493d7a1679eba46af9d9b072cd5fe2c8cdfb3'}, 'State': 1, 'NumRestarts': 0, 'Timestamp': 0.0, 'StartTime': 0, 'EndTime': 0}}
Hello, @ericl thanks for your reply. ray.state.actors() API is helpful to us to discover actors running on different ray nodes. we are using this API for our use case currently. Can you advise if there is another public API that can help us get actor details from GCS?