Comments (15)
Many thanks @waseem-h, that fixes it for me.
from reloader.
@jeblackmore The upstream stable helm chart repo is not updated to the latest version and it doesn't support kubernetes 1.16.x. You need to install reloader from our chart repository by running the following(Make sure that you have uninstalled the previous version):
helm repo add stakater https://stakater.github.io/stakater-charts
helm repo update
helm install stakater/reloader
Closing it for now. Feel free to re-open if you still see the issue in the latest version
from reloader.
@aliartiza75 can you plz take a look?
from reloader.
Hi, @jeblackmore,
Kindly share you helm manifest.
from reloader.
Hi.
I haven't created a Helm manifest, I am just doing:
helm install stable/reloader
on the command line.
from reloader.
@jeblackmore Kindly share your deployment manifest.
from reloader.
Do you mean the output of
helm get manifest reloader
?
from reloader.
no, I want the manifest of one of your deployments in which you added the reloader specific annotations.
from reloader.
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "core-demo.name" . }}
labels:
{{ include "core-demo.labels" . | indent 4 }}
annotations:
configmap.reloader.stakater.com/reload: "{{ include "core-demo.name" . }}-configmap"
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "core-demo.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "core-demo.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
{{- with .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ template "core-demo.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 8080
protocol: TCP
envFrom:
- configMapRef:
name: {{ include "core-demo.name" . }}-configmap
# livenessProbe:
# httpGet:
# path: /
# port: http
readinessProbe:
httpGet:
path: /actuator/health
port: http
initialDelaySeconds: 30
timeoutSeconds: 5
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
from reloader.
With the corresponding ConfigMap:
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "core-demo.name" . }}-configmap
labels:
app: {{ include "core-demo.name" . }}
data:
SPRING_APPLICATION_JSON: |-
{
"management": {
"endpoints": {
"web": {
"exposure": {
"include": "{{ .Values.actuatorEndpoints }}"
}
}
}
}
}
from reloader.
I assumed that the error messages in the Pod log indicated that something isn't configured correctly with Reloader rather than with my deployments. Does Reloader just output those errors if it doesn't find any annotated deployments?
from reloader.
@jeblackmore the errors show that it is not able to find the deployments in your cluster. I will try to replicate the scenario to find out the exact issue.
what is the version of your k8s cluster?
from reloader.
Thanks. Its v1.16.2
from reloader.
Hi. Any luck reproducing it?
from reloader.
@jeblackmore. What is the helm version you are currently using?
from reloader.
Related Issues (20)
- [QUESTION] Use reloader with Custom Resource Definitions that create deployments? HOT 3
- Docker Hub tag v1.0.47 exists but no release/tag in this repo HOT 3
- [ENHANCE] Provide helm chart as OCI artifact HOT 1
- [ENHANCE] Documentation for Reloader Chart values.yaml
- [BUG] - Error: POD_NAME not set, cannot run in HA mode without POD_NAME set HOT 3
- [BUG] Missing release v1.0.52 HOT 7
- CPU usage on OpenShift HOT 2
- [ENHANCE] Force a rollout when a sha256 of a image changes HOT 4
- [ENHANCE] add possibility to watch a configmap located in another namespace HOT 1
- [QUESTION] - Possible to set rollout order ? HOT 1
- [ENHANCE] Allow to use auto annotation with specific resource type (configmap or secret) HOT 4
- [BUG] helm labels and annotations are added to k8s manifests built with kustomize HOT 2
- [BUG] Published 1.0.56 chart uses a non-existent container tag HOT 7
- [BUG] Bad/Incorrect Chart Deployed? HOT 4
- [ENHANCE] ArgoCD "restart" instead of starting a new rollout for blue/green.
- User Supplied "podAntiAffinity" is overwritten by "reloader-podAntiAffinity" set in deployment in 1.0.54 HOT 4
- [BUG] SHA-1 hashing should not be used for secret data on owning resource HOT 2
- [BUG] Reloader don't restart pod on secret recreation. HOT 4
- Argo Rollouts blue/green strategy and replicaset ScaleDown issue HOT 3
- [ENHANCE] Re-evaluate using hashes to store secrets for comparisons during upgrade 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.