#Applying configuration
kubectl apply -f <filename>
#deleting configuration
kubectl delete -f <filename>
# restart the kind
kubectl rollout restart <resource>/<name>[optional] -n <namespace>
kubectl rollout restart deployment -n dev
kubectl rollout restart deployment/gwot -n dev
kubectl rollout restart daemonset -n dev
Node means virtual machine
pod means an instance inside the virtual machine. (there can be 3 individual os/system inside the single node.)
Kind of Components
- Namespace
- Configmap
- Secret
- Deployment
- Service
- Ingress
- Persistent Volume
- Persistent Volume Claim
- Daemon sets
- Cron Jobs
- Horizontal Pod Autoscalers
- Vertical Pod Autoscalers





