I can't find the syntax on how to do it. How can I do TCP health checks on containers inside a pod?
You can do it with the tcpSocket definition:
livenessProbe:
tcpSocket:
port: 9000
initialDelaySeconds: 120
timeoutSeconds: 5
readinessProbe:
tcpSocket:
port: 9000
initialDelaySeconds: 120
timeoutSeconds: 5