kind: Pod
apiVersion: v1
metadata:
  name: log-pod
  labels:
    app: log
spec:
  terminationGracePeriodSeconds: 10
  containers:
  - name: log-container
    image: cn007b/go
    command: [
      "go",
      "run",
      "/gh/ed/l/go/examples/whatever/pingRealtimeLog.go",
    ]
    volumeMounts:
    - mountPath: /gh
      name: xvol
    readinessProbe:
      httpGet:
        path: /readiness
        port: 8080
      initialDelaySeconds: 300
      periodSeconds: 30
  volumes:
  - name: xvol
    hostPath:
      path: /gh
      type: DirectoryOrCreate
