apiVersion: v1
kind: Pod
metadata:
  name: web
spec:
  volumes:
  - name: shared-data
    emptyDir: {}
  containers:
  - name: proxy
    image: nginx
    volumeMounts:
    - name: html
      mountPath: /usr/share/nginx/html
  - name: debian-backend
    image: debian
    volumeMounts:
    - name: html
      mountPath: /html
    command: ["/bin/sh", "-c"]
    args:
      - while true; do
          date >> /html/index.html;
          sleep 1;
        done
