Daemonsets
Step 1: Create a PV
kubectl apply -f 01counter-pv.yamlkubectl get pvStep 2: Create a PVC
kubectl apply -f 02counter-pvc.yamlkubectl get pvcStep 3: Create a deamonset
kubectl apply -f 03daemonset.yamlkubectl get pods -o wideClear Everything in the current namespace
kubectl delete all --all -n defaultkubectl delete pvc --allkubectl delete pv --allLast updated
Was this helpful?