Canary release in k8S

if we use kong ingress controll and how could we implement Canary release , maybe we could not know the clusterip of target,.
For implement Canary release ,the nginx ingress could add servicename to annotation.

nginx.ingress.kubernetes.io/service-weight: | 
    <new-svc-name>:<new-svc-weight>, <old-svc-name>:<old-svc-weight>

For kong ,how could we deal the function?

I don’t know that there’s an easy way to do with this the controller alone. If what you have can effectively be handled with RollingUpdate configuration alone, that probably suffices without further configuration: the controller will update targets (with equal weight) as new service endpoints come online.

If you need more complex logic, while there’s nothing in the controller that handles this (I may be wrong; @hbagdi do you know of anything?), the Kuma Traffic Route policy is intended for canary release handling and is compatible with the controller. Would that work for you?

Can you provide any documentation on this NGINX ingress feature? I wasn’t able to find anything official on it, and am not sure I fully understand how it functions.

Kong Ingress Controller doesn’t support canary release (unless you use the canary routing plugin in Kong Enterprise).


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ