diff --git a/charts/netdata/templates/child/daemonset.yaml b/charts/netdata/templates/child/daemonset.yaml index 049796c..d3dfb76 100644 --- a/charts/netdata/templates/child/daemonset.yaml +++ b/charts/netdata/templates/child/daemonset.yaml @@ -133,20 +133,20 @@ spec: containerPort: {{ tpl (.Values.child.port | toString) . }} protocol: TCP livenessProbe: - httpGet: - host: {{ .Values.child.livenessProbe.httpGet.host }} - path: /api/v1/info - port: http + exec: + command: + - /usr/sbin/netdatacli + - ping initialDelaySeconds: {{ .Values.child.livenessProbe.initialDelaySeconds }} failureThreshold: {{ .Values.child.livenessProbe.failureThreshold }} periodSeconds: {{ .Values.child.livenessProbe.periodSeconds }} successThreshold: {{ .Values.child.livenessProbe.successThreshold }} timeoutSeconds: {{ .Values.child.livenessProbe.timeoutSeconds }} readinessProbe: - httpGet: - host: {{ .Values.child.readinessProbe.httpGet.host }} - path: /api/v1/info - port: http + exec: + command: + - /usr/sbin/netdatacli + - ping initialDelaySeconds: {{ .Values.child.readinessProbe.initialDelaySeconds }} failureThreshold: {{ .Values.child.readinessProbe.failureThreshold }} periodSeconds: {{ .Values.child.readinessProbe.periodSeconds }} diff --git a/charts/netdata/templates/k8s-state/deployment.yaml b/charts/netdata/templates/k8s-state/deployment.yaml index e21c3e0..c0d4b9a 100644 --- a/charts/netdata/templates/k8s-state/deployment.yaml +++ b/charts/netdata/templates/k8s-state/deployment.yaml @@ -92,18 +92,20 @@ spec: containerPort: {{ tpl (.Values.k8sState.port | toString) . }} protocol: TCP livenessProbe: - httpGet: - path: /api/v1/info - port: http + exec: + command: + - /usr/sbin/netdatacli + - ping initialDelaySeconds: {{ .Values.k8sState.livenessProbe.initialDelaySeconds }} failureThreshold: {{ .Values.k8sState.livenessProbe.failureThreshold }} periodSeconds: {{ .Values.k8sState.livenessProbe.periodSeconds }} successThreshold: {{ .Values.k8sState.livenessProbe.successThreshold }} timeoutSeconds: {{ .Values.k8sState.livenessProbe.timeoutSeconds }} readinessProbe: - httpGet: - path: /api/v1/info - port: http + exec: + command: + - /usr/sbin/netdatacli + - ping initialDelaySeconds: {{ .Values.k8sState.readinessProbe.initialDelaySeconds }} failureThreshold: {{ .Values.k8sState.readinessProbe.failureThreshold }} periodSeconds: {{ .Values.k8sState.readinessProbe.periodSeconds }} diff --git a/charts/netdata/templates/parent/deployment.yaml b/charts/netdata/templates/parent/deployment.yaml index 345fe88..4f99cde 100644 --- a/charts/netdata/templates/parent/deployment.yaml +++ b/charts/netdata/templates/parent/deployment.yaml @@ -96,18 +96,20 @@ spec: containerPort: {{ .Values.parent.port }} protocol: TCP livenessProbe: - httpGet: - path: /api/v1/info - port: http + exec: + command: + - /usr/sbin/netdatacli + - ping initialDelaySeconds: {{ .Values.parent.livenessProbe.initialDelaySeconds }} failureThreshold: {{ .Values.parent.livenessProbe.failureThreshold }} periodSeconds: {{ .Values.parent.livenessProbe.periodSeconds }} successThreshold: {{ .Values.parent.livenessProbe.successThreshold }} timeoutSeconds: {{ .Values.parent.livenessProbe.timeoutSeconds }} readinessProbe: - httpGet: - path: /api/v1/info - port: http + exec: + command: + - /usr/sbin/netdatacli + - ping initialDelaySeconds: {{ .Values.parent.readinessProbe.initialDelaySeconds }} failureThreshold: {{ .Values.parent.readinessProbe.failureThreshold }} periodSeconds: {{ .Values.parent.readinessProbe.periodSeconds }} diff --git a/charts/netdata/values.yaml b/charts/netdata/values.yaml index d4ff065..24eb38e 100644 --- a/charts/netdata/values.yaml +++ b/charts/netdata/values.yaml @@ -252,16 +252,12 @@ child: # memory: 4096Mi livenessProbe: - httpGet: - host: "" initialDelaySeconds: 0 failureThreshold: 3 periodSeconds: 30 successThreshold: 1 timeoutSeconds: 1 readinessProbe: - httpGet: - host: "" initialDelaySeconds: 0 failureThreshold: 3 periodSeconds: 30