英文:
Expose azure app configuration as env var or config map in AKS service
问题
我的要求是在我的Spring Boot微服务中(部署在AKS上)使用Azure应用配置作为环境变量或配置映射,因为我无法更新该服务以使用MS文档中提到的起始包。
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-appconfiguration-config-web</artifactId>
<version>5.2.0</version>
</dependency>
如何实现这一目标的最佳方法。
谢谢!
英文:
My requirement is to use azure app configuration in my spring boot microservice (deployed on AKS) as environment variable or config map, since I cannot update the service to use the starter package as mentioned in MS documentation.
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-appconfiguration-config-web</artifactId>
<version>5.2.0</version>
</dependency>
What is the best approach to achieve this.
Thanks!
答案1
得分: 1
要在Kubernetes中使用Azure App Configuration但不更改应用程序代码,可以使用Azure App Configuration Kubernetes Provider。可以在以下文档中找到更多信息。
https://learn.microsoft.com/azure/azure-app-configuration/quickstart-azure-kubernetes-service
英文:
To use Azure App Configuration in Kubernetes but without changing app code, you can use Azure App Configuration Kubernetes Provider. More information can be found in the document below.
https://learn.microsoft.com/azure/azure-app-configuration/quickstart-azure-kubernetes-service
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论