Remove liveness probes

This commit is contained in:
Mehran Kholdi 2020-11-08 03:21:01 +03:30
parent 05c661165f
commit 9bafb101ac
3 changed files with 1 additions and 33 deletions

View File

@ -2,4 +2,4 @@ apiVersion: v2
name: rawfile-csi name: rawfile-csi
description: RawFile Driver Container Storage Interface description: RawFile Driver Container Storage Interface
type: application type: application
version: 0.4.1 version: 0.4.10

View File

@ -58,24 +58,8 @@ spec:
ports: ports:
- name: csi-probe - name: csi-probe
containerPort: 9808 containerPort: 9808
livenessProbe:
failureThreshold: 5
httpGet:
path: /healthz
port: csi-probe
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 2
resources: resources:
{{- toYaml .Values.controller.resources | nindent 12 }} {{- toYaml .Values.controller.resources | nindent 12 }}
- name: liveness-probe
image: k8s.gcr.io/sig-storage/livenessprobe:v2.1.0
imagePullPolicy: IfNotPresent
args:
- --csi-address=/csi/csi.sock
volumeMounts:
- name: socket-dir
mountPath: /csi
- name: external-provisioner - name: external-provisioner
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.0.0 image: k8s.gcr.io/sig-storage/csi-provisioner:v2.0.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent

View File

@ -80,14 +80,6 @@ spec:
containerPort: 9100 containerPort: 9100
- name: csi-probe - name: csi-probe
containerPort: 9808 containerPort: 9808
livenessProbe:
failureThreshold: 5
httpGet:
path: /healthz
port: csi-probe
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 2
volumeMounts: volumeMounts:
- name: socket-dir - name: socket-dir
mountPath: /csi mountPath: /csi
@ -98,14 +90,6 @@ spec:
mountPath: /data mountPath: /data
resources: resources:
{{- toYaml .Values.node.resources | nindent 12 }} {{- toYaml .Values.node.resources | nindent 12 }}
- name: liveness-probe
image: k8s.gcr.io/sig-storage/livenessprobe:v2.1.0
imagePullPolicy: IfNotPresent
args:
- --csi-address=/csi/csi.sock
volumeMounts:
- name: socket-dir
mountPath: /csi
- name: node-driver-registrar - name: node-driver-registrar
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.0.1 image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.0.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent