Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1000 from pohly/probes
Browse files Browse the repository at this point in the history
Probes
  • Loading branch information
avalluri authored Jun 16, 2021
2 parents 58653fc + 765b13f commit a26e566
Show file tree
Hide file tree
Showing 29 changed files with 1,423 additions and 0 deletions.
54 changes: 54 additions & 0 deletions deploy/kubernetes-1.19/direct/pmem-csi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,15 @@ spec:
fieldPath: metadata.namespace
image: intel/pmem-csi-driver:canary
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: pmem-driver
ports:
- containerPort: 10010
Expand All @@ -390,6 +399,15 @@ spec:
memory: 128Mi
securityContext:
readOnlyRootFilesystem: true
startupProbe:
failureThreshold: 60
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
terminationMessagePath: /dev/termination-log
volumeMounts:
- mountPath: /certs
Expand Down Expand Up @@ -463,6 +481,15 @@ spec:
value: /tmp/termination-log
image: intel/pmem-csi-driver:canary
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: pmem-driver
ports:
- containerPort: 10010
Expand All @@ -474,6 +501,15 @@ spec:
securityContext:
privileged: true
runAsUser: 0
startupProbe:
failureThreshold: 300
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
terminationMessagePath: /tmp/termination-log
volumeMounts:
- mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi
Expand Down Expand Up @@ -534,6 +570,15 @@ spec:
fieldPath: spec.nodeName
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: external-provisioner
ports:
- containerPort: 10011
Expand All @@ -544,6 +589,15 @@ spec:
memory: 128Mi
securityContext:
readOnlyRootFilesystem: true
startupProbe:
failureThreshold: 300
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
volumeMounts:
- mountPath: /csi
name: socket-dir
Expand Down
54 changes: 54 additions & 0 deletions deploy/kubernetes-1.19/direct/testing/pmem-csi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,15 @@ spec:
fieldPath: metadata.namespace
image: intel/pmem-csi-driver-test:canary
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: pmem-driver
ports:
- containerPort: 10010
Expand All @@ -392,6 +401,15 @@ spec:
memory: 128Mi
securityContext:
readOnlyRootFilesystem: true
startupProbe:
failureThreshold: 60
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
terminationMessagePath: /dev/termination-log
volumeMounts:
- mountPath: /certs
Expand Down Expand Up @@ -487,6 +505,15 @@ spec:
value: /tmp/termination-log
image: intel/pmem-csi-driver-test:canary
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: pmem-driver
ports:
- containerPort: 10010
Expand All @@ -498,6 +525,15 @@ spec:
securityContext:
privileged: true
runAsUser: 0
startupProbe:
failureThreshold: 300
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
terminationMessagePath: /tmp/termination-log
volumeMounts:
- mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi
Expand Down Expand Up @@ -562,6 +598,15 @@ spec:
fieldPath: spec.nodeName
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: external-provisioner
ports:
- containerPort: 10011
Expand All @@ -572,6 +617,15 @@ spec:
memory: 128Mi
securityContext:
readOnlyRootFilesystem: true
startupProbe:
failureThreshold: 300
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
volumeMounts:
- mountPath: /csi
name: socket-dir
Expand Down
54 changes: 54 additions & 0 deletions deploy/kubernetes-1.19/lvm/pmem-csi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,15 @@ spec:
fieldPath: metadata.namespace
image: intel/pmem-csi-driver:canary
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: pmem-driver
ports:
- containerPort: 10010
Expand All @@ -390,6 +399,15 @@ spec:
memory: 128Mi
securityContext:
readOnlyRootFilesystem: true
startupProbe:
failureThreshold: 60
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
terminationMessagePath: /dev/termination-log
volumeMounts:
- mountPath: /certs
Expand Down Expand Up @@ -463,6 +481,15 @@ spec:
value: /tmp/termination-log
image: intel/pmem-csi-driver:canary
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: pmem-driver
ports:
- containerPort: 10010
Expand All @@ -474,6 +501,15 @@ spec:
securityContext:
privileged: true
runAsUser: 0
startupProbe:
failureThreshold: 300
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
terminationMessagePath: /tmp/termination-log
volumeMounts:
- mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi
Expand Down Expand Up @@ -534,6 +570,15 @@ spec:
fieldPath: spec.nodeName
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: external-provisioner
ports:
- containerPort: 10011
Expand All @@ -544,6 +589,15 @@ spec:
memory: 128Mi
securityContext:
readOnlyRootFilesystem: true
startupProbe:
failureThreshold: 300
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
volumeMounts:
- mountPath: /csi
name: socket-dir
Expand Down
54 changes: 54 additions & 0 deletions deploy/kubernetes-1.19/lvm/testing/pmem-csi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,15 @@ spec:
fieldPath: metadata.namespace
image: intel/pmem-csi-driver-test:canary
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: pmem-driver
ports:
- containerPort: 10010
Expand All @@ -392,6 +401,15 @@ spec:
memory: 128Mi
securityContext:
readOnlyRootFilesystem: true
startupProbe:
failureThreshold: 60
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
terminationMessagePath: /dev/termination-log
volumeMounts:
- mountPath: /certs
Expand Down Expand Up @@ -487,6 +505,15 @@ spec:
value: /tmp/termination-log
image: intel/pmem-csi-driver-test:canary
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: pmem-driver
ports:
- containerPort: 10010
Expand All @@ -498,6 +525,15 @@ spec:
securityContext:
privileged: true
runAsUser: 0
startupProbe:
failureThreshold: 300
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
terminationMessagePath: /tmp/termination-log
volumeMounts:
- mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi
Expand Down Expand Up @@ -562,6 +598,15 @@ spec:
fieldPath: spec.nodeName
image: k8s.gcr.io/sig-storage/csi-provisioner:v2.2.2
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: external-provisioner
ports:
- containerPort: 10011
Expand All @@ -572,6 +617,15 @@ spec:
memory: 128Mi
securityContext:
readOnlyRootFilesystem: true
startupProbe:
failureThreshold: 300
httpGet:
path: /metrics
port: metrics
scheme: HTTP
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
volumeMounts:
- mountPath: /csi
name: socket-dir
Expand Down
Loading

0 comments on commit a26e566

Please sign in to comment.