---
title: "Discussion on \"用 Sidecar 应用 Configmap 更新\" | Hashnode"
description: "Discussion on \"用 Sidecar 应用 Configmap 更新\". 在 Kubernetes 的使用过程中，很多人会使用 Configmap 资源来进行配置文件的加载。Configmap 对象是支持热更新的，也就是说，对 Configmap 的变更，会同时反应到加载该 Configmap 的 Pod 之中。但美中不足的是，很多应用都不会检测配置文件的更新，因此就算是通过对 Configmap 的变更，完成了配置文件的修改，应用还是无法做出即时的响应的。可以在外部进行滚动更新；或者改写业务容器，监控文件变化之后重新启动业务进程。\n在 Kubernetes 1.10..."
url: "https://hashnode.com/posts/yong-sidecar-ying-yong-configmap-geng-xin/68173a0818dd8641f11ba05d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [用 Sidecar 应用 Configmap 更新](https://blog.fleeto.us/yong-sidecar-ying-yong-configmap-geng-xin?utm_source=hashnode&utm_medium=feed)

在 Kubernetes 的使用过程中，很多人会使用 Configmap 资源来进行配置文件的加载。Configmap 对象是支持热更新的，也就是说，对 Configmap 的变更，会同时反应到加载该 Configmap 的 Pod 之中。但美中不足的是，很多应用都不会检测配置文件的更新，因此就算是通过对 Configmap 的变更，完成了配置文件的修改，应用还是无法做出即时的响应的。可以在外部进行滚动更新；或者改写业务容器，监控文件变化之后重新启动业务进程。 在 Kubernetes 1.10...

May 16, 2019 · 2 min read · blog.fleeto.us  
Read the article

-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#configmap](https://hashnode.com/tag/configmap)

## Written by

[崔秀龙](https://hashnode.com/@dustise)

@dustise · China

  
[View profile](https://hashnode.com/@dustise)

Cloud Native, Automation, Architect

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
