rorth
September 16, 2019, 9:08pm
1
A few months ago, a change was made to support http only/secure session affinity cookies (https://github.com/containous/traefik/issues/4738 ). However I do not see an annotation for enabling this on Kubernetes (https://docs.traefik.io/configuration/backends/kubernetes/ )? Do such annotations exist?
If not, what is the best way to enable this feature for traefik in Kubernetes?
ldez
September 16, 2019, 9:18pm
2
Hello,
As you can see the milestone of the issue #4738 and the related PR #4947 is v2.0
.
So the change has been added to the v2 of Traefik.
https://docs.traefik.io/v2.0/routing/services/#sticky-sessions
rorth
September 16, 2019, 9:54pm
3
Thank you for your response, but in the documentation I do not see any kind of reference to an annotation that can be used to enable this feature on Kubernetes (regardless of the version of traefik). My question is more along the lines of whether an annotation exists for enabling this?
ldez
September 16, 2019, 10:05pm
4
In the v2 the annotations has been dropped in favor of our CRD (IngressRoute).
https://docs.traefik.io/v2.0/providers/kubernetes-crd/
rorth
September 16, 2019, 10:06pm
5
I understand. I will research more on the topic. Thank you!
rorth
September 16, 2019, 10:39pm
6
One more follow up question: what are the plans to update the Helm chart to support traefik 2.0?