HI There,
I am having issues deploying images using the helm charts, have tried multiple things as mentioned in some of the topics in this Istio forum and no luck so far
Warning Unhealthy 4m12s (x4 over 4m16s) kubelet Readiness probe failed: Get “http://10.164.33.21:15021/healthz/ready”: dial tcp 10.164.33.21:15021: connect: connection refused
Warning BackOff 4m8s (x5 over 4m15s) kubelet Back-off restarting failed container
My updated yaml file looks like below
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
proxy.istio.io/config: ‘{ “holdApplicationUntilProxyStarts”: true }’
sidecar.istio.io/config: ‘{“rewriteAppHTTPProbers”: false }’
{{- end }}
labels:
{{- include “demo1.selectorLabels” . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include “demo1.serviceAccountName” . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: “{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}”
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 80
protocol: TCP
livenessProbe:
httpGet:
path: /healthz/ready/
port: 15021
scheme: HTTP
readinessProbe:
failureThreshold: 5 # do probe 5 times
httpGet:
path: /healthz/ready
port: 15021
scheme: HTTP
initialDelaySeconds: 1 # delay 1s after appllicaton started
periodSeconds: 2 # 2s period
successThreshold: 1
timeoutSeconds: 3
resources:
Please let me know how do i resolve this
Many Thanks
Raj G.