There is no canary release functionality built into the open source version of Kong so if you are using that then you would need to write your own custom plugin.
There is a canary release plugin available under the Enterprise version of Kong (https://docs.konghq.com/hub/kong-inc/canary/). For info on that you’re best off getting in touch with someone from Kong HQ via the website.