marcel-dempers / docker-development-youtube-series

5.3k stars 4.09k forks source link

Update Commands for Linux #160

Closed mlussati closed 2 years ago

mlussati commented 2 years ago

Fix the service monitor sample application build command

For windows: image

For Linux: image

marcel-dempers commented 2 years ago

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
marceldempers commented 2 years ago

Fixed in https://github.com/marcel-dempers/docker-development-youtube-series/pull/161