You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the new Pods are created, they will read the *updated* ConfigMap data and set the new environment variables.
88
84
89
-
-----
90
85
91
86
## 2. Consumed as a Mounted Volume
92
87
@@ -131,9 +126,8 @@ This method **does support hot-reloading**, but with two important caveats:
131
126
132
127
If your application only reads its config files on startup, it will behave just like the environment variable method: **it will not see the changes until it is restarted.**
133
128
134
-
-----
135
129
136
-
## Summary: ConfigMap Reload Behavior
130
+
## ConfigMap Reload Behavior Summary
137
131
138
132
Here’s a simple table to remember the differences:
139
133
@@ -146,16 +140,18 @@ Here’s a simple table to remember the differences:
146
140
147
141
If you are using the volume mount method but your application doesn't support live reloading, you can use a "reloader" tool. A popular open-source controller like [**Stakater's Reloader**](https://github.com/stakater/Reloader) can watch for ConfigMap changes and automatically trigger a rolling restart of any Deployment that uses it. This gives you the best of both worlds: configuration in files and automatic updates for apps that can't reload on their own.
148
142
149
-
-----
143
+
<br />
144
+
<hr />
145
+
<br />
146
+
147
+
## Skip the CLI. Power up with Kanvas
150
148
151
149
Alternatively, you can skip the YAML editing and make these changes visually. That is, if you're managing your Kubernetes cluster using Kanvas. Let's break down how to use it to manage your resources, like a `ConfigMap`.
152
150
153
151
## 🤔 What is Kanvas Designer?
154
152
155
153
[Layer5's Kanvas](https://layer5.io/kanvas) is a powerful tool for designing, deploying, and managing your Kubernetes and Cloud infrastructure and workloads from a visual interface. Instead of writing hundreds of lines of YAML by hand, you build a **Design**. This design is a visual representation of your components (`Deployment`, `Service`, `ConfigMap`, etc.) and their relationships.
156
154
157
-
-----
158
-
159
155
## 🎨 How to Update a ConfigMap in Kanvas Designer
160
156
161
157
Updating a `ConfigMap` through the Designer follows this "design-first" workflow. You don't just "edit" the live resource in the cluster; you **update your design** and then **(re-)deploy it**.
0 commit comments