Tested this on Windows and looks like Windows respects the Linux pathing.
So we can omit the Windows example and keep kubectl -n default apply -f ./kubernetes/servicemonitors/example-app/
as it works on both :)
This works perfectly on Windows:
PS C:\git\docker-development-youtube-series> kubectl -n default apply -f ./kubernetes/servicemonitors/example-app/
deployment.apps/example-deploy created
service/example-service created
Tested this on Windows and looks like Windows respects the Linux pathing. So we can omit the Windows example and keep
kubectl -n default apply -f ./kubernetes/servicemonitors/example-app/
as it works on both :)This works perfectly on Windows: