redhat-scholars / kubernetes-tutorial

Kubernetes Tutorial for https://dn.dev/master
https://redhat-scholars.github.io/kubernetes-tutorial/
Apache License 2.0
362 stars 193 forks source link

Avoid too many cat <<EOF #10

Closed kameshsampath closed 4 years ago

kameshsampath commented 4 years ago

Avoid too many cat <<EOF on the tutorial, it will not work for windows user. Better to provide YAML files for the same to be able run via kubectl apply -f

@sebastienblanc @lordofthejars

burrsutter commented 4 years ago

The cat option is good to show newbies because it often shows up in the main Kubernetes docs. The other major benefit to the cat option is that it helps the reader understand exactly what they are about to apply to their cluster.
The current tutorial shows both cat and .yaml files for these reasons.

kameshsampath commented 4 years ago

cat does not work on Windows and majority of our students will be a Windower. So adding file option helps.

burrsutter commented 4 years ago

At this time, all of our tutorials require Bash and none support Windows. Windows powershell/cmd.exe will take a LOT of work.

lordofthejars commented 4 years ago

Can I close this?

burrsutter commented 4 years ago

Closing, we can revisit when we address WSL2 if needed