Here's an overview in English: How to change the user of an already established session using the Django shell. Please do not attempt this in a production environment as it can be dangerous.
If within the same namespace, name resolution can be performed using the metadata.name of the Service.