Search code examples
kuberneteskubectlcanary-deployment

In canary deployment strategy, redirecting particular user to pod which has new version


I am new to kubernetes just doing little R&D on k8s. was checking out different deployment strategies like rolling update, recreate, blue-green and canary. if am correct the idea behind canary deployment is rolling out new version to set of users. here my questions lets my team has developers and testing team. whenever testing team try to access the application it should redirect to new version of application, is it possible? or canary is only used for having 2 version applications running at same time with one service?


Solution

  • Yes, it is possible if you are using your Kubernetes cluster with isito you can manage the canary deployment move one specific user traffic to a specific version.

    Based on the sticky session also you can manage specific users get each time a new version.

    There are many ways to handle this scenario, for example, you can do it by injecting some headers.

    For specific user pass some specific header and based on that route the traffic from isito to new version.