'error: the path "nginx-deployment.yaml" does not exist when I use kubectl apply -f nginx-deployment.yaml

I use kubectl apply -f nginx-deployment.yaml enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source