Monolith to Microservices Flashcards
What are the limitations of a Monolithic app?
Agility
- rebuilding the whole app takes a lot of time
Scalability
- scaling a monolith app happens in both directions:
horizontal and vertical => resources
DevOps cycles
- high frequency of deployments fails due to high build time
What are the benefits of using microservices when it comes to the limitations of monolithic apps?
Agility
- separated services => changes to one do not affect the others
Scalability
- separated services => scale each component in part as needed
DevOps cycle
- separated services => less dev cycles with low build time
what are feature flags used for?
- separate delivering software from release
=> deploy any time and release when ready
what are the benefits of using feature flags?
- better incident recovery (toggle flag off)
- testing directly in prod on a subgroup of users
=> realistic testing environment
how to view all namespaces?
kubectl get namespaces
how to create a namespace?
kubectl create ns namespaceName
how to get a serice from a namespace
kubectl get svc serviceName -n namespaceName