【问题标题】:Server-side A/B testing WordPress services on Kubernetes with nginx-ingress使用 nginx-ingress 在 Kubernetes 上对 WordPress 服务进行服务器端 A/B 测试
【发布时间】:2021-03-13 20:27:07
【问题描述】:

我想在 Kubernetes 上实现服务器端 A/B 测试。但是我不知道从哪里开始以及最好的策略是什么。

我找到了两种方法,使用 nginx split_client 方法 https://www.nginx.com/blog/performing-a-b-testing-nginx-plus/

或者使用 Kubernetes 金丝雀部署:https://blog.gurock.com/implement-ab-testing-using-kubernetes/

问题:

  1. 由于为正确的 A/B 拆分定义了副本数,服务是否仍能够通过金丝雀部署自动扩展?

  2. 哪种策略看起来更好,有没有我不知道的?

  3. 您有在 Kubernetes 上进行 A/B 网站测试的资源或示例吗?

【问题讨论】:

    标签: wordpress nginx kubernetes kubernetes-ingress ab-testing


    【解决方案1】:

    您可以在入口级别实现此功能。 ingress-nginx 的新版本支持开箱即用的基于权重的金丝雀部署。
    https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#canary

    这里有很好的例子。
    https://medium.com/@domi.stoehr/canary-deployments-on-kubernetes-without-service-mesh-425b7e4cc862

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-05-30
      • 1970-01-01
      • 1970-01-01
      • 2023-03-16
      • 1970-01-01
      • 2021-08-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多