Comments (2)
PR for this issue is here
from reloader.
I have created a config map and configure that in deployment file. and when i make some changes in configmap .that changes don't reflect in Running Pod.
deployment:--
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
annotations:
configmap.reloader.stakater.com/reload: "nginx-configmap"
spec:
selector:
matchLabels:
app: nginx
replicas: 3 # tells deployment to run 2 pods matching the template
template: # create pods using pod definition in this template
metadata:
# unlike pod-nginx.yaml, the name is not included in the meta data as a unique name is
# generated from the deployment name
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
volumeMounts:
- name: nginx-config1
mountPath: /etc/nginx/conf.d/default.conf
subPath: default.conf
volumes:
- name: nginx-config1
configMap:
name: nginx-configmap
Config Map:---
apiVersion: v1
data:
default.conf: |2
upstream backend {
server 172.27.15.8:8081;
server 192.0.0.1 backup;
}
server {
location / {
proxy_pass http://backend;
}
}
kind: ConfigMap
metadata:
creationTimestamp: 2019-01-18T05:33:31Z
name: nginx-configmap
namespace: default
resourceVersion: "9436168"
selfLink: /api/v1/namespaces/default/configmaps/nginx-configmap
uid: 971e503d-1ae2-11e9-9773-a08cfdc9b1ab
from reloader.
Related Issues (20)
- Add seccompProfile type to default securityContext HOT 1
- [BUG] New pods shortly deleted, and the old pods remains. ArgoCD HOT 11
- [ENHANCE] Allow Reloader to support CRD reloads HOT 3
- [ENHANCE] Set log level HOT 1
- Pipeline sometimes fails at the "Commit Files" step which prevents Release from being created unless manual intervention is done HOT 6
- [ENHANCE]Define memory request and memory limit for reloder-reloader container HOT 4
- [BUG] reload after controller was down does not occur HOT 1
- [BUG] Recent CI authored auto-releases are broken! HOT 11
- [BUG] Image default tag in 1.0.89 set as "vv1.0.89" instead of v1.0.89 HOT 1
- [BUG] GIt modules is using ssh url for theme submodule HOT 5
- namespace selector isn't working @help/Kind HOT 2
- Question: how do I decide between auto, reload, and search/match? HOT 4
- [BUG]- All Pods restart irrespective of liveness check status or rolling update strategy HOT 5
- [BUG] Latest version 1.0.99 isn't available in Helm repo HOT 4
- Race Condition Between Deployment Update and ConfigMap Change HOT 2
- [ENHANCE] Set log level in helm chart HOT 1
- [BUG] Published 1.0.107 chart uses a non-existent container tag HOT 2
- [ENHANCE] Find a different way to release helm charts, instead of commits to master branch HOT 8
- Consider changing release strategy HOT 20
- [ENHANCE] Add a Security Policy on the project and SAST in the CI/CD HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reloader.