apiVersion: v1
kind: Pod
metadata:
  name: pod-example
  labels:
    name: "pod-example"
spec:
  containers:
    - name: ubuntu
      image: ubuntu
      imagePullPolicy: "IfNotPresent"
      command: ["/bin/bash", "-ec", "while :; do echo '.'; sleep 5 ; done"]
      volumeMounts:
        - name: tz-config
          mountPath: /etc/localtime
  restartPolicy: Never
  volumes:
    - name: tz-config
      hostPath:
        path: /etc/localtime
