Is there an example for readinessprobe / livenessprobe to used tcpSocket? can s . . .

dean madani:
is there an example for readinessprobe / livenessprobe to used tcpSocket? can someone share please.

Tej_Singh_Rana:
Hello, @dean madani
Examples are available in the official k8s docs. Please have a look:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-a-tcp-liveness-probe