Daemonsets

Step 1: Create a PV

kubectl apply -f 01counter-pv.yaml
kubectl get pv

Step 2: Create a PVC

kubectl apply -f 02counter-pvc.yaml
kubectl get pvc

Step 3: Create a deamonset

kubectl apply -f 03daemonset.yaml
kubectl get pods -o wide

Clear Everything in the current namespace

kubectl delete all --all -n default
kubectl delete pvc --all
kubectl delete pv --all

Last updated

Was this helpful?