Suppose that I have a UserService in my Microservice Architecture deployed on the cloud. There is a Service Discovery for routing the requests to different host of UserService.
If I have two different versions of UserService. Lets say user-service-1.0 and user-service-2.0 and part of clients should still use older version, then how this can be managed in Microservice Architecture.
For backward compatibility, see Product Versioning Microservices, in general Semantic Versioning is advised by many...
In the broader sense - there should be an agreed phase-out roadmap for major versions, that is communicated to API consumers (together with SLAs). This is why tracking who uses your APIs is important.