kubectl apply force code example
Example 1: kubectl list context
# list kubernets contexts
kubectl config get-contexts
Example 2: kubectl describe to yaml
kubectl describe <type> <name> -o yaml
# list kubernets contexts
kubectl config get-contexts
kubectl describe <type> <name> -o yaml