发现kubernetes注释生成configmap

发布于 2025-02-06 03:23:42 字数 167 浏览 1 评论 0原文

我被迫使用某个API网关,该网关(与Traefik不同)不支持基于标签或注释的服务发现。
所需的步骤/资源是什么:

  • 要发现
  • 在注释中的更改中
  • 部署到我的集群行动的微服务的注释,将ConfigMap写回到集群中,

我想象的是

I am forced to use a certain API Gateway which does (unlike traefik) not support service discovery based on labels or annotations.
What are the required steps / resources:

  • to discover annotations of microservices deployed to my cluster
  • act upon a change in the annotation
  • write a ConfigMap back to the cluster

I was imagining something like stakater/Reloader. There I can see basically the Go project and some permissions to read the existing resources in the cluster.
Any tips, points in the right direction / tutorials on how to tackle this would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文