Manas Sahoo:
Hi All, In LighteningLab-1, Question 3, I tried with the below solution, but still it is failing, Can anybody help me to understand where I am doing mistake
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
labels:
run: time-check
name: time-check
namespace: dvl1987
spec:
volumes:
- name: task-pv-storage
emptyDir: {}
containers: - image: busybox
name: time-check
env:- name: TIME_FREQ
valueFrom:
configMapKeyRef:
name: time-config
key: TIME_FREQ
command: [ “/bin/sh”, “-c”, “while true;do date;sleep $TIME_FREQ;done” ]
volumeMounts: - mountPath: “/opt/time”
name: task-pv-storage
- name: TIME_FREQ