Task: Create a pod with a logging sidecar container:
- The pod should be in the
loggingnamespace. - Name the pod
app-logger. - The main container should use the
alpineimage and run a dummy command liketail -f /dev/null. - Add a sidecar container using the
busyboximage. - The sidecar container should periodically (
every 5 seconds) log the current date and time to a shared volume. - The shared volume should be an
emptyDir.