levibostian / ExpressjsBlanky

Blank Express.js project to get up and running FAST.
MIT License
7 stars 0 forks source link

Switch over to k8s #24

Closed levibostian closed 3 years ago

levibostian commented 4 years ago

We are using k8s for deployment now. However, we also want to setup for development locally.

Right now, sometimes during development I have had issues when I ship to my testing or prod environments when behind an ingress controller. One example: http header keys with a hyphen character, -, in it will make the header entry completely ignored. During development using docker compose, the header entry is present and everything works. I would like to be able to have a development enviornment as close to the testing/prod as possible. Also, why incorporate many different tools such as k8s and compose when we can just use 1 and get it working?

levibostian commented 4 years ago

Will Draft help? Worth a try since it seems to work well for local k8s development. It says that it resolves localhost for you making it seem like it will work against a local DB running in a docker container, too.

I may need to figure out Draft/minikube with an ingress controller if possible to make my dev app closer to testing/prod environments.

levibostian commented 3 years ago

Done