You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The kind/Kubernetes deployment currently has some issues; this is meant to be a meta-issue, to simplify grouping them up and potentially adding problems found while testing.
Postgres password/user are hardcoded and visible; they should be treated as secrets and potentially given by the system administrator (see also issue Handle SECRET_KEY_BASE as k8s secret/env file #5)
Filebeat, ElasticSearch and Kibana are not present in the Kubernetes deployment (they are in the docker-compose version)
Core pods should have a wait-for-postgres InitContainer, to have them wait until init-postgres has completed before starting deployment (avoiding potential initial crashes)
postgres data should be persistent (i.e. we should give postgres both a PersistentVolume and a PersistentVolumeClaim to ensure the service works properly even after restarts)
init-postgres job could have a wait-for-postgres InitContainer, instead of a while command waiting for postgres (makes it easier for logs and diagnostics to see if it's stuck in an InitContainer instead of the main one)
When a core is restarted, the DB migration and seeding is run again, causing an error as the database was already seeded; this might just be solvable by catching the constraint exception directly in the core component
core and worker pods should be able to coexist (right now they both depend on the fl label to be deployed, and are mutually exclusive)
Replicas of postgres should be coupled with the instances of core. This might require changes also on funless itself, but would allow us to exploit co-location of data with the actual service, reducing latency for database operations (as of right now postgres and core are simply deployed on core nodes, but no explicit coupling is specified)
The text was updated successfully, but these errors were encountered:
The kind/Kubernetes deployment currently has some issues; this is meant to be a meta-issue, to simplify grouping them up and potentially adding problems found while testing.
wait-for-postgres
InitContainer, to have them wait untilinit-postgres
has completed before starting deployment (avoiding potential initial crashes)postgres
data should be persistent (i.e. we should givepostgres
both aPersistentVolume
and aPersistentVolumeClaim
to ensure the service works properly even after restarts)init-postgres
job could have await-for-postgres
InitContainer, instead of awhile
command waiting for postgres (makes it easier for logs and diagnostics to see if it's stuck in an InitContainer instead of the main one)core
is restarted, the DB migration and seeding is run again, causing an error as the database was already seeded; this might just be solvable by catching the constraint exception directly in thecore
componentcore
andworker
pods should be able to coexist (right now they both depend on thefl
label to be deployed, and are mutually exclusive)postgres
should be coupled with the instances ofcore
. This might require changes also on funless itself, but would allow us to exploit co-location of data with the actual service, reducing latency for database operations (as of right nowpostgres
andcore
are simply deployed on core nodes, but no explicit coupling is specified)The text was updated successfully, but these errors were encountered: