What an App Needs
Let’s have a look at the needs of a common app, say, foo-bar
, and how these
needs are met in:
- bare OS (Linux) environment
- container
- k8s
App Needs and Wants
An app typically has:
- binaries
- configuration
- secrets
- logs
- exposes means to control its lifecycle
Bare OS (Linux) Environment
The guiding design principles here are:
- Filesystem Hierarchy Standard, latest version.
- howto force an app to reread its settings?
- if an app is a service….
See the /opt vs /usr/local debate
Configuration
Candidates: