apiVersion: v1
kind: Pod
metadata:
  labels:
    test: liveness
  name: liveness-tcp

spec:
  containers:
  - name: goproxy
    image: k8s.gcr.io/goproxy:0.1
    livenessProbe:
      tcpSocket:
        port: 8080
      initialDelaySeconds: 15
      periodSeconds: 20
  
