Will you build your Kubernetes app locally?
After all, if it works on your machine – it will probably work in prod. Right? 😉
Will you develop your app in the cloud?
After all, it can’t be that hard to attach a debugger or print a log line remotely… Right?
There are pros and cons to each method. Local debugging is easy and straightforward if you can set it up. However, it is less likely to uncover issues that will only reproduce in staging or production.
Cloud development, on the other hand, is more likely to uncover real-world problems. But setting up a troubleshooting method is a challenge, and each code change (or even adding a log line) may add a waiting time and a context switch.
To make things easier for you, we made a list of pros and cons of each dev approach.